CGameScriptServerAdmin

Trackmania Next API


CGameScriptServerAdmin

ID 0x03162000
Uninstantiable

Inherits from MwFoundations::CMwNod

API for server control when playing online.

Enums

ESpecMode

ESpecMode::Selectable
ESpecMode::SpectatorForced
ESpecMode::PlayerForced
ESpecMode::SpectatorSelectable
ESpecMode::PlayerSelectable
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)

string ConnectFakePlayer()

void DisconnectFakePlayer(string Login)

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)

void SetViewerCount(uint ViewerCount)

Members

const CGameCtnNetServerInfo@ ServerInfo

bool IsDisableChangeTeams

bool IsDisableProfileSkins

const bool Authentication_GetTokenResponseReceived

const uint Authentication_ErrorCode

const string Authentication_Token

Inherited members CMwNod

string IdName

const MwId Id


Documentation from build 2021-08-25 15:46:20
(Page rendering: 0.05 seconds, 15.29 MB)