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

Public Types

using PermissionsPublisher
using PermissionsPublisherRefWrapper

Public Member Functions

MCAPI void addSaveData (::CompoundTag &tag) const
MCAPI bool loadSaveData (::CompoundTag const &tag)
MCAPI ~PermissionsHandler ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::PlayerPermissionLevel playerPermissionLevelFromString (::std::string const &s)
static MCAPI ::std::string playerPermissionLevelToString (::PlayerPermissionLevel const &permission)

Public Attributes

::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mCommandPermissions
::ll::TypedStorage< 1, 1, ::PlayerPermissionLevel > mPlayerPermissions
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > > mClientPlayerPermissionsPublisher

Member Typedef Documentation

◆ PermissionsPublisher

using PermissionsHandler::PermissionsPublisher

◆ PermissionsPublisherRefWrapper

using PermissionsHandler::PermissionsPublisherRefWrapper
Initial value:

Constructor & Destructor Documentation

◆ ~PermissionsHandler()

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

◆ addSaveData()

MCAPI void PermissionsHandler::addSaveData ( ::CompoundTag & tag) 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.

◆ loadSaveData()

MCAPI bool PermissionsHandler::loadSaveData ( ::CompoundTag const & tag)
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.

◆ playerPermissionLevelFromString()

MCAPI ::PlayerPermissionLevel PermissionsHandler::playerPermissionLevelFromString ( ::std::string const & s)
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.

◆ playerPermissionLevelToString()

MCAPI ::std::string PermissionsHandler::playerPermissionLevelToString ( ::PlayerPermissionLevel const & permission)
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 PermissionsHandler::$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: