ManiaScript Reference  2019-05
CManiaAppPlaygroundCommon Struct Reference
Inheritance diagram for CManiaAppPlaygroundCommon:
CManiaApp CNod CManiaAppPlayground

Public Member Functions

Void SplitScreenAssignLayer (CUILayer UILayer, Integer ScreenNum)
 
- Public Member Functions inherited from CManiaApp
CUILayer UILayerCreate ()
 
Void UILayerDestroy (CUILayer Layer)
 
Void UILayerDestroyAll ()
 
Void LayerCustomEvent (CUILayer Layer, Text Type, Text[] Data)
 
Void OpenLink (Text Url, ELinkType LinkType)
 
Boolean OpenFileInExplorer (Text FileName)
 
Void Dialog_Message (Text Message)
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 

Public Attributes

const CManiaAppPlaygroundEvent [] PendingEvents
 
const CPlaygroundClient Playground
 
const CMap Map
 
CUIConfig UI
 
CUIConfig ClientUI
 
const Integer SplitScreenCount
 
- Public Attributes inherited from CManiaApp
const Text ManiaAppUrl
 
const Text ManiaAppBaseUrl
 
const Integer Now
 
const Boolean IsVisible
 
Integer LayersDefaultManialinkVersion
 
const CUser LocalUser
 
const CTitle LoadedTitle
 
Boolean EnableMenuNavigationInputs
 
const CUILayer [] UILayers
 
const CParsingManager Xml
 
const CHttpManager Http
 
const CVideoManager Video
 
const CAudioManager Audio
 
const CInputManager Input
 
const CDataFileMgr DataFileMgr
 
const CScoreMgr ScoreMgr
 
const CUserV2Manager UserMgr
 
const CSystemPlatform System
 
- Public Attributes inherited from CNod
const Ident Id
 

Additional Inherited Members

- Public Types inherited from CManiaApp
enum  ELinkType { ExternalBrowser, ManialinkBrowser }
 

Detailed Description

Supported declare modes : Local Persistent API for game interface client scripts

Member Function Documentation

◆ SplitScreenAssignLayer()

Void CManiaAppPlaygroundCommon::SplitScreenAssignLayer ( CUILayer  UILayer,
Integer  ScreenNum 
)

Set a layer to be displayed on a subscreen. ScreenNum: 0=global, 1,2.... = screen index. Limitation: a local layer can only be one screen at a time.

Member Data Documentation

◆ ClientUI

CUIConfig CManiaAppPlaygroundCommon::ClientUI

Locally accessible by the client script to locally override settings from the server.

◆ Map

const CMap CManiaAppPlaygroundCommon::Map

◆ PendingEvents

const CManiaAppPlaygroundEvent [] CManiaAppPlaygroundCommon::PendingEvents

◆ Playground

const CPlaygroundClient CManiaAppPlaygroundCommon::Playground

◆ SplitScreenCount

const Integer CManiaAppPlaygroundCommon::SplitScreenCount

◆ UI

CUIConfig CManiaAppPlaygroundCommon::UI

(read-only) UI actually displayed, as defined by the server.