CGamePlaygroundScript

Trackmania Next API


CGamePlaygroundScript

ID 0x03138000
Uninstantiable

Inherits from MwFoundations::CMwNod

Rules API for gamemodes.

Inherited by

ShootMania::CSmArenaRulesMode 0x2D01A000
Methods

void TaskResult_Release(MwId TaskId)

void TweakTeamColorsToAvoidHueOverlap()

void RequestLoadMap()

void RequestUnloadMap()

void Hud_Load(wstring ModuleName)

void PassOnModuleEvent(CGamePlaygroundUIConfigEvent@ EventToPassOn)

void DiscardModuleEvent(CGamePlaygroundUIConfigEvent@ EventToDiscard)

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)

void Trophy_CompetitionMatch_AddResult(string WebServicesUserId, uint MatchRank, uint TrophyRanking)

void Trophy_CompetitionMatch_ClearResultList()

CWebServicesTaskResult_AccountTrophyGainListScript@ Trophy_CompetitionMatch_SendResultList(string CompetitionName, string CompetitionStage, string CompetitionStageStep, wstring CompetitionMatchInfo)

void Trophy_LiveTimeAttackAchievement_AddResult(string WebServicesUserId, uint MatchRank, uint TrophyRanking)

void Trophy_LiveTimeAttackAchievement_ClearResultList()

CWebServicesTaskResult_AccountTrophyGainListScript@ Trophy_LiveTimeAttackAchievement_SendResultList(uint Duration)

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 SkinNameOrUrl)

MwId ItemList_AddWithSkin2(wstring ModelName, wstring SkinNameOrUrl, string SkinOptions)

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()

void Activity_Match_Create_Begin(string ActivityId)

void Activity_Match_Create_AddPlayer(string WebServicesUserId, string TeamName)

void Activity_Match_Create_AddTeam(string TeamName)

void Activity_Match_Create_End()

void Activity_Match_ReportResult_Begin()

void Activity_Match_ReportResult_SetPlayerResult(string WebServicesUserId, uint Rank, uint Score)

void Activity_Match_ReportResult_SetTeamResult(string TeamName, uint Rank, uint Score)

void Activity_Match_ReportResult_End()

void Ghost_Release(MwId GhostId)

void GhostDriver_Playlist_Clear(CGameScriptPlayer@ Player)

void GhostDriver_Playlist_Add(CGameScriptPlayer@ Player, CGameGhostScript@ Ghost)

void GhostDriver_UploadLimits_Begin()

void GhostDriver_UploadLimits_AddLevel(int TeamLevel)

CWebServicesTaskResult_GhostDriver_UploadLimits@ GhostDriver_UploadLimits_End()

void GhostDriver_Upload_Begin(int TeamLevel)

void GhostDriver_Upload_AddTeamMember(CGameGhostScript@ Ghost)

void GhostDriver_Upload_TeamMember_Begin()

void GhostDriver_Upload_AddGhost(CGameGhostScript@ Ghost)

void GhostDriver_Upload_TeamMember_End()

CWebServicesTaskResult@ GhostDriver_Upload_End()

void GhostDriver_Download_Begin()

void GhostDriver_Download_AddRange(int TeamLevelMin, int TeamLevelMax, int Count)

CWebServicesTaskResult_GhostDriver_Download@ GhostDriver_Download_End()

CWebServicesTaskResult_MapRecordListScript@ MapRecord_GetListByMapAndPlayerList(MwId UserId, MwFastBuffer<wstring>& WebServicesUserIdList, string MapUid, string ScopeType, string ScopeId, string GameMode, string GameModeCustomData)

void GameScene_ResetAll()

wstring Dbg_DumpDeclareForVariables(CMwNod@ Nod, bool StatsOnly)

Members

const MwFastBuffer<CWebServicesTaskResult@> TaskResults

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 bool HasPodium

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 CGamePlaygroundUIConfigMgrScript@ UIManager

const CGamePlaygroundModuleServerHud@ Hud

const bool Ladder_RequestInProgress

const CGameScriptServerAdmin@ ServerAdmin

const bool Solo_NewRecordSequenceInProgress

const CGameServerScriptXmlRpc@ XmlRpc

const CXmlScriptParsingManager@ Xml

const CNetScriptHttpManager@ Http

const CInputScriptManager@ Input

const CGameDataFileManagerScript@ DataFileMgr

const CGameScoreAndLeaderBoardManagerScript@ ScoreMgr

const CSystemPlatformScript@ System

const CGamePlaygroundScript::ESystemPlatform SystemPlatform

ESystemPlatform::None
ESystemPlatform::Steam
ESystemPlatform::UPlay
ESystemPlatform::PS4
ESystemPlatform::XBoxOne
ESystemPlatform::PS5
ESystemPlatform::XBoxSeries
ESystemPlatform::Stadia
ESystemPlatform::Luna

const CGamePlaygroundScript::ESystemSkuIdentifier SystemSkuIdentifier

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

const CGameUserManagerScript@ UserMgr

uint Users_EdNbFakeUsers

bool UseMinimap

bool Replay_AutoStart

const CGameScriptMgrTurret@ TurretsManager

const CGameScriptMgrVehicle@ VehiclesManager

const CGameMgrAction@ ActionsManager

bool EnableGhostRecording

const MwFastBuffer<CGameGhostScript@> Ghosts

const uint UiUpdatePeriod

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
ESystemPlatform::PS5
ESystemPlatform::XBoxSeries
ESystemPlatform::Stadia
ESystemPlatform::Luna

ESystemSkuIdentifier

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

Documentation from build 2024-12-12 15:15:35
(Page rendering: 0.06 seconds, 14.68 MB)