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
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
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI explicit SynchedActorDataEntityWrapper(::EntityContext& entity);
40
41 MCAPI ::CompoundTag const& getCompoundTag(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 bool hasData(ushort id) const;
50
51 MCAPI ::SynchedActorDataWriter writer();
52
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::EntityContext& entity);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCFOLD void $dtor();
66 // NOLINTEND
67};
Definition CompoundTag.h:13
Definition EntityContext.h:16
Definition SynchedActorDataEntityWrapper.h:18
Definition SynchedActorDataWriter.h:5
Definition ActorDataDirtyFlagsComponent.h:5
Definition ActorDataFlagComponent.h:9
Definition SynchedActorDataComponent.h:8