summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiAttackHitCheck.h
blob: 975e87ed243d425a9a9b7e672e1f3634da9407de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

class AttackHitCheck : public ksys::act::ai::Ai {
    SEAD_RTTI_OVERRIDE(AttackHitCheck, ksys::act::ai::Ai)
public:
    explicit AttackHitCheck(const InitArg& arg);
    ~AttackHitCheck() 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 0x38
    const int* mAtkType_s{};
};

}  // namespace uking::ai