Trackmania Turbo ManiaScript Reference 2016.11.07.1615
A ManiaScript Reference of the Trackmania Turbo game.
Loading...
Searching...
No Matches
CMode Struct Reference

#include <doc.h>

Inheritance diagram for CMode:
[legend]

Public Types

enum  EMedal {
  None , Finished , Bronze , Silver ,
  Gold , Author
}
 
enum  ESystemPlatform {
  None , Steam , UPlay , PS4 ,
  XBoxOne
}
 
enum  ESystemSkuIdentifier { Unknown , EU , US , JP }
 

Public Member Functions

Void TweakTeamColorsToAvoidHueOverlap ()
 
Void RequestLoadMap ()
 
Void RequestUnloadMap ()
 
Void Hud_Load (Text ModuleUrl)
 
Void Ladder_OpenMatch_Request ()
 
Void Ladder_AddPlayer (CScore PlayerScore)
 
Void Ladder_OpenMatch_BeginRequest ()
 
Void Ladder_OpenMatch_AddPlayer (CScore PlayerScore)
 
Void Ladder_OpenMatch_EndRequest ()
 
Void Ladder_CloseMatchRequest ()
 
Void Ladder_CancelMatchRequest ()
 
Void Ladder_SetResultsVersion (Integer Version)
 
Void Ladder_SetMatchMakingMatchId (Integer MatchId)
 
Void Ladder_EnableChallengeMode (Boolean Enable)
 
Boolean Admin_KickUser (CUser User, Text Reason)
 
Void Admin_SetLobbyInfo (Boolean IsLobby, Integer LobbyPlayerCount, Integer LobbyMaxPlayerCount, Real LobbyPlayersLevel)
 
Void AutoTeamBalance ()
 
Void Solo_SetNewRecord (CScore PlayerScore, EMedal PlayerScore)
 
Integer Synchro_AddBarrier ()
 
Boolean Synchro_BarrierReached (Integer Barrier)
 
Boolean Users_AreAllies (CUser User1, CUser User2)
 
Void Users_RequestSwitchToSpectator (CUser User)
 
CUser Users_CreateFake (Text NickName, Integer RequestedTeam)
 
Void Users_DestroyFake (CUser User)
 
Void Users_SetNbFakeUsers (Integer NbTeam1, Integer NbTeam2)
 
Void Users_DestroyAllFakes ()
 
Void ItemList_Begin ()
 
Boolean ItemList_Begin ()
 
Ident ItemList_Add (Text ModelName)
 
Ident ItemList_AddWithSkin (Text ModelName, Text SkinName)
 
Void ItemList_End ()
 
Void DemoToken_StartUsingToken ()
 
Void DemoToken_StopUsingToken ()
 
Void DemoToken_GetAndUseToken (CUser User)
 
Void ActionList_Begin ()
 
Boolean ActionList_Begin ()
 
Ident ActionList_Add (Text ActionName)
 
Void ActionList_End ()
 
Void Replay_Start ()
 
Void Replay_Stop ()
 
CManiaplanetPluginInterface GetPluginInterface (Text Name)
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 

Public Attributes

Text ModeStatusMessage
 
const CTitle LoadedTitle
 
const Text ServerLogin
 
const Text ServerName
 
const Text ServerModeName
 
const Text MapName
 
const CMap Map
 
const Text MapPlayerModelName
 
const CUser[] Users
 
const CTeam[] Teams
 
Text NeutralEmblemUrl
 
const Text ForcedClubLinkUrl1
 
const Text ForcedClubLinkUrl2
 
Text ClientManiaAppUrl
 
const Integer Now
 
const Integer Period
 
Boolean MatchEndRequested
 
const Boolean ServerShutdownRequested
 
const Boolean MapLoaded
 
const CMapInfo[] MapList
 
Integer NextMapIndex
 
const CUIConfigMgr UIManager
 
const CGamePlaygroundModuleServerHud Hud
 
const Boolean Ladder_RequestInProgress
 
const Boolean Solo_NewRecordSequenceInProgress
 
const CXmlRpc XmlRpc
 
const CXmlManager Xml
 
const CHttpManager Http
 
const CInputManager Input
 
const CDataMgr DataMgr
 
const CScoreMgr ScoreMgr
 
const ESystemPlatform SystemPlatform
 
const ESystemSkuIdentifier SystemSkuIdentifier
 
Boolean UseMinimap
 
Boolean Replay_AutoStart
 
const CGameAchievementScriptManager AchievementsManager
 
const CManiaplanetPluginInterface[] PluginInterfaces
 
const CGamePluginInterfacesScript Plugins
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local Persistent Rules API for gamemodes.

Member Data Documentation

◆ DataMgr

const CDataMgr CMode::DataMgr

Only available for local solo modes.

◆ Input

const CInputManager CMode::Input

Only available for local solo modes.

◆ SystemPlatform

const ESystemPlatform CMode::SystemPlatform

Only available for local solo modes.

◆ SystemSkuIdentifier

const ESystemSkuIdentifier CMode::SystemSkuIdentifier

Only available for local solo modes.


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