summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Player/Action/actionPlayerIce.h
blob: 72a02d145b5a540efe0454bb726a864857602e89 (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
#pragma once

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

namespace uking::action {

class PlayerIce : public PlayerAction {
    SEAD_RTTI_OVERRIDE(PlayerIce, PlayerAction)
public:
    explicit PlayerIce(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* mEnergyIce_s{};
    // static_param at offset 0x28
    const float* mCountRate_s{};
    // static_param at offset 0x30
    const float* mInputInterval_s{};
    // static_param at offset 0x38
    const float* mJumpSpeedF_s{};
    // static_param at offset 0x40
    const float* mJumpHeight_s{};
    // static_param at offset 0x48
    const float* mJumpSpeedFBlowOff_s{};
    // static_param at offset 0x50
    const float* mJumpHeightBlowOff_s{};
};

}  // namespace uking::action