CGamePlaygroundClientScriptAPI

Trackmania Next API


CGamePlaygroundClientScriptAPI

ID 0x03187000
Uninstantiable

Inherits from MwFoundations::CMwNod

API for plugins to get playground info.

Enums

ESpectatorCameraType

ESpectatorCameraType::Replay
ESpectatorCameraType::Follow
ESpectatorCameraType::Free
ESpectatorCameraType::StandardCount
ESpectatorCameraType::NotUsed0
ESpectatorCameraType::NotUsed1
ESpectatorCameraType::NotUsed2
ESpectatorCameraType::NotUsed3
ESpectatorCameraType::NotUsed4
ESpectatorCameraType::NotUsed5
ESpectatorCameraType::NotUsed6
ESpectatorCameraType::NotUsed7
ESpectatorCameraType::NotUsed8
ESpectatorCameraType::NotUsed9
ESpectatorCameraType::FollowForced
ESpectatorCameraType::DontChange

ESpectatorTargetType

ESpectatorTargetType::None
ESpectatorTargetType::Single
ESpectatorTargetType::AllPlayers
ESpectatorTargetType::AllMap
Methods

void QuitServer(bool Silent)

void QuitServerAndSetResult(bool Silent, wstring Type, MwFastBuffer<wstring>& Data)

void JoinTeam1()

void JoinTeam2()

void RequestSpectatorClient(bool Spectator)

void SetSpectateTarget(string Player)

void ShowProfile(string Player)

bool SaveReplay(wstring FileName)

bool SavePrevReplay(wstring FileName)

bool SaveMap(wstring FileName)

void MapList_Request()

const CGamePlaygroundClientScriptAPI::ESpectatorCameraType GetSpectatorCameraType()

const CGamePlaygroundClientScriptAPI::ESpectatorTargetType GetSpectatorTargetType()

void SetWantedSpectatorCameraType(CGamePlaygroundClientScriptAPI::ESpectatorCameraType CameraType)

void RequestRestartMap()

void RequestNextMap()

void RequestGotoMap(string MapUid)

void RequestSetNextMap(string MapUid)

void RequestAutoTeamBalance()

void RequestChangeModeScriptSettings(string SettingsXml)

Members

const CGameCtnChallenge@ Map

const int GameTime

const CGamePlayerInfo@ LocalUser

const CGamePlaygroundUIConfig@ UI

const CGameCtnNetServerInfo@ ServerInfo

const MwId SettingsPlayerModelId

const bool IsSpectator

const bool IsSpectatorClient

const bool UseClans

const bool UseForcedClans

const bool IsLoadingScreen

const bool IsServerOrSolo

const bool IsInGameMenuDisplayed

const MwFastBuffer<CGameTeamProfile@> Teams

const bool MapList_IsInProgress

const MwFastBuffer<wstring> MapList_Names

const MwFastBuffer<string> MapList_MapUids

const bool Request_IsInProgress

const bool Request_Success

bool DisablePlayingStateTracking

Inherited members CMwNod

string IdName

const MwId Id


Documentation from build 2021-08-25 15:46:20
(Page rendering: 0.06 seconds, 15.3 MB)