Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PositionTrackingDB::TrackingRecord Class Reference

Public Types

enum class  RecordStatus : uchar { Ok = 0 , PendingUpdate = 1 , Deleted = 2 }

Public Member Functions

MCAPI bool _addTransaction (::std::weak_ptr<::PositionTrackingDB::PositionTrackingDBServer > parent, ::std::unique_ptr<::PositionTrackingDB::OperationBase > newTransaction)
MCAPI bool processPendingTransactions (::std::weak_ptr<::PositionTrackingDB::PositionTrackingDBServer > parent)
MCAPI::CompoundTag serialize () const

Public Attributes

::ll::TypedStorage< 4, 4, ::PositionTrackingId > mId
::ll::TypedStorage< 4, 12, ::BlockPos > mPosition
::ll::TypedStorage< 4, 4, ::DimensionType > mDimensionType
::ll::TypedStorage< 1, 1, ::PositionTrackingDB::TrackingRecord::RecordStatus > mStatus
::ll::TypedStorage< 1, 1, bool > mDirty
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::PositionTrackingDB::OperationBase > > > mPendingOperations
::ll::TypedStorage< 8, 32, ::OwnerPtr<::EntityId > > mEntity

Member Function Documentation

◆ _addTransaction()

MCAPI bool PositionTrackingDB::TrackingRecord::_addTransaction ( ::std::weak_ptr<::PositionTrackingDB::PositionTrackingDBServer > parent,
::std::unique_ptr<::PositionTrackingDB::OperationBase > newTransaction )
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.

◆ processPendingTransactions()

MCAPI bool PositionTrackingDB::TrackingRecord::processPendingTransactions ( ::std::weak_ptr<::PositionTrackingDB::PositionTrackingDBServer > parent)
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.

◆ serialize()

MCAPI::CompoundTag PositionTrackingDB::TrackingRecord::serialize ( ) 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.

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