ManiaScript Reference  2019-05
CPlaygroundClient Struct Reference
Inheritance diagram for CPlaygroundClient:
CNod

Public Member Functions

Void QuitServer (Boolean Silent)
 
Void QuitServerAndSetResult (Boolean Silent, Text Type, Text[] Data)
 
Void JoinTeam1 ()
 
Void JoinTeam2 ()
 
Void RequestSpectatorClient (Boolean Spectator)
 
Void SetSpectateTarget (Text Player)
 
Void ShowProfile (Text Player)
 

Public Attributes

const CMap Map
 
const Integer GameTime
 
const CUser LocalUser
 
const CUIConfig UI
 
const CServerInfo ServerInfo
 
const Ident SettingsPlayerModelId
 
const Boolean IsSpectator
 
const Boolean IsSpectatorClient
 
const Boolean UseClans
 
const Boolean UseForcedClans
 
const Boolean IsLoadingScreen
 
const Boolean IsInGameMenuDisplayed
 
const CTeam [] Teams
 
Boolean DisablePlayingStateTracking
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local Persistent API for plugins to get playground info.

Member Function Documentation

◆ JoinTeam1()

Void CPlaygroundClient::JoinTeam1 ( )

◆ JoinTeam2()

Void CPlaygroundClient::JoinTeam2 ( )

◆ QuitServer()

Void CPlaygroundClient::QuitServer ( Boolean  Silent)

◆ QuitServerAndSetResult()

Void CPlaygroundClient::QuitServerAndSetResult ( Boolean  Silent,
Text  Type,
Text []  Data 
)

◆ RequestSpectatorClient()

Void CPlaygroundClient::RequestSpectatorClient ( Boolean  Spectator)

Request change of IsSpectatorClient (not immediate, and it may be refused).

◆ SetSpectateTarget()

Void CPlaygroundClient::SetSpectateTarget ( Text  Player)

◆ ShowProfile()

Void CPlaygroundClient::ShowProfile ( Text  Player)

Member Data Documentation

◆ DisablePlayingStateTracking

Boolean CPlaygroundClient::DisablePlayingStateTracking

◆ GameTime

const Integer CPlaygroundClient::GameTime

◆ IsInGameMenuDisplayed

const Boolean CPlaygroundClient::IsInGameMenuDisplayed

◆ IsLoadingScreen

const Boolean CPlaygroundClient::IsLoadingScreen

◆ IsSpectator

const Boolean CPlaygroundClient::IsSpectator

Is in spectator mode - may be only for a short time between rounds.

◆ IsSpectatorClient

const Boolean CPlaygroundClient::IsSpectatorClient

Client actually desires to spectate instead of playing.

◆ LocalUser

const CUser CPlaygroundClient::LocalUser

◆ Map

const CMap CPlaygroundClient::Map

Null when no map loaded.

◆ ServerInfo

const CServerInfo CPlaygroundClient::ServerInfo

◆ SettingsPlayerModelId

const Ident CPlaygroundClient::SettingsPlayerModelId

◆ Teams

const CTeam [] CPlaygroundClient::Teams

◆ UI

const CUIConfig CPlaygroundClient::UI

◆ UseClans

const Boolean CPlaygroundClient::UseClans

◆ UseForcedClans

const Boolean CPlaygroundClient::UseForcedClans