CGamePlaygroundClientScriptAPI

Trackmania Next API


CGamePlaygroundClientScriptAPI

ID 0x03187000
Uninstantiable

Inherits from MwFoundations::CMwNod

API for plugins to get playground info.

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)

void Vote_Cast(bool Answer)

Members

const CGameCtnChallenge@ Map

const int GameTime

const CGamePlayerInfo@ LocalUser

const CGamePlaygroundUIConfig@ UI

const CGameCtnNetServerInfo@ ServerInfo

const MwId SettingsPlayerModelId

const bool HasPodium

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

const wstring Vote_Question

const bool Vote_CanVote

Inherited members CMwNod

string IdName

const MwId Id

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

Documentation from build 2024-02-26 11:36:11
(Page rendering: 0.06 seconds, 15.87 MB)