LeviLamina
Loading...
Searching...
No Matches
ScriptDedicatedServerUtils Class Reference
Inheritance diagram for ScriptDedicatedServerUtils:

Public Member Functions

ScriptDedicatedServerUtils & operator= (ScriptDedicatedServerUtils const &)
 ScriptDedicatedServerUtils (ScriptDedicatedServerUtils const &)
virtual bool saveHold ()
virtual bool saveResume ()
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 bool $saveHold ()
MCAPI bool $saveResume ()
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 bool ScriptDedicatedServerUtils::saveHold ( )
virtual

◆ saveResume()

virtual bool ScriptDedicatedServerUtils::saveResume ( )
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

The documentation for this class was generated from the following file: