LeviLamina
Loading...
Searching...
No Matches
PermissionsFile Class Reference

Public Member Functions

PermissionsFileoperator= (PermissionsFile const &)
 
 PermissionsFile (PermissionsFile const &)
 
MCAPI void applyPlayerPermissionsFromDisk (::Player &player, ::UserEntityIdentifierComponent const &userIdentifier, ::CommandPermissionLevel opCommandPermissionLevel)
 
MCAPI bool fileExists () const
 
MCAPI ::std::vector<::std::string > getXUIDsByPermission (::PlayerPermissionLevel permission) const
 
MCAPI bool isPermissionsSet (::std::string const &xuid, ::PlayerPermissionLevel permission) const
 
MCAPI void persistPlayerPermissionsToDisk (::UserEntityIdentifierComponent const &userIdentifier, ::PlayerPermissionLevel permission)
 
MCAPI void persistPlayerPermissionsToDisk (::std::string const &xuid, ::PlayerPermissionLevel permission)
 
MCAPI ::std::tuple<::FileReadResult, ::Json::ValuereadPermissionFile ()
 
MCAPI::FileReadResult reload ()
 
MCAPI void setDefaultPlayerPermission (::Player &player, ::CommandPermissionLevel opCommandPermissionLevel)
 

Public Attributes

::ll::UntypedStorage< 8, 32 > mUnkb52563
 
::ll::UntypedStorage< 8, 64 > mUnk8a7a23
 

Member Function Documentation

◆ applyPlayerPermissionsFromDisk()

MCAPI void PermissionsFile::applyPlayerPermissionsFromDisk ( ::Player & player,
::UserEntityIdentifierComponent const & userIdentifier,
::CommandPermissionLevel opCommandPermissionLevel )
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.

◆ fileExists()

MCAPI bool PermissionsFile::fileExists ( ) 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.

◆ getXUIDsByPermission()

MCAPI ::std::vector<::std::string > PermissionsFile::getXUIDsByPermission ( ::PlayerPermissionLevel permission) 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.

◆ isPermissionsSet()

MCAPI bool PermissionsFile::isPermissionsSet ( ::std::string const & xuid,
::PlayerPermissionLevel permission ) 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.

◆ persistPlayerPermissionsToDisk() [1/2]

MCAPI void PermissionsFile::persistPlayerPermissionsToDisk ( ::UserEntityIdentifierComponent const & userIdentifier,
::PlayerPermissionLevel permission )
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.

◆ persistPlayerPermissionsToDisk() [2/2]

MCAPI void PermissionsFile::persistPlayerPermissionsToDisk ( ::std::string const & xuid,
::PlayerPermissionLevel permission )
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.

◆ readPermissionFile()

MCAPI ::std::tuple<::FileReadResult, ::Json::Value > PermissionsFile::readPermissionFile ( )
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.

◆ reload()

MCAPI::FileReadResult PermissionsFile::reload ( )
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.

◆ setDefaultPlayerPermission()

MCAPI void PermissionsFile::setDefaultPlayerPermission ( ::Player & player,
::CommandPermissionLevel opCommandPermissionLevel )
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: