LeviLamina
Loading...
Searching...
No Matches
SynchedActorDataEntityWrapper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class EntityContext;
16// clang-format on
17
18class SynchedActorDataEntityWrapper {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 8, ::gsl::not_null<::SynchedActorDataComponent*>> mData;
23 ::ll::TypedStorage<8, 8, ::gsl::not_null<::ActorDataFlagComponent*>> mFlagData;
24 ::ll::TypedStorage<8, 8, ::gsl::not_null<::ActorDataDirtyFlagsComponent*>> mDirtyFlags;
25 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mEntityContext;
26 // NOLINTEND
27
28public:
29 template <class T>
30 MCAPI void set(ushort id, T const& value);
31
32public:
33 // prevent constructor by default
34 SynchedActorDataEntityWrapper();
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ::CompoundTag const& getCompoundTag(ushort id) const;
40
41 MCAPI_C float getFloat(ushort id) const;
42
43 MCAPI int getInt(ushort id) const;
44
45 MCAPI int64 getInt64(ushort id) const;
46
47 MCAPI schar getInt8(ushort id) const;
48
49 MCAPI_C short getShort(ushort id) const;
50
51 MCAPI bool hasData(ushort id) const;
52
53 MCAPI ::SynchedActorDataWriter writer();
54
55 MCAPI ~SynchedActorDataEntityWrapper();
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCFOLD void $dtor();
62 // NOLINTEND
63};
Definition CompoundTag.h:23
Definition EntityContext.h:16
Definition SynchedActorDataWriter.h:12
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition SynchedActorDataComponent.h:8