ManiaScript Reference  2019-05
CManiaApp Struct Reference
Inheritance diagram for CManiaApp:
CNod CAnyEditorPlugin CManiaAppBase CManiaAppBrowser CManiaAppPlaygroundCommon CManiaAppTitle CMapEditorPlugin CEditorMainPlugin CBadgeEditor CManiaAppStation CManiaAppPlayground CModuleMenu CMapType CSmMapType CTmMapType

Public Types

enum  ELinkType { ExternalBrowser, ManialinkBrowser }
 

Public Member Functions

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

Detailed Description

Supported declare modes : Local Persistent API for Maniaplanet client scripts.

Member Enumeration Documentation

◆ ELinkType

Enumerator
ExternalBrowser 
ManialinkBrowser 

Member Function Documentation

◆ Dbg_DumpDeclareForVariables()

Text CManiaApp::Dbg_DumpDeclareForVariables ( CNod  Nod,
Boolean  StatsOnly 
)

◆ Dialog_Message()

Void CManiaApp::Dialog_Message ( Text  Message)

◆ LayerCustomEvent()

Void CManiaApp::LayerCustomEvent ( CUILayer  Layer,
Text  Type,
Text []  Data 
)

◆ OpenFileInExplorer()

Boolean CManiaApp::OpenFileInExplorer ( Text  FileName)

Explore to given file or folder. Returns False if it does not exist on the filesystem. (may be because it is in a pack)

◆ OpenLink()

Void CManiaApp::OpenLink ( Text  Url,
ELinkType  LinkType 
)

◆ UILayerCreate()

CUILayer CManiaApp::UILayerCreate ( )

◆ UILayerDestroy()

Void CManiaApp::UILayerDestroy ( CUILayer  Layer)

◆ UILayerDestroyAll()

Void CManiaApp::UILayerDestroyAll ( )

Member Data Documentation

◆ Audio

const CAudioManager CManiaApp::Audio

◆ DataFileMgr

const CDataFileMgr CManiaApp::DataFileMgr

◆ EnableMenuNavigationInputs

Boolean CManiaApp::EnableMenuNavigationInputs

◆ Http

const CHttpManager CManiaApp::Http

◆ Input

const CInputManager CManiaApp::Input

◆ IsVisible

const Boolean CManiaApp::IsVisible

◆ LayersDefaultManialinkVersion

Integer CManiaApp::LayersDefaultManialinkVersion

◆ LoadedTitle

const CTitle CManiaApp::LoadedTitle

◆ LocalUser

const CUser CManiaApp::LocalUser

◆ ManiaAppBaseUrl

const Text CManiaApp::ManiaAppBaseUrl

◆ ManiaAppUrl

const Text CManiaApp::ManiaAppUrl

◆ Now

const Integer CManiaApp::Now

◆ ScoreMgr

const CScoreMgr CManiaApp::ScoreMgr

◆ System

const CSystemPlatform CManiaApp::System

◆ UILayers

const CUILayer [] CManiaApp::UILayers

◆ UserMgr

const CUserV2Manager CManiaApp::UserMgr

◆ Video

const CVideoManager CManiaApp::Video

◆ Xml

const CParsingManager CManiaApp::Xml