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

Public Member Functions

ScriptDedicatedServerUtils & operator= (ScriptDedicatedServerUtils const &)
 ScriptDedicatedServerUtils (ScriptDedicatedServerUtils const &)
virtual void saveHold (::std::function< void(bool)> &&callback)
virtual void saveResume (::std::function< void(bool)> &&callback)
virtual ::std::optional<::std::vector<::SnapshotFilenameAndLength > > saveQuery ()
virtual bool addToAllowList (::IScriptDedicatedServerUtils::AllowListEntryInfo const &identity)
virtual bool removeFromAllowList (::IScriptDedicatedServerUtils::AllowListEntryInfo const &identity)
virtual bool allowListContains (::IScriptDedicatedServerUtils::AllowListEntryInfo const &identity)
virtual ::std::vector<::IScriptDedicatedServerUtils::AllowListEntryInfo > getAllowListEntries () const
virtual void clearAllowList ()
virtual bool reloadAllowListFile ()
virtual void setAllowListEnabled (bool enabled)
virtual bool getAllowListEnabled () const
virtual bool reloadPermissionsFile ()
virtual ::std::unordered_map<::std::string, ::PlayerPermissionLevel > const & getPermissions () const
virtual bool setPermissions (::std::unordered_map<::std::string, ::PlayerPermissionLevel > const &permissionData)
virtual bool setPlayerPermission (::std::string const &xuid, ::PlayerPermissionLevel permission)
virtual bool reloadScriptConfig ()
virtual bool reloadCDNConfig ()
virtual::std::string const & getSessionID () const
virtual void stopServer ()
MCAPI void $saveHold (::std::function< void(bool)> &&callback)
MCAPI void $saveResume (::std::function< void(bool)> &&callback)
MCAPI ::std::optional<::std::vector<::SnapshotFilenameAndLength > > $saveQuery ()
MCAPI bool $addToAllowList (::IScriptDedicatedServerUtils::AllowListEntryInfo const &identity)
MCAPI bool $removeFromAllowList (::IScriptDedicatedServerUtils::AllowListEntryInfo const &identity)
MCAPI bool $allowListContains (::IScriptDedicatedServerUtils::AllowListEntryInfo const &identity)
MCAPI ::std::vector<::IScriptDedicatedServerUtils::AllowListEntryInfo > $getAllowListEntries () const
MCAPI void $clearAllowList ()
MCAPI bool $reloadAllowListFile ()
MCAPI void $setAllowListEnabled (bool enabled)
MCAPI bool $getAllowListEnabled () const
MCAPI bool $reloadPermissionsFile ()
MCAPI ::std::unordered_map<::std::string, ::PlayerPermissionLevel > const & $getPermissions () const
MCAPI bool $setPermissions (::std::unordered_map<::std::string, ::PlayerPermissionLevel > const &permissionData)
MCAPI bool $setPlayerPermission (::std::string const &xuid, ::PlayerPermissionLevel permission)
MCAPI bool $reloadScriptConfig ()
MCAPI bool $reloadCDNConfig ()
MCAPI::std::string const & $getSessionID () const
MCAPI void $stopServer ()

Public Attributes

::ll::TypedStorage< 8, 8, ::DedicatedServer & > mServer
::ll::TypedStorage< 8, 8, ::AllowListFile & > mAllowListFile
::ll::TypedStorage< 8, 8, ::PermissionsFile & > mPermissionsFile
::ll::TypedStorage< 8, 8, ::CDNConfig & > mCDNConfig
::ll::TypedStorage< 8, 8, ::Level * > mLevel
::ll::TypedStorage< 8, 8, ::ScriptSettings * > mScriptSettings
::ll::TypedStorage< 8, 8, ::MinecraftCommands * > mCommands
::ll::TypedStorage< 8, 8, ::std::string const & > mSessionID

Member Function Documentation

◆ saveHold()

virtual void ScriptDedicatedServerUtils::saveHold ( ::std::function< void(bool)> && callback)
virtual

◆ saveResume()

virtual void ScriptDedicatedServerUtils::saveResume ( ::std::function< void(bool)> && callback)
virtual

◆ saveQuery()

virtual ::std::optional<::std::vector<::SnapshotFilenameAndLength > > ScriptDedicatedServerUtils::saveQuery ( )
virtual

◆ addToAllowList()

virtual bool ScriptDedicatedServerUtils::addToAllowList ( ::IScriptDedicatedServerUtils::AllowListEntryInfo const & identity)
virtual

◆ removeFromAllowList()

virtual bool ScriptDedicatedServerUtils::removeFromAllowList ( ::IScriptDedicatedServerUtils::AllowListEntryInfo const & identity)
virtual

◆ allowListContains()

virtual bool ScriptDedicatedServerUtils::allowListContains ( ::IScriptDedicatedServerUtils::AllowListEntryInfo const & identity)
virtual

◆ getAllowListEntries()

virtual ::std::vector<::IScriptDedicatedServerUtils::AllowListEntryInfo > ScriptDedicatedServerUtils::getAllowListEntries ( ) const
virtual

◆ clearAllowList()

virtual void ScriptDedicatedServerUtils::clearAllowList ( )
virtual

◆ reloadAllowListFile()

virtual bool ScriptDedicatedServerUtils::reloadAllowListFile ( )
virtual

◆ setAllowListEnabled()

virtual void ScriptDedicatedServerUtils::setAllowListEnabled ( bool enabled)
virtual

◆ getAllowListEnabled()

virtual bool ScriptDedicatedServerUtils::getAllowListEnabled ( ) const
virtual

◆ reloadPermissionsFile()

virtual bool ScriptDedicatedServerUtils::reloadPermissionsFile ( )
virtual

◆ getPermissions()

virtual ::std::unordered_map<::std::string, ::PlayerPermissionLevel > const & ScriptDedicatedServerUtils::getPermissions ( ) const
virtual

◆ setPermissions()

virtual bool ScriptDedicatedServerUtils::setPermissions ( ::std::unordered_map<::std::string, ::PlayerPermissionLevel > const & permissionData)
virtual

◆ setPlayerPermission()

virtual bool ScriptDedicatedServerUtils::setPlayerPermission ( ::std::string const & xuid,
::PlayerPermissionLevel permission )
virtual

◆ reloadScriptConfig()

virtual bool ScriptDedicatedServerUtils::reloadScriptConfig ( )
virtual

◆ reloadCDNConfig()

virtual bool ScriptDedicatedServerUtils::reloadCDNConfig ( )
virtual

◆ getSessionID()

virtual::std::string const & ScriptDedicatedServerUtils::getSessionID ( ) const
virtual

◆ stopServer()

virtual void ScriptDedicatedServerUtils::stopServer ( )
virtual

◆ $saveHold()

MCAPI void ScriptDedicatedServerUtils::$saveHold ( ::std::function< void(bool)> && callback)
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.

◆ $saveResume()

MCAPI void ScriptDedicatedServerUtils::$saveResume ( ::std::function< void(bool)> && callback)
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.

◆ $saveQuery()

MCAPI ::std::optional<::std::vector<::SnapshotFilenameAndLength > > ScriptDedicatedServerUtils::$saveQuery ( )
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.

◆ $addToAllowList()

MCAPI bool ScriptDedicatedServerUtils::$addToAllowList ( ::IScriptDedicatedServerUtils::AllowListEntryInfo const & identity)
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.

◆ $removeFromAllowList()

MCAPI bool ScriptDedicatedServerUtils::$removeFromAllowList ( ::IScriptDedicatedServerUtils::AllowListEntryInfo const & identity)
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.

◆ $allowListContains()

MCAPI bool ScriptDedicatedServerUtils::$allowListContains ( ::IScriptDedicatedServerUtils::AllowListEntryInfo const & identity)
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.

◆ $getAllowListEntries()

MCAPI ::std::vector<::IScriptDedicatedServerUtils::AllowListEntryInfo > ScriptDedicatedServerUtils::$getAllowListEntries ( ) 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.

◆ $clearAllowList()

MCAPI void ScriptDedicatedServerUtils::$clearAllowList ( )
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.

◆ $reloadAllowListFile()

MCAPI bool ScriptDedicatedServerUtils::$reloadAllowListFile ( )
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.

◆ $setAllowListEnabled()

MCAPI void ScriptDedicatedServerUtils::$setAllowListEnabled ( bool enabled)
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.

◆ $getAllowListEnabled()

MCAPI bool ScriptDedicatedServerUtils::$getAllowListEnabled ( ) 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.

◆ $reloadPermissionsFile()

MCAPI bool ScriptDedicatedServerUtils::$reloadPermissionsFile ( )
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.

◆ $getPermissions()

MCAPI ::std::unordered_map<::std::string, ::PlayerPermissionLevel > const & ScriptDedicatedServerUtils::$getPermissions ( ) 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.

◆ $setPermissions()

MCAPI bool ScriptDedicatedServerUtils::$setPermissions ( ::std::unordered_map<::std::string, ::PlayerPermissionLevel > const & permissionData)
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 bool ScriptDedicatedServerUtils::$setPlayerPermission ( ::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.

◆ $reloadScriptConfig()

MCAPI bool ScriptDedicatedServerUtils::$reloadScriptConfig ( )
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.

◆ $reloadCDNConfig()

MCAPI bool ScriptDedicatedServerUtils::$reloadCDNConfig ( )
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.

◆ $getSessionID()

MCAPI::std::string const & ScriptDedicatedServerUtils::$getSessionID ( ) 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.

◆ $stopServer()

MCAPI void ScriptDedicatedServerUtils::$stopServer ( )
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: