LeviLamina
Loading...
Searching...
No Matches
Painting.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/HangingActor.h"
7
8// auto generated forward declare list
9// clang-format off
11class BlockSource;
12class CompoundTag;
13class DataLoadHelper;
14class EntityContext;
15class Motif;
16class Packet;
18// clang-format on
19
20class Painting : public ::HangingActor {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::Motif const*> mMotif;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 Painting();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual float getShadowRadius() const /*override*/;
35
36 virtual ::std::unique_ptr<::Packet> tryCreateAddActorPacket() /*override*/;
37
38 virtual int getWidth() const /*override*/;
39
40 virtual int getHeight() const /*override*/;
41
42 virtual void dropItem() /*override*/;
43
44 virtual void remove() /*override*/;
45
46 virtual bool placeHangingEntity(::BlockSource& region, int direction) /*override*/;
47
48 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
49
50 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI Painting(
57 ::ActorDefinitionGroup* definitions,
58 ::ActorDefinitionIdentifier const& definitionName,
59 ::EntityContext& entityContext
60 );
61
62#ifdef LL_PLAT_C
63 MCAPI void clientInitialize(int dir, ::std::string const& motifName);
64#endif
65
66 MCFOLD ::Motif const& getCurrentMotif() const;
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(
73 ::ActorDefinitionGroup* definitions,
74 ::ActorDefinitionIdentifier const& definitionName,
75 ::EntityContext& entityContext
76 );
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCFOLD float $getShadowRadius() const;
83
84 MCAPI ::std::unique_ptr<::Packet> $tryCreateAddActorPacket();
85
86 MCAPI int $getWidth() const;
87
88 MCAPI int $getHeight() const;
89
90 MCAPI void $dropItem();
91
92 MCAPI void $remove();
93
94 MCAPI bool $placeHangingEntity(::BlockSource& region, int direction);
95
96 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
97
98 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
99
100
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCAPI static void** $vftable();
107 // NOLINTEND
108};
Definition ActorDefinitionGroup.h:37
Definition BlockSource.h:72
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition EntityContext.h:17
Definition Motif.h:10
Definition Packet.h:30
Definition ActorDefinitionIdentifier.h:15