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 ::std::pair<::std::string, ::std::vector<::std::string>>
40 getDeathMessage(::std::string deadName, ::Actor* dead) const /*override*/;
41
42 virtual bool getDamagingEntityIsCreative() const /*override*/;
43
44 virtual bool getDamagingEntityIsWorldBuilder() const /*override*/;
45
46 virtual ::ActorUniqueID getDamagingEntityUniqueID() const /*override*/;
47
48 virtual ::ActorType getDamagingEntityType() const /*override*/;
49
50 virtual ::ActorCategory getDamagingEntityCategories() const /*override*/;
51
52 virtual ::std::unique_ptr<::ActorDamageSource> clone() 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 ::std::pair<::std::string, ::std::vector<::std::string>>
85 $getDeathMessage(::std::string deadName, ::Actor* dead) const;
86
87 MCFOLD bool $getDamagingEntityIsCreative() const;
88
89 MCFOLD bool $getDamagingEntityIsWorldBuilder() const;
90
91 MCAPI ::ActorUniqueID $getDamagingEntityUniqueID() const;
92
93 MCFOLD ::ActorType $getDamagingEntityType() const;
94
95 MCAPI ::ActorCategory $getDamagingEntityCategories() const;
96
97 MCAPI ::std::unique_ptr<::ActorDamageSource> $clone() const;
98
99
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCNAPI static void** $vftable();
106 // NOLINTEND
107};
static MCAPI void ** $vftable()
Definition ActorDamageSource.h:18
Definition Actor.h:105