CTrackManiaRaceRules

ManiaPlanet API


CTrackManiaRaceRules

ID 0x24017000
Uninstantiable

Inherits from Game::CGamePlaygroundScript → MwFoundations::CMwNod

Rules API for TrackMania gamemodes.

Methods

CTmRaceRulesPlayer@ GetPlayerFromUI(CGamePlaygroundUIConfig@ UI)

CTmRaceRulesPlayer@ GetPlayerFromLogin(string Login)

bool PassOn(CTmRaceRulesEvent@ Event)

void Discard(CTmRaceRulesEvent@ Event)

void SpawnPlayer(CTmRaceRulesPlayer@ Player, int ClanNum, int RaceStartTime)

void UnspawnPlayer(CTmRaceRulesPlayer@ Player)

void SetPlayerClan(CTmRaceRulesPlayer@ Player, int ClanNum)

void Scores_Sort(CTrackManiaRaceRules::ETmScoreSortOrder SortOrder)

void Scores_Clear()

void Ladder_ComputeRank(CTrackManiaRaceRules::ETmScoreSortOrder SortOrder)

void Cheats_Reset()

MwId RaceGhost_Add(CGameGhostScript@ Ghost, bool DisplayAsPlayerBest)

MwId RaceGhost_AddWithOffset(CGameGhostScript@ Ghost, uint OffsetMs)

MwId RaceGhost_AddModel(CGameGhostScript@ Ghost, bool DisplayAsPlayerBest, MwId ModelId)

void RaceGhost_Remove(MwId GhostInstId)

void RaceGhost_RemoveAll()

uint RaceGhost_GetStartTime(MwId GhostInstId)

uint RaceGhost_GetCurCheckpoint(MwId GhostInstId)

uint RaceGhost_GetCheckpointTime(MwId GhostInstId, uint Checkpoint)

vec3 RaceGhost_GetPosition(MwId GhostInstId)

bool RaceGhost_IsVisible(MwId GhostInstId)

bool RaceGhost_IsReplayOver(MwId GhostInstId)

void FakePlayers_Add(wstring NickName)

void FakePlayers_Remove(CGamePlayerInfo@ User)

void FakePlayers_RemoveAll()

Members

const MwFastBuffer<CTmRaceRulesPlayer@> AllPlayers

const MwFastBuffer<CTmRaceRulesPlayer@> Spectators

const MwFastBuffer<CTmRaceRulesPlayer@> Players

const MwFastBuffer<CTmRaceRulesPlayer@> PlayersRacing

const MwFastBuffer<CTmRaceRulesPlayer@> PlayersWaiting

const MwFastBuffer<CTmRaceRulesScore@> Scores

uint Clan1Score

uint Clan2Score

MwFastArray<int> ClanScores

const uint ClansNbTotal

const MwFastBuffer<uint> ClansNbPlayers

const MwFastBuffer<CTmRaceRulesEvent@> PendingEvents

int CutOffTimeLimit

int NbLaps

bool IndependantLaps

bool UseClans

bool UseForcedClans

CTrackManiaRaceRules::ETMRespawnBehaviour RespawnBehaviour

ETMRespawnBehaviour::Normal
ETMRespawnBehaviour::DoNothing
ETMRespawnBehaviour::GiveUpBeforeFirstCheckPoint
ETMRespawnBehaviour::AlwaysGiveUp

bool UiRounds

bool UiLaps

bool UiStuntsMode

bool UiDisplayStuntsNames

bool UiDisableHelpMessage

int UiScoresPointsLimit

CTrackManiaRaceRules::ETmRaceChronoBehaviour UiRaceChrono

ETmRaceChronoBehaviour::Auto
ETmRaceChronoBehaviour::Hidden
ETmRaceChronoBehaviour::CountDown
ETmRaceChronoBehaviour::Normal

bool EnableCollisions

bool EnableScaleCar

bool EnableCheckpointBonus

bool EnableUniqueCamera

bool EnableBonusEvents

bool HideOpponents

uint ForceMaxOpponents

bool EnableLegacyXmlRpcCallbacks

bool MedalGhost_ShowGold

bool MedalGhost_ShowSilver

bool MedalGhost_ShowBronze

CTrackManiaRaceRules::EPersonalGhost PersonalGhost

EPersonalGhost::Disabled
EPersonalGhost::Latest
EPersonalGhost::FastestRace

bool ValidationGhost_Use

bool ValidationGhost_Visible

const MwId ValidationGhost_Id

bool StuntModel_EnableCustomisation

bool StuntModel_MP3Combo

bool StuntModel_MP3Points

bool StuntModel_UseStricterAngle

uint StuntModel_MinStuntDuration

uint StuntModel_RespawnPenalty

uint StuntModel_InterComboDelay

uint StuntModel_InterComboDelayExtendPerPoint

float StuntModel_FigureRepeatMalus

const vec3 MapStartLinePos

const MwFastBuffer<vec3> MapCheckpointPos

const MwFastBuffer<vec3> MapFinishLinePos

const bool MapIsLapRace

const uint MapNbLaps

const MwFastBuffer<CTmRaceRulesPlayer@> ConnectedPlayers

Inherited methods CGamePlaygroundScript

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)

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)

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

wstring Dbg_DumpDeclareForVariables(CMwNod@ Nod, bool StatsOnly)

Inherited members CGamePlaygroundScript

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

const CGamePlaygroundScript::ESystemSkuIdentifier SystemSkuIdentifier

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

uint Users_EdNbFakeUsers

bool UseMinimap

bool Replay_AutoStart

const CGameAchievementScriptManager@ AchievementsManager

const CGameScriptMgrTurret@ TurretsManager

const CGameScriptMgrVehicle@ VehiclesManager

const CGameMgrAction@ ActionsManager

Inherited members CMwNod

string IdName

const MwId Id

Enums

ETmScoreSortOrder

ETmScoreSortOrder::TotalPoints
ETmScoreSortOrder::BestRace_Time
ETmScoreSortOrder::BestRace_Stunts
ETmScoreSortOrder::BestRace_NbRespawns
ETmScoreSortOrder::BestRace_CheckpointsProgress
ETmScoreSortOrder::PrevRace_Time
ETmScoreSortOrder::Name
ETmScoreSortOrder::LadderRankSortValue

ETMRespawnBehaviour

ETMRespawnBehaviour::Normal
ETMRespawnBehaviour::DoNothing
ETMRespawnBehaviour::GiveUpBeforeFirstCheckPoint
ETMRespawnBehaviour::AlwaysGiveUp

ETmRaceChronoBehaviour

ETmRaceChronoBehaviour::Auto
ETmRaceChronoBehaviour::Hidden
ETmRaceChronoBehaviour::CountDown
ETmRaceChronoBehaviour::Normal

EPersonalGhost

EPersonalGhost::Disabled
EPersonalGhost::Latest
EPersonalGhost::FastestRace

Documentation from build 2019-11-19 18:50:52
(Page rendering: 0.05 seconds, 12.14 MB)