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
19class Skeleton : public ::HumanoidMonster {
20public:
21 // Skeleton inner types define
22 enum class SkeletonType : int {
23 Default = 0,
24 Wither = 1,
25 Stray = 2,
26 Bogged = 3,
27 Parched = 4,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 8, ::WitherBoss*> mParentWither;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 Skeleton();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual void die(::ActorDamageSource const& source) /*override*/;
44
45 virtual bool doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause) /*override*/;
46
47 virtual bool canBeAffected(uint effectId) const /*override*/;
48
49 virtual void setTarget(::Actor* entity) /*override*/;
50
51 virtual void normalTick() /*override*/;
52
53 virtual bool canFreeze() const /*override*/;
54
55 virtual void getDebugText(::std::vector<::std::string>& outputInfo) /*override*/;
56
57 virtual ~Skeleton() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI Skeleton(
64 ::ActorDefinitionGroup* definitions,
65 ::ActorDefinitionIdentifier const& definitionName,
66 ::EntityContext& entityContext
67 );
68
69 MCFOLD void setSkeletonType(::Skeleton::SkeletonType type);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(
76 ::ActorDefinitionGroup* definitions,
77 ::ActorDefinitionIdentifier const& definitionName,
78 ::EntityContext& entityContext
79 );
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI void $die(::ActorDamageSource const& source);
86
87 MCAPI bool $canBeAffected(uint effectId) const;
88
89 MCFOLD void $setTarget(::Actor* entity);
90
91 MCAPI void $normalTick();
92
93 MCAPI bool $canFreeze() const;
94
95 MCAPI void $getDebugText(::std::vector<::std::string>& outputInfo);
96
97
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCAPI static void** $vftable();
104 // NOLINTEND
105};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:35
Definition Actor.h:105
Definition EntityContext.h:16
Definition HumanoidMonster.h:14
Definition WitherBoss.h:31
Definition ActorDefinitionIdentifier.h:15