LeviLamina
Loading...
Searching...
No Matches
SynchedActorData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class DataItem;
8class EntityContext;
9class Vec3;
10// clang-format on
11
13public:
14 // SynchedActorData inner types define
15 using TypeInt8 = char;
16
17 using TypeShort = short;
18
19 using TypeString = ::std::string;
20
21 using TypeInt = int;
22
23 using TypeInt64 = int64;
24
25 using TypeFloat = float;
26
27 using TypeVec3 = ::Vec3;
28
29 using DataList = ::std::vector<::std::unique_ptr<::DataItem>>;
30
31 using ID = ushort;
32
33public:
34 template <class T>
35 MCAPI void set(ushort id, T const& value);
36
37public:
38 // member variables
39 // NOLINTBEGIN
40 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::DataItem>>> mItemsArray;
41 ::ll::TypedStorage<8, 24, ::std::bitset<134>> mDirtyFlags;
42 ::ll::TypedStorage<8, 24, ::std::bitset<134>> mHasComponentData;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI ::SynchedActorData _clone() const;
49
50 MCAPI ::std::vector<::std::unique_ptr<::DataItem>> packAll(::EntityContext const& entity) const;
51
52 MCAPI ::std::vector<::std::unique_ptr<::DataItem>> packDirty(::EntityContext& entity);
53
54 MCAPI ~SynchedActorData();
55 // NOLINTEND
56
57public:
58 // static variables
59 // NOLINTBEGIN
60 MCAPI static ::std::string const& DIFF_ITEM();
61
62 MCAPI static ::std::string const& DIFF_ITEMS_SIZE();
63
64 MCAPI static ::std::string const& DIFF_ITEM_NULL();
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCFOLD void $dtor();
71 // NOLINTEND
72};
Definition DataItem.h:14
Definition EntityContext.h:16
Definition SynchedActorData.h:12
Definition Vec3.h:10