LeviLamina
Loading...
Searching...
No Matches
ActorDamageByActorSource.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/legacy/ActorUniqueID.h"
8#include "mc/world/actor/ActorCategory.h"
9#include "mc/world/actor/ActorDamageSource.h"
10#include "mc/world/actor/ActorType.h"
11
12// auto generated forward declare list
13// clang-format off
14class Actor;
15class BlockSource;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::BlockSource const&> mRegion;
23 ::ll::TypedStorage<1, 1, bool> mIsWorldBuilder;
24 ::ll::TypedStorage<1, 1, bool> mIsCreative;
25 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityID;
26 ::ll::TypedStorage<4, 4, ::ActorType> mEntityType;
27 ::ll::TypedStorage<4, 4, ::ActorCategory> mEntityCategories;
28 ::ll::TypedStorage<8, 32, ::std::string> mEntityNameTag;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 1
41 virtual bool isEntitySource() const /*override*/;
42
43 // vIndex: 10
44 virtual ::std::pair<::std::string, ::std::vector<::std::string>>
45 getDeathMessage(::std::string deadName, ::Actor* dead) const /*override*/;
46
47 // vIndex: 11
48 virtual bool getIsCreative() const /*override*/;
49
50 // vIndex: 12
51 virtual bool getIsWorldBuilder() const /*override*/;
52
53 // vIndex: 13
54 virtual ::ActorUniqueID getEntityUniqueID() const /*override*/;
55
56 // vIndex: 14
57 virtual ::ActorType getEntityType() const /*override*/;
58
59 // vIndex: 15
60 virtual ::ActorCategory getEntityCategories() const /*override*/;
61
62 // vIndex: 18
63 virtual ::ActorUniqueID getDamagingEntityUniqueID() const /*override*/;
64
65 // vIndex: 19
66 virtual ::ActorType getDamagingEntityType() const /*override*/;
67
68 // vIndex: 21
69 virtual ::std::unique_ptr<::ActorDamageSource> clone() const /*override*/;
70
71 // vIndex: 0
72 virtual ~ActorDamageByActorSource() /*override*/;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78 MCAPI ActorDamageByActorSource(::Actor const& actor, ::SharedTypes::Legacy::ActorDamageCause cause);
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCAPI void* $ctor(::Actor const& actor, ::SharedTypes::Legacy::ActorDamageCause cause);
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCFOLD void $dtor();
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCFOLD bool $isEntitySource() const;
97
98 MCAPI ::std::pair<::std::string, ::std::vector<::std::string>>
99 $getDeathMessage(::std::string deadName, ::Actor* dead) const;
100
101 MCFOLD bool $getIsCreative() const;
102
103 MCFOLD bool $getIsWorldBuilder() const;
104
105 MCFOLD ::ActorUniqueID $getEntityUniqueID() const;
106
107 MCFOLD ::ActorType $getEntityType() const;
108
109 MCAPI ::ActorCategory $getEntityCategories() const;
110
111 MCFOLD ::ActorUniqueID $getDamagingEntityUniqueID() const;
112
113 MCFOLD ::ActorType $getDamagingEntityType() const;
114
115 MCAPI ::std::unique_ptr<::ActorDamageSource> $clone() const;
116 // NOLINTEND
117
118public:
119 // vftables
120 // NOLINTBEGIN
121 MCNAPI static void** $vftable();
122 // NOLINTEND
123};
Definition ActorDamageByActorSource.h:18
static MCAPI void ** $vftable()
Definition ActorDamageSource.h:18
Definition Actor.h:103
Definition BlockSource.h:67