Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BehaviorData Class Reference

Classes

struct  Data
struct  DataProxy

Public Types

enum class  DataType : uchar {
  BlockPosition = 0 , Boolean = 1 , Float = 2 , Int = 3 ,
  String = 4 , Vector3 = 5 , VoidPointer = 6
}
using DataProxy = ::BehaviorData::DataProxy

Public Member Functions

MCAPI void copyData (::std::string const &from, ::std::string const &to, ::BehaviorData &other)
MCAPI bool hasData (::std::string const &strId) const
MCAPI bool hasDataOfType (::std::string const &strId, ::BehaviorData::DataType type) const
MCAPI ~BehaviorData ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::BehaviorData::DataProxy > > > mData
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::BehaviorData::DataProxy > > > mDataStack

Constructor & Destructor Documentation

◆ ~BehaviorData()

MCAPI BehaviorData::~BehaviorData ( )
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

◆ copyData()

MCAPI void BehaviorData::copyData ( ::std::string const & from,
::std::string const & to,
::BehaviorData & other )
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.

◆ hasData()

MCAPI bool BehaviorData::hasData ( ::std::string const & strId) 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.

◆ hasDataOfType()

MCAPI bool BehaviorData::hasDataOfType ( ::std::string const & strId,
::BehaviorData::DataType type ) 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.

◆ $dtor()

MCAPI void BehaviorData::$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: