LeviLamina
Loading...
Searching...
No Matches
EntityStorageKeyComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class CompoundTag;
9// clang-format on
10
11class EntityStorageKeyComponent {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 32, ::std::string> mStorageKey;
16 ::ll::TypedStorage<8, 32, ::std::string> mLastSerializedActorState;
17 ::ll::TypedStorage<1, 1, bool> mDirtyFromNonSerializedState;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 EntityStorageKeyComponent& operator=(EntityStorageKeyComponent const&);
23 EntityStorageKeyComponent();
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCAPI EntityStorageKeyComponent(::EntityStorageKeyComponent const&);
29
30 MCAPI explicit EntityStorageKeyComponent(::std::string const& storageKey);
31
32 MCAPI void addAdditionalSaveData(::Actor const& owner, ::CompoundTag& tag) const;
33
34 MCFOLD ::EntityStorageKeyComponent& operator=(::EntityStorageKeyComponent&&);
35
36 MCAPI void readAdditionalSaveData(::Actor& owner, ::CompoundTag const& tag);
37 // NOLINTEND
38
39public:
40 // constructor thunks
41 // NOLINTBEGIN
42 MCFOLD void* $ctor(::EntityStorageKeyComponent const&);
43
44 MCAPI void* $ctor(::std::string const& storageKey);
45 // NOLINTEND
46};
Definition Actor.h:125
Definition CompoundTag.h:23