summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiNavMoveTargetWithJumpWater.h
blob: 9847de70de8de8c4f12fad03be3c0204341a0fa2 (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
#pragma once

#include "Game/Actor/AI/aiNavMoveTarget.h"
#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

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

    bool init_(sead::Heap* heap) override;
    void enter_(ksys::act::ai::InlineParamPack* params) override;
    void leave_() override;
    void loadParams_() override;

protected:
    // static_param at offset 0x380
    const float* mJumpDist_s{};
    // static_param at offset 0x388
    const float* mInWaterDepth_s{};
    // static_param at offset 0x390
    const float* mWaterCheckDist_s{};
    // static_param at offset 0x398
    const bool* mIsCheckDamage_s{};
};

}  // namespace uking::ai