CGamePlaygroundScript

TrackMania Turbo API


CGamePlaygroundScript

ID 0x03138000
Uninstantiable

Inherits from MwFoundations::CMwNod

Rules API for gamemodes.

Inherited by

TrackMania::CTrackManiaRaceRules 0x24017000
ShootMania::CSmArenaRulesMode 0x2D01A000
Methods

void TweakTeamColorsToAvoidHueOverlap()

void RequestLoadMap()

void RequestUnloadMap()

void Hud_Load(wstring ModuleUrl)

void Ladder_OpenMatch_Request()

void Ladder_AddPlayer(CGamePlaygroundScore@ PlayerScore)

void Ladder_OpenMatch_BeginRequest()

void Ladder_OpenMatch_AddPlayer(CGamePlaygroundScore@ PlayerScore)

void Ladder_OpenMatch_EndRequest()

void Ladder_CloseMatchRequest()

void Ladder_CancelMatchRequest()

void Ladder_SetResultsVersion(uint Version)

void Ladder_SetMatchMakingMatchId(uint MatchId)

void Ladder_EnableChallengeMode(bool Enable)

bool Admin_KickUser(CGamePlayerInfo@ User, wstring Reason)

void Admin_SetLobbyInfo(bool IsLobby, int LobbyPlayerCount, int LobbyMaxPlayerCount, float LobbyPlayersLevel)

void AutoTeamBalance()

void Solo_SetNewRecord(CGamePlaygroundScore@ PlayerScore, CGamePlaygroundScript::EMedal PlayerScore)

int Synchro_AddBarrier()

bool Synchro_BarrierReached(int Barrier)

bool Users_AreAllies(CGamePlayerInfo@ User1, CGamePlayerInfo@ User2)

void Users_RequestSwitchToSpectator(CGamePlayerInfo@ User)

CGamePlayerInfo@ Users_CreateFake(wstring NickName, int RequestedTeam)

void Users_DestroyFake(CGamePlayerInfo@ User)

void Users_SetNbFakeUsers(int NbTeam1, int NbTeam2)

void Users_DestroyAllFakes()

void ItemList_Begin()

bool ItemList_Begin2()

MwId ItemList_Add(wstring ModelName)

MwId ItemList_AddWithSkin(wstring ModelName, wstring SkinName)

void ItemList_End()

void DemoToken_StartUsingToken()

void DemoToken_StopUsingToken()

void DemoToken_GetAndUseToken(CGamePlayerInfo@ User)

void ActionList_Begin()

bool ActionList_Begin2()

MwId ActionList_Add(wstring ActionName)

void ActionList_End()

void Replay_Start()

void Replay_Stop()

CGameManiaplanetPluginInterface@ GetPluginInterface(wstring Name)

wstring Dbg_DumpDeclareForVariables(CMwNod@ Nod, bool StatsOnly)

Members

CPlugFileTextScript@ Script

wstring ModeStatusMessage

const CGameManiaTitle@ LoadedTitle

const string ServerLogin

const wstring ServerName

const wstring ServerModeName

const wstring MapName

const CGameCtnChallenge@ Map

const wstring MapPlayerModelName

const MwFastBuffer<CGamePlayerInfo@> Users

const MwFastBuffer<CGameTeamProfile@> Teams

string NeutralEmblemUrl

const string ForcedClubLinkUrl1

const string ForcedClubLinkUrl2

string ClientManiaAppUrl

const uint Now

const uint Period

bool MatchEndRequested

const bool ServerShutdownRequested

const bool MapLoaded

const MwFastBuffer<CGameCtnChallengeInfo@> MapList

uint NextMapIndex

const CGamePlaygroundUIConfigMgr@ UIManager

const CGamePlaygroundModuleServerHud@ Hud

const bool Ladder_RequestInProgress

const bool Solo_NewRecordSequenceInProgress

const CGamePlaygroundScriptXmlRpc@ XmlRpc

const CXmlScriptManager@ Xml

const CNetScriptHttpManager@ Http

const CInputScriptManager@ Input

const CGameDataManagerScript@ DataMgr

const CGameScoreAndLeaderBoardManagerScript@ ScoreMgr

const CGamePlaygroundScript::ESystemPlatform SystemPlatform

ESystemPlatform::None
ESystemPlatform::Steam
ESystemPlatform::UPlay
ESystemPlatform::PS4
ESystemPlatform::XBoxOne

const CGamePlaygroundScript::ESystemSkuIdentifier SystemSkuIdentifier

ESystemSkuIdentifier::Unknown
ESystemSkuIdentifier::EU
ESystemSkuIdentifier::US
ESystemSkuIdentifier::JP

uint Users_EdNbFakeUsers

bool UseMinimap

bool Replay_AutoStart

const CGameAchievementScriptManager@ AchievementsManager

const MwFastBuffer<CGameManiaplanetPluginInterface@> PluginInterfaces

const CGamePluginInterfacesScript@ Plugins

Inherited members CMwNod

string IdName

const MwId Id

Enums

EMedal

EMedal::None
EMedal::Finished
EMedal::Bronze
EMedal::Silver
EMedal::Gold
EMedal::Author

ESystemPlatform

ESystemPlatform::None
ESystemPlatform::Steam
ESystemPlatform::UPlay
ESystemPlatform::PS4
ESystemPlatform::XBoxOne

ESystemSkuIdentifier

ESystemSkuIdentifier::Unknown
ESystemSkuIdentifier::EU
ESystemSkuIdentifier::US
ESystemSkuIdentifier::JP

Documentation from build 2016-11-07 16:15:45
(Page rendering: 0.05 seconds, 11.32 MB)