LeviLamina
Loading...
Searching...
No Matches
SynchedActorData Class Reference

Classes

struct  CopyableDataList

Public Types

using DataList = ::std::vector<::std::unique_ptr<::DataItem>>
using ID = ushort
using TypeFloat = float
using TypeInt = int
using TypeInt64 = int64
using TypeInt8 = schar
using TypeShort = short
using TypeString = ::std::string
using TypeVec3 = ::Vec3

Public Member Functions

template<class T>
MCAPI void set (ushort id, T const &value)
SynchedActorDataoperator= (SynchedActorData const &)
 SynchedActorData (SynchedActorData const &)
MCAPI SynchedActorData (::SynchedActorData &&rhs)
MCAPI::SynchedActorData _clone () const
MCAPI::DataItem * _find (ushort id) const
MCAPI::DataItem & _get (ushort id)
MCAPI void _resizeToContain (ushort id)
MCAPI::CompoundTag const & getCompoundTag (ushort id) const
MCAPI float getFloat (ushort id) const
MCAPI int getInt (ushort id) const
MCAPI int64 getInt64 (ushort id) const
MCAPI schar getInt8 (ushort id) const
MCAPI short getShort (ushort id) const
MCAPI::std::string const & getString (ushort id) const
MCAPI::Vec3 getVec3 (ushort id) const
MCAPI bool hasData (ushort id) const
MCAPI::SynchedActorData & operator= (::SynchedActorData &&rhs)
MCAPI ::std::vector<::std::unique_ptr<::DataItem > > packAll (::EntityContext const &entity) const
MCAPI ::std::vector<::std::unique_ptr<::DataItem > > packDirty (::EntityContext &entity)
MCFOLD void * $ctor ()
MCAPI void * $ctor (::SynchedActorData &&rhs)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI ::std::vector<::std::unique_ptr<::DataItem > > cloneDataList (::std::vector<::std::unique_ptr<::DataItem > > const &list)
static MCAPI ::std::string const & DIFF_ITEM_NULL ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::DataItem > > > mItemsArray
::ll::TypedStorage< 8, 24, ::std::bitset< 141 > > mDirtyFlags
::ll::TypedStorage< 8, 24, ::std::bitset< 141 > > mHasComponentData

The documentation for this class was generated from the following file: