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

Public Member Functions

CClient GetClient (Text Login)
 
CClient GetClient (CUIConfig UI)
 
Void TweakTeamColorsToAvoidHueOverlap ()
 
Void TriggerModeScriptEvent (Text Type, Text[] Data)
 
Void SendModeScriptCommand (Text CommandName, Boolean BoolVal)
 
Void SendModeScriptCommand (Text CommandName, Integer IntVal)
 
Void SendModeScriptCommand (Text CommandName, Real RealVal)
 
Void SendModeScriptCommand (Text CommandName, Text TextVal)
 
Void RestartMap ()
 
Void NextMap ()
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 

Public Attributes

const CTitle LoadedTitle
 
const CMapInfo MapInfo
 
const CClient [] Clients
 
const CClient [] Spectators
 
const CClient [] Players
 
const CScore [] Scores
 
const CUser [] Users
 
const CTeam [] Teams
 
Text NeutralEmblemUrl
 
Text ForcedClubLinkUrl1
 
Text ForcedClubLinkUrl2
 
const Integer Now
 
const CServerPluginEvent [] PendingEvents
 
const Boolean MapLoaded
 
const Boolean MapUnloadRequested
 
const CMapInfo [] MapList
 
const Integer CurMapIndex
 
Integer NextMapIndex
 
Boolean HoldMapUnloadRequest
 
Boolean Client_ComputeMinimap
 
const CUIConfigMgr UIManager
 
const CServerAdmin ServerAdmin
 
const CXmlRpc XmlRpc
 
const CParsingManager Xml
 
const CHttpManager Http
 
const CSystemPlatform System
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local Persistent Server plugin

Member Function Documentation

◆ Dbg_DumpDeclareForVariables()

Text CServerPlugin::Dbg_DumpDeclareForVariables ( CNod  Nod,
Boolean  StatsOnly 
)

◆ GetClient() [1/2]

CClient CServerPlugin::GetClient ( Text  Login)

◆ GetClient() [2/2]

CClient CServerPlugin::GetClient ( CUIConfig  UI)

◆ NextMap()

Void CServerPlugin::NextMap ( )

◆ RestartMap()

Void CServerPlugin::RestartMap ( )

◆ SendModeScriptCommand() [1/4]

Void CServerPlugin::SendModeScriptCommand ( Text  CommandName,
Boolean  BoolVal 
)

◆ SendModeScriptCommand() [2/4]

Void CServerPlugin::SendModeScriptCommand ( Text  CommandName,
Integer  IntVal 
)

◆ SendModeScriptCommand() [3/4]

Void CServerPlugin::SendModeScriptCommand ( Text  CommandName,
Real  RealVal 
)

◆ SendModeScriptCommand() [4/4]

Void CServerPlugin::SendModeScriptCommand ( Text  CommandName,
Text  TextVal 
)

◆ TriggerModeScriptEvent()

Void CServerPlugin::TriggerModeScriptEvent ( Text  Type,
Text []  Data 
)

◆ TweakTeamColorsToAvoidHueOverlap()

Void CServerPlugin::TweakTeamColorsToAvoidHueOverlap ( )

Member Data Documentation

◆ Client_ComputeMinimap

Boolean CServerPlugin::Client_ComputeMinimap

Enable minimap on the clients, even if the mode does not do it.

◆ Clients

const CClient [] CServerPlugin::Clients

Currently connected Users.

◆ CurMapIndex

const Integer CServerPlugin::CurMapIndex

◆ ForcedClubLinkUrl1

Text CServerPlugin::ForcedClubLinkUrl1

◆ ForcedClubLinkUrl2

Text CServerPlugin::ForcedClubLinkUrl2

◆ HoldMapUnloadRequest

Boolean CServerPlugin::HoldMapUnloadRequest

◆ Http

const CHttpManager CServerPlugin::Http

◆ LoadedTitle

const CTitle CServerPlugin::LoadedTitle

◆ MapInfo

const CMapInfo CServerPlugin::MapInfo

◆ MapList

const CMapInfo [] CServerPlugin::MapList

◆ MapLoaded

const Boolean CServerPlugin::MapLoaded

◆ MapUnloadRequested

const Boolean CServerPlugin::MapUnloadRequested

◆ NeutralEmblemUrl

Text CServerPlugin::NeutralEmblemUrl

◆ NextMapIndex

Integer CServerPlugin::NextMapIndex

◆ Now

const Integer CServerPlugin::Now

◆ PendingEvents

const CServerPluginEvent [] CServerPlugin::PendingEvents

◆ Players

const CClient [] CServerPlugin::Players

Users connected as players.

◆ Scores

const CScore [] CServerPlugin::Scores

Sorted scores.

◆ ServerAdmin

const CServerAdmin CServerPlugin::ServerAdmin

◆ Spectators

const CClient [] CServerPlugin::Spectators

Users connected as spectators.

◆ System

const CSystemPlatform CServerPlugin::System

◆ Teams

const CTeam [] CServerPlugin::Teams

◆ UIManager

const CUIConfigMgr CServerPlugin::UIManager

◆ Users

const CUser [] CServerPlugin::Users

◆ Xml

const CParsingManager CServerPlugin::Xml

◆ XmlRpc

const CXmlRpc CServerPlugin::XmlRpc