CGameScriptServerAdmin

ManiaPlanet API


CGameScriptServerAdmin

ID 0x03162000
Uninstantiable

Inherits from MwFoundations::CMwNod

API for server control when playing online.

Methods

void AutoTeamBalance()

bool Kick1(CGamePlayerInfo@ User, wstring Reason)

bool Kick2(CGameConnectedClient@ Client, wstring Reason)

bool KickUser(CGamePlayerInfo@ User, wstring Reason)

bool Ban1(CGamePlayerInfo@ User, wstring Reason)

bool Ban2(CGameConnectedClient@ Client, wstring Reason)

bool ForceSpectator1(CGamePlayerInfo@ User, CGameScriptServerAdmin::ESpecMode SpecMode)

bool ForceSpectator2(CGameConnectedClient@ Client, CGameScriptServerAdmin::ESpecMode SpecMode)

bool ForcePlayerRequestedTeam1(CGamePlayerInfo@ User, int Team)

bool ForcePlayerRequestedTeam2(CGameConnectedClient@ Client, int Team)

void SetLobbyInfo(bool IsLobby, int LobbyPlayerCount, int LobbyMaxPlayerCount, float LobbyPlayersLevel)

void SendToServerAfterMatch(string ServerUrl)

void CustomizeQuitDialog(string ManialinkPage, string SendToServerUrl, bool ProposeAddToFavorites, uint ForceDelay)

void Authentication_GetToken(MwId UserId, string AppLogin)

Members

const CGameCtnNetServerInfo@ ServerInfo

bool IsDisableChangeTeams

const bool Authentication_GetTokenResponseReceived

const uint Authentication_ErrorCode

const string Authentication_Token

Inherited members CMwNod

string IdName

const MwId Id

Enums

ESpecMode

ESpecMode::Selectable
ESpecMode::SpectatorForced
ESpecMode::PlayerForced
ESpecMode::SpectatorSelectable
ESpecMode::PlayerSelectable

Documentation from build 2019-11-19 18:50:52
(Page rendering: 0.03 seconds, 12.09 MB)