Skip to content
LeviMC
English
AutoLightDark
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)
SynchedActorData & operator= (SynchedActorData const &)
 SynchedActorData (SynchedActorData const &)
MCAPI::SynchedActorData _clone () const
MCAPI::CompoundTag const & getCompoundTag (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)
MCAPI ~SynchedActorData ()
MCAPI 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< 142 > > mDirtyFlags
::ll::TypedStorage< 8, 24, ::std::bitset< 142 > > mHasComponentData

Constructor & Destructor Documentation

◆ ~SynchedActorData()

MCAPI SynchedActorData::~SynchedActorData ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _clone()

MCAPI::SynchedActorData SynchedActorData::_clone ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getCompoundTag()

MCAPI::CompoundTag const & SynchedActorData::getCompoundTag ( ushort id) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ operator=()

MCAPI::SynchedActorData & SynchedActorData::operator= ( ::SynchedActorData && rhs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ packDirty()

MCAPI ::std::vector<::std::unique_ptr<::DataItem > > SynchedActorData::packDirty ( ::EntityContext & entity)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ cloneDataList()

MCAPI ::std::vector<::std::unique_ptr<::DataItem > > SynchedActorData::cloneDataList ( ::std::vector<::std::unique_ptr<::DataItem > > const & list)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DIFF_ITEM_NULL()

MCAPI ::std::string const & SynchedActorData::DIFF_ITEM_NULL ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void SynchedActorData::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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