summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/Action/actionPlayerDamage.h
blob: 012c7483cdfcf7a592a4c9729073d172a3bae3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#pragma once

#include "Game/Actor/Player/Action/actionPlayerAction.h"
#include "KingSystem/ActorSystem/actAiAction.h"

namespace uking::action {

class PlayerDamage : public PlayerAction {
    SEAD_RTTI_OVERRIDE(PlayerDamage, PlayerAction)
public:
    explicit PlayerDamage(const InitArg& arg);

    void enter_(ksys::act::ai::InlineParamPack* params) override;
    void leave_() override;
    void loadParams_() override;

protected:
    void calc_() override;

    // static_param at offset 0x20
    const float* mBaseInitSpeedNSword_s{};
    // static_param at offset 0x28
    const float* mBaseInitSpeedLSword_s{};
    // static_param at offset 0x30
    const float* mBaseInitSpeedSpear_s{};
    // static_param at offset 0x38
    const float* mBaseInitSpeedOther_s{};
    // static_param at offset 0x40
    const float* mAddSpeedNSword_s{};
    // static_param at offset 0x48
    const float* mAddSpeedLSword_s{};
    // static_param at offset 0x50
    const float* mAddSpeedSpear_s{};
    // static_param at offset 0x58
    const float* mAddSpeedOther_s{};
    // static_param at offset 0x60
    const float* mMaxSpeedNSword_s{};
    // static_param at offset 0x68
    const float* mMaxSpeedLSword_s{};
    // static_param at offset 0x70
    const float* mMaxSpeedSpear_s{};
    // static_param at offset 0x78
    const float* mMaxSpeedOther_s{};
    // static_param at offset 0x80
    const float* mDecSpeedNSword_s{};
    // static_param at offset 0x88
    const float* mDecSpeedLSword_s{};
    // static_param at offset 0x90
    const float* mDecSpeedSpear_s{};
    // static_param at offset 0x98
    const float* mDecSpeedOther_s{};
};

}  // namespace uking::action