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

Public Types

enum class  MissingVariableHandling : int { Error = 0 , NoError = 1 }

Public Member Functions

LLAPI void setMolangVariable (::MolangVariableIndex molangVariableIndex, ::MolangScriptArg const &value)
LLAPI void setMolangVariable (HashedString const &variableName, ::MolangScriptArg const &value)
LLAPI void setMolangVariable (uint64 variableNameHash, char const *variableName, ::MolangScriptArg const &value, bool allowSpecialCharacters)
 MolangVariableMap (MolangVariableMap const &rhs)
MCAPI::MolangVariable * _getMolangVariable (::MolangVariableIndex molangVariableIndex, ::MolangVariableMap::MissingVariableHandling errorHandling) const
MCAPI::MolangVariable * _getOrAddMolangVariable (::MolangVariableIndex molangVariableIndex)
MCAPI::MolangVariableMap & clear ()
MCAPI::MolangVariableMap & operator= (::MolangVariableMap &&rhs)
MCAPI::MolangVariableMap & operator= (::MolangVariableMap const &rhs)
MCAPI bool operator== (::MolangVariableMap const &rhs) const
MCAPI void setMolangStructMember (::MolangVariableIndex molangVariableIndex, ::HashedString const &memberNameDepth0, ::MolangScriptArg const &value)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector< short > > mMapFromVariableIndexToVariableArrayOffset
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::MolangVariable > > > mVariables
::ll::TypedStorage< 1, 1, bool > mHasPublicVariables

Member Function Documentation

◆ _getMolangVariable()

MCAPI::MolangVariable * MolangVariableMap::_getMolangVariable ( ::MolangVariableIndex molangVariableIndex,
::MolangVariableMap::MissingVariableHandling errorHandling ) 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=() [1/2]

MCAPI::MolangVariableMap & MolangVariableMap::operator= ( ::MolangVariableMap && 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.

◆ operator=() [2/2]

MCAPI::MolangVariableMap & MolangVariableMap::operator= ( ::MolangVariableMap const & 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.

◆ operator==()

MCAPI bool MolangVariableMap::operator== ( ::MolangVariableMap const & rhs) 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.

◆ setMolangStructMember()

MCAPI void MolangVariableMap::setMolangStructMember ( ::MolangVariableIndex molangVariableIndex,
::HashedString const & memberNameDepth0,
::MolangScriptArg const & value )
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: