LeviLamina
Loading...
Searching...
No Matches
ActorDamageByChildActorSource.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/ActorDamageByActorSource.h"
10#include "mc/world/actor/ActorType.h"
11
12// auto generated forward declare list
13// clang-format off
14class Actor;
16// clang-format on
17
18class ActorDamageByChildActorSource : public ::ActorDamageByActorSource {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mDamagingActorIsWorldBuilder;
23 ::ll::TypedStorage<1, 1, bool> mDamagingActorIsCreative;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mDamagingActorId;
25 ::ll::TypedStorage<4, 4, ::ActorType> mDamagingActorType;
26 ::ll::TypedStorage<4, 4, ::ActorCategory> mDamagingActorCategories;
27 ::ll::TypedStorage<8, 32, ::std::string> mDamagingActorNameTag;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ActorDamageByChildActorSource();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual bool isChildEntitySource() const /*override*/;
38
39 virtual bool getDamagingEntityIsCreative() const /*override*/;
40
41 virtual bool getDamagingEntityIsWorldBuilder() const /*override*/;
42
43 virtual ::ActorUniqueID getDamagingEntityUniqueID() const /*override*/;
44
45 virtual ::ActorType getDamagingEntityType() const /*override*/;
46
47 virtual ::ActorCategory getDamagingEntityCategories() const /*override*/;
48
49 virtual ::std::unique_ptr<::ActorDamageSource> clone() const /*override*/;
50
51 virtual ::std::pair<::std::string, ::std::vector<::std::string>>
52 _getDeathMessageInternal(::std::string const& deadName, ::Actor* dead) const /*override*/;
53
54 virtual ~ActorDamageByChildActorSource() /*override*/;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI ActorDamageByChildActorSource(
61 ::Actor const& childActor,
62 ::Actor const& actor,
63 ::SharedTypes::Legacy::ActorDamageCause cause
64 );
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(::Actor const& childActor, ::Actor const& actor, ::SharedTypes::Legacy::ActorDamageCause cause);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCAPI void $dtor();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCFOLD bool $isChildEntitySource() const;
83
84 MCAPI bool $getDamagingEntityIsCreative() const;
85
86#ifdef LL_PLAT_S
87 MCAPI bool $getDamagingEntityIsWorldBuilder() const;
88#else // LL_PLAT_C
89 MCFOLD bool $getDamagingEntityIsWorldBuilder() const;
90#endif
91
92 MCAPI ::ActorUniqueID $getDamagingEntityUniqueID() const;
93
94 MCFOLD ::ActorType $getDamagingEntityType() const;
95
96 MCAPI ::ActorCategory $getDamagingEntityCategories() const;
97
98 MCAPI ::std::unique_ptr<::ActorDamageSource> $clone() const;
99
100 MCAPI ::std::pair<::std::string, ::std::vector<::std::string>>
101 $_getDeathMessageInternal(::std::string const& deadName, ::Actor* dead) const;
102
103
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
109 MCNAPI static void** $vftable();
110 // NOLINTEND
111};
static MCAPI void ** $vftable()
Definition ActorDamageSource.h:18
Definition Actor.h:113