![]() |
Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
|
Rules API for gamemodes. More...
#include <doc.h>
Public Types | |
| enum | EMedal { None , Finished , Bronze , Silver , Gold , Author } |
Rules API for gamemodes.
Supported declare modes :
| enum CMode::EMedal |
| Boolean CMode::ActionList_Begin | ( | ) |
| Void CMode::ActionList_Begin | ( | ) |
| Void CMode::ActionList_End | ( | ) |
| Void CMode::Activity_Match_Create_End | ( | ) |
| Void CMode::Activity_Match_ReportResult_Begin | ( | ) |
| Void CMode::Activity_Match_ReportResult_End | ( | ) |
| Void CMode::Activity_Match_ReportResult_SetPlayerResult | ( | Text | WebServicesUserId, |
| Integer | Rank, | ||
| Integer | Score ) |
| Void CMode::Activity_Match_ReportResult_SetTeamResult | ( | Text | TeamName, |
| Integer | Rank, | ||
| Integer | Score ) |
| Void CMode::AutoTeamBalance | ( | ) |
| Void CMode::DemoToken_StartUsingToken | ( | ) |
| Void CMode::DemoToken_StopUsingToken | ( | ) |
| Void CMode::Discard | ( | CUIConfigEvent | EventToDiscard | ) |
| Void CMode::GameScene_ResetAll | ( | ) |
| Void CMode::GhostDriver_Download_AddRange | ( | Integer | TeamLevelMin, |
| Integer | TeamLevelMax, | ||
| Integer | Count ) |
| Void CMode::GhostDriver_Download_Begin | ( | ) |
| CWebServicesTaskResult_GhostDriver_Download CMode::GhostDriver_Download_End | ( | ) |
| CTaskResult CMode::GhostDriver_Upload_End | ( | ) |
| Void CMode::GhostDriver_Upload_TeamMember_Begin | ( | ) |
| Void CMode::GhostDriver_Upload_TeamMember_End | ( | ) |
| Void CMode::GhostDriver_UploadLimits_Begin | ( | ) |
| CWebServicesTaskResult_GhostDriver_UploadLimits CMode::GhostDriver_UploadLimits_End | ( | ) |
SkinNameOrUrl: can be 'Skins/Model/....', 'http://....', 'Default' (or '') for item default skin, 'Profile' for the user choice for the model. ModelName: 'DefaultPlayerModel' for the default map model, or the item filename.
| Boolean CMode::ItemList_Begin | ( | ) |
| Void CMode::ItemList_Begin | ( | ) |
| Void CMode::ItemList_End | ( | ) |
| Void CMode::Ladder_CancelMatchRequest | ( | ) |
| Void CMode::Ladder_CloseMatchRequest | ( | ) |
| Void CMode::Ladder_OpenMatch_BeginRequest | ( | ) |
| Void CMode::Ladder_OpenMatch_EndRequest | ( | ) |
| Void CMode::Ladder_OpenMatch_Request | ( | ) |
| CTaskResult_MapRecordList CMode::MapRecord_GetListByMapAndPlayerList | ( | Ident | UserId, |
| Array< Text > | WebServicesUserIdList, | ||
| Text | MapUid, | ||
| Text | ScopeType, | ||
| Text | ScopeId, | ||
| Text | GameMode, | ||
| Text | GameModeCustomData ) |
| Void CMode::PassOn | ( | CUIConfigEvent | EventToPassOn | ) |
| Void CMode::Replay_Start | ( | ) |
| Void CMode::Replay_Stop | ( | ) |
| Void CMode::RequestLoadMap | ( | ) |
| Void CMode::RequestUnloadMap | ( | ) |
| Void CMode::Solo_SetNewRecord | ( | CScore | PlayerScore, |
| CMode::EMedal | PlayerScore ) |
| Integer CMode::Synchro_AddBarrier | ( | ) |
| Void CMode::Trophy_CompetitionMatch_AddResult | ( | Text | WebServicesUserId, |
| Integer | MatchRank, | ||
| Integer | TrophyRanking ) |
| Void CMode::Trophy_CompetitionMatch_ClearResultList | ( | ) |
| CTaskResult_AccountTrophyGainList CMode::Trophy_CompetitionMatch_SendResultList | ( | Text | CompetitionName, |
| Text | CompetitionStage, | ||
| Text | CompetitionStageStep, | ||
| Text | CompetitionMatchInfo ) |
| Void CMode::Trophy_LiveTimeAttackAchievement_AddResult | ( | Text | WebServicesUserId, |
| Integer | MatchRank, | ||
| Integer | TrophyRanking ) |
| Void CMode::Trophy_LiveTimeAttackAchievement_ClearResultList | ( | ) |
| CTaskResult_AccountTrophyGainList CMode::Trophy_LiveTimeAttackAchievement_SendResultList | ( | Integer | Duration | ) |
| Void CMode::TweakTeamColorsToAvoidHueOverlap | ( | ) |
| Void CMode::Users_DestroyAllFakes | ( | ) |
| CActionManager* const CMode::ActionsManager |
| Text CMode::ClientManiaAppUrl |
| CDataFileMgr* const CMode::DataFileMgr |
Only available for local solo modes.
| Boolean CMode::EnableGhostRecording |
| Text const CMode::ForcedClubLinkUrl1 |
| Text const CMode::ForcedClubLinkUrl2 |
| Boolean const CMode::HasPodium |
| CHttpManager* const CMode::Http |
| CModulePlaygroundHud* const CMode::Hud |
| CInputManager* const CMode::Input |
Only available for local solo modes.
| Boolean const CMode::Ladder_RequestInProgress |
| CTitle* const CMode::LoadedTitle |
| CMap* const CMode::Map |
| Boolean const CMode::MapLoaded |
| Text const CMode::MapName |
| Text const CMode::MapPlayerModelName |
| Boolean CMode::MatchEndRequested |
| Text CMode::ModeStatusMessage |
| Text CMode::NeutralEmblemUrl |
| Integer CMode::NextMapIndex |
| Integer const CMode::Now |
| Integer const CMode::Period |
| Boolean CMode::Replay_AutoStart |
| CScoreMgr* const CMode::ScoreMgr |
| CServerAdmin* const CMode::ServerAdmin |
| Text const CMode::ServerLogin |
| Text const CMode::ServerModeName |
| Text const CMode::ServerName |
| Boolean const CMode::ServerShutdownRequested |
| Boolean const CMode::Solo_NewRecordSequenceInProgress |
| CSystemPlatform* const CMode::System |
| Array<CTaskResult* const > CMode::TaskResults |
| CModeTurretManager* const CMode::TurretsManager |
| CUIConfigMgr* const CMode::UIManager |
| Integer const CMode::UiUpdatePeriod |
| Boolean CMode::UseMinimap |
| CUserV2Manager* const CMode::UserMgr |
| CModeVehicleManager* const CMode::VehiclesManager |
| CParsingManager* const CMode::Xml |
| CXmlRpc* const CMode::XmlRpc |