Skip to content
LeviMC
English
AutoLightDark
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
18class ActorDamageByActorSource : public ::ActorDamageSource {
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
33 ActorDamageByActorSource& operator=(ActorDamageByActorSource const&);
34 ActorDamageByActorSource(ActorDamageByActorSource const&);
35 ActorDamageByActorSource();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual bool isEntitySource() const /*override*/;
41
42 virtual bool getIsCreative() const /*override*/;
43
44 virtual bool getIsWorldBuilder() const /*override*/;
45
46 virtual ::ActorUniqueID getEntityUniqueID() const /*override*/;
47
48 virtual ::ActorType getEntityType() const /*override*/;
49
50 virtual ::ActorCategory getEntityCategories() const /*override*/;
51
52 virtual ::ActorUniqueID getDamagingEntityUniqueID() const /*override*/;
53
54 virtual ::ActorType getDamagingEntityType() const /*override*/;
55
56 virtual ::std::unique_ptr<::ActorDamageSource> clone() const /*override*/;
57
58 virtual ::std::pair<::std::string, ::std::vector<::std::string>>
59 _getDeathMessageInternal(::std::string const& deadName, ::Actor* dead) const /*override*/;
60
61 virtual ~ActorDamageByActorSource() /*override*/;
62 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI ActorDamageByActorSource(::Actor const& actor, ::SharedTypes::Legacy::ActorDamageCause cause);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(::Actor const& actor, ::SharedTypes::Legacy::ActorDamageCause cause);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCNAPI bool $isEntitySource() const;
86
87 MCNAPI bool $getIsCreative() const;
88
89 MCNAPI bool $getIsWorldBuilder() const;
90
91 MCNAPI ::ActorUniqueID $getEntityUniqueID() const;
92
93 MCNAPI ::ActorType $getEntityType() const;
94
95 MCNAPI ::ActorCategory $getEntityCategories() const;
96
97 MCNAPI ::ActorUniqueID $getDamagingEntityUniqueID() const;
98
99 MCNAPI ::ActorType $getDamagingEntityType() const;
100
101 MCNAPI ::std::unique_ptr<::ActorDamageSource> $clone() const;
102
103 MCAPI ::std::pair<::std::string, ::std::vector<::std::string>>
104 $_getDeathMessageInternal(::std::string const& deadName, ::Actor* dead) const;
105
106
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCNAPI static void** $vftable();
113 // NOLINTEND
114};
MCAPI::ActorType $getDamagingEntityType() const
MCAPI bool $isEntitySource() const
MCAPI bool $getIsWorldBuilder() const
MCAPI::ActorUniqueID $getEntityUniqueID() const
MCAPI bool $getIsCreative() const
MCAPI::ActorCategory $getEntityCategories() const
MCAPI ::std::unique_ptr<::ActorDamageSource > $clone() const
MCAPI::ActorUniqueID $getDamagingEntityUniqueID() const
static MCAPI void ** $vftable()
MCAPI::ActorType $getEntityType() const
Definition Actor.h:116
Definition BlockSource.h:72