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 // NOLINTEND
36
37public:
38 // constructor thunks
39 // NOLINTBEGIN
40 MCFOLD void* $ctor(::EntityStorageKeyComponent const&);
41
42 MCAPI void* $ctor(::std::string const& storageKey);
43 // NOLINTEND
44};
Definition Actor.h:113
Definition CompoundTag.h:18