LeviLamina
Loading...
Searching...
No Matches
Skeleton.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/monster/HumanoidMonster.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
14class EntityContext;
16namespace mce { class UUID; }
17// clang-format on
18
20public:
21 // Skeleton inner types define
22 enum class SkeletonType : int {
23 Default = 0,
24 Wither = 1,
25 Stray = 2,
26 Bogged = 3,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 Skeleton& operator=(Skeleton const&);
38 Skeleton(Skeleton const&);
39 Skeleton();
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 123
45 virtual void die(::ActorDamageSource const& source) /*override*/;
46
47 // vIndex: 154
48 virtual bool doHurtTarget(::Actor*, ::SharedTypes::Legacy::ActorDamageCause const&) /*override*/;
49
50 // vIndex: 105
51 virtual bool canBeAffected(uint id) const /*override*/;
52
53 // vIndex: 51
54 virtual void setTarget(::Actor* target) /*override*/;
55
56 // vIndex: 24
57 virtual void normalTick() /*override*/;
58
59 // vIndex: 85
60 virtual bool canFreeze() const /*override*/;
61
62 // vIndex: 113
63 virtual void getDebugText(::std::vector<::std::string>& outputInfo) /*override*/;
64
65 // vIndex: 8
66 virtual ~Skeleton() /*override*/ = default;
67 // NOLINTEND
68
69public:
70 // member functions
71 // NOLINTBEGIN
72 MCAPI Skeleton(
73 ::ActorDefinitionGroup* definitions,
74 ::ActorDefinitionIdentifier const& definitionName,
75 ::EntityContext& entityContext
76 );
77
78 MCFOLD void setSkeletonType(::Skeleton::SkeletonType type);
79 // NOLINTEND
80
81public:
82 // static variables
83 // NOLINTBEGIN
84 MCAPI static ::mce::UUID const& SPEED_MODIFIER_ATTACK_UUID();
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(
91 ::ActorDefinitionGroup* definitions,
92 ::ActorDefinitionIdentifier const& definitionName,
93 ::EntityContext& entityContext
94 );
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106 MCAPI void $die(::ActorDamageSource const& source);
107
108 MCAPI bool $canBeAffected(uint id) const;
109
110 MCFOLD void $setTarget(::Actor* target);
111
112 MCAPI void $normalTick();
113
114 MCAPI bool $canFreeze() const;
115
116 MCAPI void $getDebugText(::std::vector<::std::string>& outputInfo);
117 // NOLINTEND
118
119public:
120 // vftables
121 // NOLINTBEGIN
122 MCAPI static void** $vftable();
123 // NOLINTEND
124};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:27
Definition Actor.h:104
Definition EntityContext.h:16
Definition HumanoidMonster.h:14
Definition Skeleton.h:19
Definition ActorDefinitionIdentifier.h:13
Definition Alias.h:14