LeviLamina
Loading...
Searching...
No Matches
ScriptModuleServerAdmin::ScriptServerAdmin Class Reference

Static Public Member Functions

static MCAPI void bind (::Scripting::ModuleBindingBuilder &moduleBuilder, ::ScriptServerNetworkHandlerReference *serverNetworkHandler)
static MCAPI ::Scripting::Result< void, ::Scripting::InvalidArgumentError, ::ScriptModuleServerAdmin::ScriptCannotDeopPlayerError, ::Scripting::EngineErrordeopPlayer (::ScriptServerNetworkHandlerReference &serverNetworkHandlerRef, ::ScriptModuleMinecraft::ScriptPlayer const &scriptPlayer)
static MCAPI ::Scripting::Result< void, ::Scripting::InvalidArgumentError, ::ScriptModuleServerAdmin::ScriptCannotKickPlayerError, ::Scripting::EngineErrorkickPlayer (::ScriptServerNetworkHandlerReference &serverNetworkHandlerRef, ::ScriptModuleMinecraft::ScriptPlayer const &scriptPlayer, ::std::optional<::std::string > reason)
static MCAPI ::Scripting::Result< void, ::Scripting::InvalidArgumentError, ::ScriptModuleServerAdmin::ScriptPlayerAlreadyOpError, ::Scripting::EngineErroropPlayer (::ScriptServerNetworkHandlerReference &serverNetworkHandlerRef, ::ScriptModuleMinecraft::ScriptPlayer const &scriptPlayer)
static MCAPI ::Scripting::Result_deprecated< void > transferPlayer (::ScriptModuleMinecraft::ScriptPlayer &scriptPlayer, ::std::variant< ::ScriptModuleServerAdmin::ScriptTransferPlayerIpPortOptions, ::ScriptModuleServerAdmin::ScriptTransferPlayerNetherNetOptions > options)

Member Function Documentation

◆ bind()

MCAPI void ScriptModuleServerAdmin::ScriptServerAdmin::bind ( ::Scripting::ModuleBindingBuilder & moduleBuilder,
::ScriptServerNetworkHandlerReference * serverNetworkHandler )
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.

◆ deopPlayer()

MCAPI ::Scripting::Result< void, ::Scripting::InvalidArgumentError, ::ScriptModuleServerAdmin::ScriptCannotDeopPlayerError, ::Scripting::EngineError > ScriptModuleServerAdmin::ScriptServerAdmin::deopPlayer ( ::ScriptServerNetworkHandlerReference & serverNetworkHandlerRef,
::ScriptModuleMinecraft::ScriptPlayer const & scriptPlayer )
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.

◆ kickPlayer()

MCAPI ::Scripting::Result< void, ::Scripting::InvalidArgumentError, ::ScriptModuleServerAdmin::ScriptCannotKickPlayerError, ::Scripting::EngineError > ScriptModuleServerAdmin::ScriptServerAdmin::kickPlayer ( ::ScriptServerNetworkHandlerReference & serverNetworkHandlerRef,
::ScriptModuleMinecraft::ScriptPlayer const & scriptPlayer,
::std::optional<::std::string > reason )
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.

◆ opPlayer()

MCAPI ::Scripting::Result< void, ::Scripting::InvalidArgumentError, ::ScriptModuleServerAdmin::ScriptPlayerAlreadyOpError, ::Scripting::EngineError > ScriptModuleServerAdmin::ScriptServerAdmin::opPlayer ( ::ScriptServerNetworkHandlerReference & serverNetworkHandlerRef,
::ScriptModuleMinecraft::ScriptPlayer const & scriptPlayer )
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.

◆ transferPlayer()

MCAPI ::Scripting::Result_deprecated< void > ScriptModuleServerAdmin::ScriptServerAdmin::transferPlayer ( ::ScriptModuleMinecraft::ScriptPlayer & scriptPlayer,
::std::variant< ::ScriptModuleServerAdmin::ScriptTransferPlayerIpPortOptions, ::ScriptModuleServerAdmin::ScriptTransferPlayerNetherNetOptions > options )
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.

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