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 void getDebugText(::std::vector<::std::string>& outputInfo) /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI Skeleton(
62 ::ActorDefinitionGroup* definitions,
63 ::ActorDefinitionIdentifier const& definitionName,
64 ::EntityContext& entityContext
65 );
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(
72 ::ActorDefinitionGroup* definitions,
73 ::ActorDefinitionIdentifier const& definitionName,
74 ::EntityContext& entityContext
75 );
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI void $die(::ActorDamageSource const& source);
82
83 MCAPI ::ActorHurtResult $doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause);
84
85 MCAPI bool $canBeAffected(uint effectId) const;
86
87 MCAPI void $setTarget(::Actor* target);
88
89 MCAPI void $normalTick();
90
91 MCAPI void $getDebugText(::std::vector<::std::string>& outputInfo);
92
93
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCAPI static void** $vftable();
100 // NOLINTEND
101};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition ActorHurtResult.h:5
Definition Actor.h:113
Definition EntityContext.h:15
Definition HumanoidMonster.h:14
Definition WitherBoss.h:35
Definition ActorDefinitionIdentifier.h:15