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;
15class WitherBoss;
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
32 ::ll::TypedStorage<8, 8, ::WitherBoss*> mParentWither;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 Skeleton();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 123
43 virtual void die(::ActorDamageSource const& source) /*override*/;
44
45 // vIndex: 155
46 virtual bool doHurtTarget(::Actor*, ::SharedTypes::Legacy::ActorDamageCause const&) /*override*/;
47
48 // vIndex: 105
49 virtual bool canBeAffected(uint id) const /*override*/;
50
51 // vIndex: 51
52 virtual void setTarget(::Actor* target) /*override*/;
53
54 // vIndex: 24
55 virtual void normalTick() /*override*/;
56
57 // vIndex: 85
58 virtual bool canFreeze() const /*override*/;
59
60 // vIndex: 113
61 virtual void getDebugText(::std::vector<::std::string>& outputInfo) /*override*/;
62
63 // vIndex: 8
64 virtual ~Skeleton() /*override*/ = default;
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
70 MCAPI Skeleton(
71 ::ActorDefinitionGroup* definitions,
72 ::ActorDefinitionIdentifier const& definitionName,
73 ::EntityContext& entityContext
74 );
75
76 MCFOLD void setSkeletonType(::Skeleton::SkeletonType type);
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(
83 ::ActorDefinitionGroup* definitions,
84 ::ActorDefinitionIdentifier const& definitionName,
85 ::EntityContext& entityContext
86 );
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCAPI void $die(::ActorDamageSource const& source);
93
94 MCAPI bool $canBeAffected(uint id) const;
95
96 MCFOLD void $setTarget(::Actor* target);
97
98 MCAPI void $normalTick();
99
100 MCAPI bool $canFreeze() const;
101
102 MCAPI void $getDebugText(::std::vector<::std::string>& outputInfo);
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCNAPI static void** $vftable();
109 // NOLINTEND
110};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:32
Definition Actor.h:102
Definition EntityContext.h:16
Definition HumanoidMonster.h:14
Definition Skeleton.h:19
static MCAPI void ** $vftable()
Definition WitherBoss.h:31
Definition ActorDefinitionIdentifier.h:15