Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI EntityStorageKeyComponent(::EntityStorageKeyComponent const&);
29
30 MCNAPI explicit EntityStorageKeyComponent(::std::string const& storageKey);
31
32 MCNAPI void addAdditionalSaveData(::Actor const& owner, ::CompoundTag& tag) const;
33
34 MCNAPI ::EntityStorageKeyComponent& operator=(::EntityStorageKeyComponent&&);
35 // NOLINTEND
36
37public:
38 // constructor thunks
39 // NOLINTBEGIN
40 MCNAPI void* $ctor(::EntityStorageKeyComponent const&);
41
42 MCNAPI void* $ctor(::std::string const& storageKey);
43 // NOLINTEND
44};
Definition Actor.h:116
Definition CompoundTag.h:18
MCAPI void addAdditionalSaveData(::Actor const &owner, ::CompoundTag &tag) const
MCAPI void * $ctor(::EntityStorageKeyComponent const &)
MCAPI::EntityStorageKeyComponent & operator=(::EntityStorageKeyComponent &&)
MCAPI void * $ctor(::std::string const &storageKey)
MCAPI EntityStorageKeyComponent(::EntityStorageKeyComponent const &)
MCAPI EntityStorageKeyComponent(::std::string const &storageKey)