ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
Loading...
Searching...
No Matches
CTitleControl Struct Reference

#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 , ModuleStudio , PixelArt , EditorEditor ,
  VehicleAssembler , MaterialEditor
}
 

Public Member Functions

Void PlayMap (Text Map, Text Mode, Text SettingsXml)
 
Void PlayCampaign (CCampaign Campaign, CMapInfo MapInfo, Text Mode, Text SettingsXml)
 
Void PlayMapList (Text[] MapList, Text Mode, Text SettingsXml)
 
Void PlayMatchSettings (CMatchSettings MatchSettings, Text OverrideMode, Text OverrideSettingsXml)
 
Void PlaySplitScreen (ESplitScreenLayout LayoutType, Text[] MapList, Text Mode, Text SettingsXml)
 
Void PlayMultiOnSameScreen (Text[] MapList, Text Mode, Text SettingsXml)
 
Void PlaySplitScreen (ESplitScreenLayout LayoutType, CMatchSettings MatchSettings)
 
Void PlayMultiOnSameScreen (CMatchSettings MatchSettings)
 
Void ViewReplay (Text Replay)
 
Void OpenEditor (Text EditorName, Text MainPluginSettings)
 
Void OpenEditor (EEditorType EditorType)
 
Void EditSkins ()
 
Void EditReplay (Text[] ReplayList)
 
Void EditGhosts (Text Map)
 
Void EditAsset (Text EditorName, Text MainPluginSettingsXml, Text RelativeFileName)
 
Void EditMap (Text Map, Text EditorPluginScript, Text EditorPluginArgument)
 
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 EditNewMapFromBaseMap (Text BaseMapName, Text ModNameOrUrl, Text PlayerModel, Text MapType, Text EditorPluginScript, Text EditorPluginArgument)
 
Void EditBadges ()
 
Void PublishFile (Text FileName)
 
Void ProcessManiaCodeXml (Text ManiaCodeXml)
 
Void DiscoverLocalServers ()
 
Void CreateServer (Text ServerName, Text ServerComment, Integer MaxPlayerCount, Text Password, CMatchSettings MatchSettings, Text PasswordSpectators)
 
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

const Boolean IsReady
 
const EResult LatestResult
 
const Text CustomResultType
 
const Text[] CustomResultData
 
const Boolean CanPublishFiles
 
const CServerInfo[] LocalServers
 
const CServerInfo[] LocalServers_CurrentTitle
 
const CServerInfo GetServerInfo_Result
 
- Public Attributes inherited from CNod
const Ident 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

◆ 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

const Boolean CTitleControl::IsReady

Can a command be issued.

◆ LatestResult

const EResult CTitleControl::LatestResult

Result of the latest command issued.


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