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

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

namespace uking::ai {

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

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

protected:
    // static_param at offset 0x6b8
    const int* mEquipItemSearchIdx_s{};
    // static_param at offset 0x6c0
    const int* mRepathTime_s{};
    // static_param at offset 0x6c8
    const float* mSearchDist_s{};
    // static_param at offset 0x6d0
    const float* mSearchAng_s{};
    // static_param at offset 0x6d8
    const bool* mIsUseSight_s{};
    // static_param at offset 0x6e0
    const float* mLineReachableWeaponDist_s{};
};

}  // namespace uking::ai