Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OreUI::PlayerPermissionsFacet Class Reference
Inheritance diagram for OreUI::PlayerPermissionsFacet:

Public Member Functions

virtual bool update ()
MCAPI PlayerPermissionsFacet (::MinecraftCommands &commands, ::PacketSender &packetSender, ::LocalPlayerChangedConnector const &localPlayerChangedConnector, ::World::WorldPlayerListTracker &worldPlayerListTracker, ::std::function<::LocalPlayer *()> getCurrentLocalPlayer, ::std::function< bool()> isInGame, ::std::function< bool()> isPrimaryClient, ::std::function< bool()> isHostingLocalDedicatedServer)
MCAPI void _evaluateStates ()
MCAPI void _initResources ()
MCAPI void _reloadPermissions ()
MCAPI bool _validateLocalPlayer ()
MCAPI bool areCheatsEnabled () const
MCAPI bool canEditPermissions () const
MCAPI bool canKickPlayer () const
MCAPI void clearErrorFlag (::OreUI::PlayerPermissionsError error)
MCAPI void enableCheats ()
MCAPI ::std::optional<::PlayerPermissionLevel > const & getCurrentPlayerPermissionLevel () const
MCAPI::OreUI::PlayerPermissionsActionState const & getKickCommandState () const
MCAPI bool getOperatorCommandsRevokedFlag () const
MCAPI bool getPlayerIdInvalidFlag () const
MCAPI ::std::vector<::OreUI::PlayerAbilityBindings > const & getPlayerPermissionList () const
MCAPI bool getPlayerPermissionsMissingFlag () const
MCAPI bool getSelectedPlayerLeftFlag () const
MCAPI bool getSelectedPlayerPermissionsChangedFlag () const
MCAPI bool isWorldTemplateOptionsLocked () const
MCAPI void kickPlayer (::std::string playerId)
MCAPI void loadPlayerPermissions (::std::string playerId)
MCAPI void requestSavePermissions ()
MCAPI void setPlayerPermission (::std::string playerId, ::AbilitiesIndex abilityIndex, bool isEnabled)
MCAPI void setPlayerPermissionLevel (::std::string playerId, ::PlayerPermissionLevel playerPermissionLevel)
MCAPI void * $ctor (::MinecraftCommands &commands, ::PacketSender &packetSender, ::LocalPlayerChangedConnector const &localPlayerChangedConnector, ::World::WorldPlayerListTracker &worldPlayerListTracker, ::std::function<::LocalPlayer *()> getCurrentLocalPlayer, ::std::function< bool()> isInGame, ::std::function< bool()> isPrimaryClient, ::std::function< bool()> isHostingLocalDedicatedServer)
MCAPI bool $update ()

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> NAME ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mLocalPlayerSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mPlayerPermissionsChangedSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mPlayerListChangedSubscription
::ll::TypedStorage< 8, 64, ::std::function<::LocalPlayer *()> > mGetCurrentLocalPlayer
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsInGame
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsPrimaryClient
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsHostingLocalDedicatedServer
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::PlayerPermissionsManager > > mPlayerPermissionsManager
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::PlayerPermissionsSynchroniser > > mPlayerPermissionsSynchroniser
::ll::TypedStorage< 8, 80, ::PlayerPermissionsCommandsUtils > mCommandsUtils
::ll::TypedStorage< 1, 1, bool > mPlayerIdInvalidFlag
::ll::TypedStorage< 1, 1, bool > mPlayerPermissionsMissingFlag
::ll::TypedStorage< 1, 1, bool > mSelectedPlayerLeftFlag
::ll::TypedStorage< 1, 1, bool > mSelectedPlayerPermissionsChangedFlag
::ll::TypedStorage< 1, 1, bool > mOperatorCommandsRevokedFlag
::ll::TypedStorage< 1, 1, ::OreUI::PlayerPermissionsActionState > mKickCommandState
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mCurrentPlayerID
::ll::TypedStorage< 1, 2, ::std::optional<::PlayerPermissionLevel > > mCurrentPlayerPermissionLevel
::ll::TypedStorage< 8, 24, ::std::vector<::OreUI::PlayerAbilityBindings > > mPlayerPermissionList
::ll::TypedStorage< 1, 1, bool > mCanEditPermissions
::ll::TypedStorage< 1, 1, bool > mCanKickPlayer
::ll::TypedStorage< 1, 1, bool > mLocalPlayerLoaded
::ll::TypedStorage< 1, 1, bool > mPermissionsChanged
::ll::TypedStorage< 1, 1, bool > mStatesChanged
::ll::TypedStorage< 1, 1, bool > mErrorFlagsChanged
::ll::TypedStorage< 1, 1, bool > mAreCheatsEnabled
::ll::TypedStorage< 1, 1, bool > mIsWorldTemplateOptionsLocked
::ll::TypedStorage< 8, 136, ::PlayerPermissionsLevelListener > mLevelListener

Constructor & Destructor Documentation

◆ PlayerPermissionsFacet()

MCAPI OreUI::PlayerPermissionsFacet::PlayerPermissionsFacet ( ::MinecraftCommands & commands,
::PacketSender & packetSender,
::LocalPlayerChangedConnector const & localPlayerChangedConnector,
::World::WorldPlayerListTracker & worldPlayerListTracker,
::std::function<::LocalPlayer *()> getCurrentLocalPlayer,
::std::function< bool()> isInGame,
::std::function< bool()> isPrimaryClient,
::std::function< bool()> isHostingLocalDedicatedServer )
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

◆ _evaluateStates()

MCAPI void OreUI::PlayerPermissionsFacet::_evaluateStates ( )
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.

◆ _initResources()

MCAPI void OreUI::PlayerPermissionsFacet::_initResources ( )
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.

◆ _reloadPermissions()

MCAPI void OreUI::PlayerPermissionsFacet::_reloadPermissions ( )
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.

◆ _validateLocalPlayer()

MCAPI bool OreUI::PlayerPermissionsFacet::_validateLocalPlayer ( )
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.

◆ areCheatsEnabled()

MCAPI bool OreUI::PlayerPermissionsFacet::areCheatsEnabled ( ) 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.

◆ canEditPermissions()

MCAPI bool OreUI::PlayerPermissionsFacet::canEditPermissions ( ) 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.

◆ canKickPlayer()

MCAPI bool OreUI::PlayerPermissionsFacet::canKickPlayer ( ) 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.

◆ clearErrorFlag()

MCAPI void OreUI::PlayerPermissionsFacet::clearErrorFlag ( ::OreUI::PlayerPermissionsError error)
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.

◆ enableCheats()

MCAPI void OreUI::PlayerPermissionsFacet::enableCheats ( )
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.

◆ getCurrentPlayerPermissionLevel()

MCAPI ::std::optional<::PlayerPermissionLevel > const & OreUI::PlayerPermissionsFacet::getCurrentPlayerPermissionLevel ( ) 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.

◆ getKickCommandState()

MCAPI::OreUI::PlayerPermissionsActionState const & OreUI::PlayerPermissionsFacet::getKickCommandState ( ) 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.

◆ getOperatorCommandsRevokedFlag()

MCAPI bool OreUI::PlayerPermissionsFacet::getOperatorCommandsRevokedFlag ( ) 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.

◆ getPlayerIdInvalidFlag()

MCAPI bool OreUI::PlayerPermissionsFacet::getPlayerIdInvalidFlag ( ) 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.

◆ getPlayerPermissionList()

MCAPI ::std::vector<::OreUI::PlayerAbilityBindings > const & OreUI::PlayerPermissionsFacet::getPlayerPermissionList ( ) 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.

◆ getPlayerPermissionsMissingFlag()

MCAPI bool OreUI::PlayerPermissionsFacet::getPlayerPermissionsMissingFlag ( ) 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.

◆ getSelectedPlayerLeftFlag()

MCAPI bool OreUI::PlayerPermissionsFacet::getSelectedPlayerLeftFlag ( ) 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.

◆ getSelectedPlayerPermissionsChangedFlag()

MCAPI bool OreUI::PlayerPermissionsFacet::getSelectedPlayerPermissionsChangedFlag ( ) 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.

◆ isWorldTemplateOptionsLocked()

MCAPI bool OreUI::PlayerPermissionsFacet::isWorldTemplateOptionsLocked ( ) 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.

◆ kickPlayer()

MCAPI void OreUI::PlayerPermissionsFacet::kickPlayer ( ::std::string playerId)
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.

◆ loadPlayerPermissions()

MCAPI void OreUI::PlayerPermissionsFacet::loadPlayerPermissions ( ::std::string playerId)
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.

◆ requestSavePermissions()

MCAPI void OreUI::PlayerPermissionsFacet::requestSavePermissions ( )
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.

◆ setPlayerPermission()

MCAPI void OreUI::PlayerPermissionsFacet::setPlayerPermission ( ::std::string playerId,
::AbilitiesIndex abilityIndex,
bool isEnabled )
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.

◆ setPlayerPermissionLevel()

MCAPI void OreUI::PlayerPermissionsFacet::setPlayerPermissionLevel ( ::std::string playerId,
::PlayerPermissionLevel playerPermissionLevel )
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.

◆ NAME()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::PlayerPermissionsFacet::NAME ( )
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.

◆ $ctor()

MCAPI void * OreUI::PlayerPermissionsFacet::$ctor ( ::MinecraftCommands & commands,
::PacketSender & packetSender,
::LocalPlayerChangedConnector const & localPlayerChangedConnector,
::World::WorldPlayerListTracker & worldPlayerListTracker,
::std::function<::LocalPlayer *()> getCurrentLocalPlayer,
::std::function< bool()> isInGame,
::std::function< bool()> isPrimaryClient,
::std::function< bool()> isHostingLocalDedicatedServer )
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.

◆ $update()

MCAPI bool OreUI::PlayerPermissionsFacet::$update ( )
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 files: