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

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

namespace uking::action {

class PlayerRailMove : public PlayerGuidedMove {
    SEAD_RTTI_OVERRIDE(PlayerRailMove, PlayerGuidedMove)
public:
    explicit PlayerRailMove(const InitArg& arg);
    ~PlayerRailMove() override;

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

protected:
    void calc_() override;

    // dynamic_param at offset 0x58
    sead::SafeString mRailName_d{};
};

}  // namespace uking::action