![]() |
ManiaScript Trackmania 2020
14/07/2025
|
API for titles menus to control the main loop. More...
#include <2025_07_14.h>
Public Types | |
| enum | ESplitScreenLayout { Horizontal, Vertical, Four } |
| enum | EResult { Success, Error_Internal, Error_DataMgr, Error_Net_ServerNotFound, Error_Net_ServerUnreachable, Error_Net_Disconnected, Error_Net_WrongPassword, Error_Network_OnlineExpired, Error_Network_ServerFull, Error_Abort } |
| enum | EEditorType { ActionMaker, ChallengeEditor, ItemEditor, InterfaceDesigner, MeshModeler } |
| enum | EReplayEditType { None, Edit, View, Shoot } |
Public Member Functions | |
| Void | PlayMap (Text Map, Text Mode, Text SettingsXml) |
| Void | PlayCampaign (CCampaign Campaign, CMapInfo MapInfo, Text Mode, Text SettingsXml) |
| Void | PlayMapList (Array< Text > MapList, Text Mode, Text SettingsXml) |
| Void | PlayMatchSettings (CMatchSettings MatchSettings, Text OverrideMode, Text OverrideSettingsXml) |
| Void | PlayAgainstReplay (Text Replay, Text Mode, Text SettingsXml) |
| Void | PlaySplitScreen (CTitleControl::ESplitScreenLayout LayoutType, Array< Text > MapList, Text Mode, Text SettingsXml) |
| Void | PlayMultiOnSameScreen (Array< Text > MapList, Text Mode, Text SettingsXml) |
| Void | PlaySplitScreen (CTitleControl::ESplitScreenLayout LayoutType, CMatchSettings MatchSettings) |
| Void | PlayMultiOnSameScreen (CMatchSettings MatchSettings) |
| Void | ViewReplay (Text Replay) |
| Void | OpenEditor (Text EditorName, Text MainPluginSettings) |
| Void | OpenEditor (CTitleControl::EEditorType EditorType) |
| Void | EditSkins () |
| Void | EditSkinsFromFileName (Text SkinFilePath) |
| Void | EditReplay (Array< Text > ReplayList) |
| Void | EditReplay (Array< Text > ReplayList, CTitleControl::EReplayEditType EditType) |
| Void | EditGhosts (Text Map) |
| Void | EditAsset (Text EditorName, Text MainPluginSettingsXml, Text RelativeFileName) |
| Void | EditMap (Text Map, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text EditorPluginScript, Text EditorPluginArgument, Boolean UpgradeToAdvancedEditor) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean UpgradeToAdvancedEditor) |
| Void | EditMap (Text Map, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean UpgradeToAdvancedEditor, Boolean OnlyUseForcedPlugins) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Boolean UseSimpleEditor, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Boolean UseSimpleEditor, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments) |
| Void | EditNewMap (Text Environment, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Boolean UseSimpleEditor, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean OnlyUseForcedPlugins) |
| Void | EditNewMapFromBaseMap (Text BaseMapName, Text ModNameOrUrl, Text PlayerModel, Text MapType, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMapFromBaseMap (Text BaseMapName, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Text EditorPluginScript, Text EditorPluginArgument) |
| Void | EditNewMapFromBaseMap (Text BaseMapName, Text Decoration, Text ModNameOrUrl, Text PlayerModel, Text MapType, Array< Text > EditorPluginsScripts, Array< Text > EditorPluginsArguments, Boolean OnlyUseForcedPlugins) |
| Void | PublishFile (Text FileName) |
| Void | ProcessManiaCodeXml (Text ManiaCodeXml) |
| Void | DiscoverLocalServers () |
| Void | CreateServer (Text ServerName, Text ServerComment, Integer MaxPlayerCount, Text Password, Text PasswordSpectators, CMatchSettings MatchSettings) |
| Void | CreateServer (Text ServerName, Text ServerComment, Integer MaxPlayerCount, Text Password, Text PasswordSpectators, CMatchSettings MatchSettings, Boolean LocalOnly) |
| Void | GetServerInfo (Text ServerLogin) |
| Void | GetServerInfo (CServerInfo LocalServer) |
| Void | GetServerInfo_Abort () |
| Void | Join_GetServerInfo_Result (Boolean AsSpectator, Text Password) |
| Void | JoinServer (Text ServerLogin, Boolean AsSpectator, Text Password) |
| Void | Quit () |
Public Attributes | |
| Boolean const | IsReady |
| CTitleControl::EResult const | LatestResult |
| Text const | CustomResultType |
| Array< Text > | CustomResultData |
| Boolean const | CanPublishFiles |
| Array< CServerInfo *const > | LocalServers |
| Array< CServerInfo *const > | LocalServers_CurrentTitle |
| CServerInfo *const | GetServerInfo_Result |
| Boolean | JoinServer_DisableSystemDialogs |
Public Attributes inherited from CNod | |
| Ident const | Id |
API for titles menus to control the main loop.
Definition at line 13165 of file 2025_07_14.h.
| Enumerator | |
|---|---|
| ActionMaker | |
| ChallengeEditor | |
| ItemEditor | |
| InterfaceDesigner | |
| MeshModeler | |
Definition at line 13193 of file 2025_07_14.h.
Definition at line 13178 of file 2025_07_14.h.
| Enumerator | |
|---|---|
| Horizontal | |
| Vertical | |
| Four | |
Definition at line 13170 of file 2025_07_14.h.
| Void CTitleControl::CreateServer | ( | Text | ServerName, |
| Text | ServerComment, | ||
| Integer | MaxPlayerCount, | ||
| Text | Password, | ||
| Text | PasswordSpectators, | ||
| CMatchSettings | MatchSettings | ||
| ) |
| Void CTitleControl::CreateServer | ( | Text | ServerName, |
| Text | ServerComment, | ||
| Integer | MaxPlayerCount, | ||
| Text | Password, | ||
| Text | PasswordSpectators, | ||
| CMatchSettings | MatchSettings, | ||
| Boolean | LocalOnly | ||
| ) |
| Void CTitleControl::DiscoverLocalServers | ( | ) |
| Void CTitleControl::EditAsset | ( | Text | EditorName, |
| Text | MainPluginSettingsXml, | ||
| Text | RelativeFileName | ||
| ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | UpgradeToAdvancedEditor | ||
| ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | UpgradeToAdvancedEditor, | ||
| Boolean | OnlyUseForcedPlugins | ||
| ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument | ||
| ) |
| Void CTitleControl::EditMap | ( | Text | Map, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument, | ||
| Boolean | UpgradeToAdvancedEditor | ||
| ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Boolean | UseSimpleEditor, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments | ||
| ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Boolean | UseSimpleEditor, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | OnlyUseForcedPlugins | ||
| ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Boolean | UseSimpleEditor, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument | ||
| ) |
| Void CTitleControl::EditNewMap | ( | Text | Environment, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument | ||
| ) |
| Void CTitleControl::EditNewMapFromBaseMap | ( | Text | BaseMapName, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Array< Text > | EditorPluginsScripts, | ||
| Array< Text > | EditorPluginsArguments, | ||
| Boolean | OnlyUseForcedPlugins | ||
| ) |
| Void CTitleControl::EditNewMapFromBaseMap | ( | Text | BaseMapName, |
| Text | Decoration, | ||
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument | ||
| ) |
| Void CTitleControl::EditNewMapFromBaseMap | ( | Text | BaseMapName, |
| Text | ModNameOrUrl, | ||
| Text | PlayerModel, | ||
| Text | MapType, | ||
| Text | EditorPluginScript, | ||
| Text | EditorPluginArgument | ||
| ) |
| Void CTitleControl::EditReplay | ( | Array< Text > | ReplayList, |
| CTitleControl::EReplayEditType | EditType | ||
| ) |
| Void CTitleControl::EditSkins | ( | ) |
| Void CTitleControl::GetServerInfo | ( | CServerInfo | LocalServer | ) |
Fetch the server info, from the account id, or 'IP:xxx.xxx.xxx.xxx' with LAN ip
| Void CTitleControl::GetServerInfo_Abort | ( | ) |
Join a server
| Void CTitleControl::OpenEditor | ( | CTitleControl::EEditorType | EditorType | ) |
| Void CTitleControl::PlayCampaign | ( | CCampaign | Campaign, |
| CMapInfo | MapInfo, | ||
| Text | Mode, | ||
| Text | SettingsXml | ||
| ) |
| Void CTitleControl::PlayMatchSettings | ( | CMatchSettings | MatchSettings, |
| Text | OverrideMode, | ||
| Text | OverrideSettingsXml | ||
| ) |
| Void CTitleControl::PlayMultiOnSameScreen | ( | CMatchSettings | MatchSettings | ) |
| Void CTitleControl::PlaySplitScreen | ( | CTitleControl::ESplitScreenLayout | LayoutType, |
| Array< Text > | MapList, | ||
| Text | Mode, | ||
| Text | SettingsXml | ||
| ) |
| Void CTitleControl::PlaySplitScreen | ( | CTitleControl::ESplitScreenLayout | LayoutType, |
| CMatchSettings | MatchSettings | ||
| ) |
| Void CTitleControl::Quit | ( | ) |
| Boolean const CTitleControl::CanPublishFiles |
Definition at line 13348 of file 2025_07_14.h.
Definition at line 13224 of file 2025_07_14.h.
| Text const CTitleControl::CustomResultType |
Definition at line 13220 of file 2025_07_14.h.
| CServerInfo* const CTitleControl::GetServerInfo_Result |
Definition at line 13392 of file 2025_07_14.h.
| Boolean const CTitleControl::IsReady |
Can a command be issued.
Definition at line 13212 of file 2025_07_14.h.
| Boolean CTitleControl::JoinServer_DisableSystemDialogs |
Definition at line 13404 of file 2025_07_14.h.
| CTitleControl::EResult const CTitleControl::LatestResult |
Result of the latest command issued.
Definition at line 13216 of file 2025_07_14.h.
| Array<CServerInfo* const > CTitleControl::LocalServers |
Definition at line 13360 of file 2025_07_14.h.
| Array<CServerInfo* const > CTitleControl::LocalServers_CurrentTitle |
Definition at line 13364 of file 2025_07_14.h.