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 ActorHurtResult;
15class EntityContext;
16class WitherBoss;
18// clang-format on
19
20class Skeleton : public ::HumanoidMonster {
21public:
22 // Skeleton inner types define
23 enum class SkeletonType : int {
24 Default = 0,
25 Wither = 1,
26 Stray = 2,
27 Bogged = 3,
28 Parched = 4,
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 8, ::WitherBoss*> mParentWither;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 Skeleton();
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual void die(::ActorDamageSource const& source) /*override*/;
45
46 virtual ::ActorHurtResult
47 doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause) /*override*/;
48
49 virtual bool canBeAffected(uint effectId) const /*override*/;
50
51 virtual void setTarget(::Actor* target) /*override*/;
52
53 virtual void normalTick() /*override*/;
54
55 virtual bool canFreeze() const /*override*/;
56
57 virtual void getDebugText(::std::vector<::std::string>& outputInfo) /*override*/;
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 MCAPI void setWitherParent(::WitherBoss* wither);
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 ::ActorHurtResult $doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause);
88
89 MCAPI bool $canBeAffected(uint effectId) const;
90
91 MCFOLD void $setTarget(::Actor* target);
92
93 MCAPI void $normalTick();
94
95 MCAPI bool $canFreeze() const;
96
97 MCAPI void $getDebugText(::std::vector<::std::string>& outputInfo);
98
99
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCAPI static void** $vftable();
106 // NOLINTEND
107};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:37
Definition ActorHurtResult.h:5
Definition Actor.h:125
Definition EntityContext.h:17
Definition WitherBoss.h:34
Definition ActorDefinitionIdentifier.h:15