LeviLamina
Loading...
Searching...
No Matches
Warden.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/actor/ActorDamageCause.h"
7#include "mc/world/actor/ai/util/ExpiringTick.h"
8#include "mc/world/actor/monster/Monster.h"
9#include "mc/world/level/Tick.h"
10
11// auto generated forward declare list
12// clang-format off
13class Actor;
15// clang-format on
16
17class Warden : public ::Monster {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Tick> mTouchAngerCooldownExpiryTick;
22 ::ll::TypedStorage<8, 24, ::std::optional<::ExpiringTick>> mSonicBoomCooldown;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 20
29 virtual bool canDisableShield() /*override*/;
30
31 // vIndex: 64
32 virtual bool isInvulnerableTo(::ActorDamageSource const& source) const /*override*/;
33
34 // vIndex: 93
35 virtual void onSynchedDataUpdate(int dataId) /*override*/;
36
37 // vIndex: 126
38 virtual void onPush(::Actor& source) /*override*/;
39
40 // vIndex: 24
41 virtual void normalTick() /*override*/;
42
43 // vIndex: 51
44 virtual void setTarget(::Actor* entity) /*override*/;
45
46 // vIndex: 148
47 virtual bool checkSpawnRules(bool) /*override*/;
48
49 // vIndex: 149
50 virtual bool checkSpawnObstruction() const /*override*/;
51
52 // vIndex: 135
53 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
54
55 // vIndex: 155
56 virtual bool doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause) /*override*/;
57
58 // vIndex: 8
59 virtual ~Warden() /*override*/ = default;
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCFOLD bool $canDisableShield();
66
67 MCAPI bool $isInvulnerableTo(::ActorDamageSource const& source) const;
68
69 MCFOLD void $onSynchedDataUpdate(int dataId);
70
71 MCAPI void $onPush(::Actor& source);
72
73 MCAPI void $normalTick();
74
75 MCAPI void $setTarget(::Actor* entity);
76
77 MCFOLD bool $checkSpawnRules(bool);
78
79 MCAPI bool $checkSpawnObstruction() const;
80
81 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
82
83 MCAPI bool $doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause);
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition ActorDamageSource.h:18
Definition Actor.h:102
Definition Monster.h:20
Definition Warden.h:17
static MCAPI void ** $vftable()