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 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI ActorDamageByChildActorSource(
59 ::Actor const& childActor,
60 ::Actor const& actor,
61 ::SharedTypes::Legacy::ActorDamageCause cause
62 );
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(::Actor const& childActor, ::Actor const& actor, ::SharedTypes::Legacy::ActorDamageCause cause);
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCFOLD bool $isChildEntitySource() const;
75
76 MCAPI ::std::pair<::std::string, ::std::vector<::std::string>>
77 $getDeathMessage(::std::string deadName, ::Actor* dead) const;
78
79 MCFOLD bool $getDamagingEntityIsCreative() const;
80
81 MCFOLD bool $getDamagingEntityIsWorldBuilder() const;
82
83 MCFOLD ::ActorUniqueID $getDamagingEntityUniqueID() const;
84
85 MCFOLD ::ActorType $getDamagingEntityType() const;
86
87 MCFOLD ::ActorCategory $getDamagingEntityCategories() const;
88
89 MCAPI ::std::unique_ptr<::ActorDamageSource> $clone() const;
90
91
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
static MCAPI void ** $vftable()
Definition ActorDamageSource.h:18
Definition Actor.h:125