ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
Loading...
Searching...
No Matches
CServerAdmin Struct Reference

#include <doc.h>

Inheritance diagram for CServerAdmin:
[legend]

Public Types

enum  ESpecMode {
  Selectable , SpectatorForced , PlayerForced , SpectatorSelectable ,
  PlayerSelectable
}
 

Public Member Functions

Void AutoTeamBalance ()
 
Boolean Kick (CUser User, Text Reason)
 
Boolean Kick (CClient Client, Text Reason)
 
Boolean Ban (CUser User, Text Reason)
 
Boolean Ban (CClient Client, Text Reason)
 
Boolean ForceSpectator (CUser User, ESpecMode SpecMode)
 
Boolean ForceSpectator (CClient Client, ESpecMode SpecMode)
 
Boolean ForcePlayerRequestedTeam (CUser User, Integer Team)
 
Boolean ForcePlayerRequestedTeam (CClient Client, Integer Team)
 
Void SetLobbyInfo (Boolean IsLobby, Integer LobbyPlayerCount, Integer LobbyMaxPlayerCount, Real LobbyPlayersLevel)
 
Void SendToServerAfterMatch (Text ServerUrl)
 
Void CustomizeQuitDialog (Text ManialinkPage, Text SendToServerUrl, Boolean ProposeAddToFavorites, Integer ForceDelay)
 
Void Authentication_GetToken (Ident UserId, Text AppLogin)
 

Public Attributes

const CServerInfo ServerInfo
 
Boolean IsDisableChangeTeams
 
const Boolean Authentication_GetTokenResponseReceived
 
const Integer Authentication_ErrorCode
 
const Text Authentication_Token
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

API for server control when playing online.

Member Function Documentation

◆ Authentication_GetToken()

Void CServerAdmin::Authentication_GetToken ( Ident UserId,
Text AppLogin )

Always use NullId as UserId.

◆ ForcePlayerRequestedTeam()

Boolean CServerAdmin::ForcePlayerRequestedTeam ( CClient Client,
Integer Team )

Team is 1 or 2.

Member Data Documentation

◆ IsDisableChangeTeams

Boolean CServerAdmin::IsDisableChangeTeams

Disable Team change UI on the clients.

◆ ServerInfo

const CServerInfo CServerAdmin::ServerInfo

ServerInfo


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