Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CTitleControl Class Reference

API for titles menus to control the main loop. More...

#include <doc.h>

Inheritance diagram for CTitleControl:
[legend]

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

Detailed Description

API for titles menus to control the main loop.

Member Function Documentation

◆ GetServerInfo()

Void CTitleControl::GetServerInfo ( Text ServerLogin)

Fetch the server info, from the account id, or 'IP:xxx.xxx.xxx.xxx' with LAN ip

◆ JoinServer()

Void CTitleControl::JoinServer ( Text ServerLogin,
Boolean AsSpectator,
Text Password )

Join a server

◆ PublishFile()

Void CTitleControl::PublishFile ( Text FileName)

Set FileName='' to open a file select dialog.

Member Data Documentation

◆ IsReady

Boolean const CTitleControl::IsReady

Can a command be issued.

◆ LatestResult

CTitleControl::EResult const CTitleControl::LatestResult

Result of the latest command issued.


The documentation for this class was generated from the following file: