ManiaScript Trackmania 2020  30/10/2024
CManiaApp Class Reference

API for Maniaplanet client scripts. More...

#include <2024_10_30.h>

Inheritance diagram for CManiaApp:
CNod CAnyEditorPlugin CGameModuleEditorBase CManiaAppBase CManiaAppBrowser CManiaAppPlaygroundCommon CManiaAppTitle CMapEditorPlugin CEditorMainPlugin CManiaAppStation CManiaAppPlayground CModuleMenu CMapType CSmMapType

Public Types

enum  ELinkType { ExternalBrowser, ManialinkBrowser }
 

Public Member Functions

CUILayer UILayerCreate ()
 
Void UILayerDestroy (CUILayer Layer)
 
Void UILayerDestroyAll ()
 
Void LayerCustomEvent (CUILayer Layer, Text Type, Array< Text > Data)
 
Void OpenLink (Text Url, CManiaApp::ELinkType LinkType)
 
Boolean OpenFileInExplorer (Text FileName)
 
Void Dialog_Message (Text Message)
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 
Ident TTS_Context_Enter (Integer Level)
 
Ident TTS_Context_Leave (Ident ContextId)
 
Void TTS_Context_Change (Ident ContextId, CMlControl Control)
 
Void TTS_Context_Change (Ident ContextId, Text Text, Boolean Translate)
 
Void TTS_Context_Read (Integer Level)
 
Void TTS_Context_Read (Ident ContextId)
 
Text FilterProfanities (Text TextToFilter)
 

Public Attributes

Text const ManiaAppUrl
 
Text const ManiaAppBaseUrl
 
Integer const Now
 
Boolean const IsVisible
 
Integer LayersDefaultManialinkVersion
 
CUser *const LocalUser
 
CTitle *const LoadedTitle
 
Boolean EnableMenuNavigationInputs
 
Array< CUILayer *const > UILayers
 
CParsingManager *const Xml
 
CHttpManager *const Http
 
CVideoManager *const Video
 
CAudioManager *const Audio
 
CInputManager *const Input
 
CDataFileMgr *const DataFileMgr
 
CScoreMgr *const ScoreMgr
 
CRankingsZoneMgr *const ZoneMgr
 
CTrackingMgr *const TrackingMgr
 
CUserV2Manager *const UserMgr
 
CWSNotificationManager *const WSNotificationMgr
 
CSystemPlatform *const System
 
Boolean TTS_Disabled
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

API for Maniaplanet client scripts.

Supported declare modes :

  • Local
  • Persistent

Definition at line 288 of file 2024_10_30.h.

Member Enumeration Documentation

◆ ELinkType

Enumerator
ExternalBrowser 
ManialinkBrowser 

Definition at line 293 of file 2024_10_30.h.

293  {
296  };

Member Function Documentation

◆ Dbg_DumpDeclareForVariables()

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

◆ Dialog_Message()

Void CManiaApp::Dialog_Message ( Text  Message)

◆ FilterProfanities()

Text CManiaApp::FilterProfanities ( Text  TextToFilter)

◆ LayerCustomEvent()

Void CManiaApp::LayerCustomEvent ( CUILayer  Layer,
Text  Type,
Array< 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,
CManiaApp::ELinkType  LinkType 
)

◆ TTS_Context_Change() [1/2]

Void CManiaApp::TTS_Context_Change ( Ident  ContextId,
CMlControl  Control 
)

◆ TTS_Context_Change() [2/2]

Void CManiaApp::TTS_Context_Change ( Ident  ContextId,
Text  Text,
Boolean  Translate 
)

◆ TTS_Context_Enter()

Ident CManiaApp::TTS_Context_Enter ( Integer  Level)

◆ TTS_Context_Leave()

Ident CManiaApp::TTS_Context_Leave ( Ident  ContextId)

◆ TTS_Context_Read() [1/2]

Void CManiaApp::TTS_Context_Read ( Ident  ContextId)

◆ TTS_Context_Read() [2/2]

Void CManiaApp::TTS_Context_Read ( Integer  Level)

◆ UILayerCreate()

CUILayer CManiaApp::UILayerCreate ( )

◆ UILayerDestroy()

Void CManiaApp::UILayerDestroy ( CUILayer  Layer)

◆ UILayerDestroyAll()

Void CManiaApp::UILayerDestroyAll ( )

Member Data Documentation

◆ Audio

CAudioManager* const CManiaApp::Audio

Definition at line 376 of file 2024_10_30.h.

◆ DataFileMgr

CDataFileMgr* const CManiaApp::DataFileMgr

Definition at line 384 of file 2024_10_30.h.

◆ EnableMenuNavigationInputs

Boolean CManiaApp::EnableMenuNavigationInputs

Definition at line 328 of file 2024_10_30.h.

◆ Http

CHttpManager* const CManiaApp::Http

Definition at line 368 of file 2024_10_30.h.

◆ Input

CInputManager* const CManiaApp::Input

Definition at line 380 of file 2024_10_30.h.

◆ IsVisible

Boolean const CManiaApp::IsVisible

Definition at line 312 of file 2024_10_30.h.

◆ LayersDefaultManialinkVersion

Integer CManiaApp::LayersDefaultManialinkVersion

Definition at line 316 of file 2024_10_30.h.

◆ LoadedTitle

CTitle* const CManiaApp::LoadedTitle

Definition at line 324 of file 2024_10_30.h.

◆ LocalUser

CUser* const CManiaApp::LocalUser

Definition at line 320 of file 2024_10_30.h.

◆ ManiaAppBaseUrl

Text const CManiaApp::ManiaAppBaseUrl

Definition at line 304 of file 2024_10_30.h.

◆ ManiaAppUrl

Text const CManiaApp::ManiaAppUrl

Definition at line 300 of file 2024_10_30.h.

◆ Now

Integer const CManiaApp::Now

Definition at line 308 of file 2024_10_30.h.

◆ ScoreMgr

CScoreMgr* const CManiaApp::ScoreMgr

Definition at line 388 of file 2024_10_30.h.

◆ System

CSystemPlatform* const CManiaApp::System

Definition at line 408 of file 2024_10_30.h.

◆ TrackingMgr

CTrackingMgr* const CManiaApp::TrackingMgr

Definition at line 396 of file 2024_10_30.h.

◆ TTS_Disabled

Boolean CManiaApp::TTS_Disabled

Definition at line 416 of file 2024_10_30.h.

◆ UILayers

Array<CUILayer* const > CManiaApp::UILayers

Definition at line 332 of file 2024_10_30.h.

◆ UserMgr

CUserV2Manager* const CManiaApp::UserMgr

Definition at line 400 of file 2024_10_30.h.

◆ Video

CVideoManager* const CManiaApp::Video

Definition at line 372 of file 2024_10_30.h.

◆ WSNotificationMgr

CWSNotificationManager* const CManiaApp::WSNotificationMgr

Definition at line 404 of file 2024_10_30.h.

◆ Xml

CParsingManager* const CManiaApp::Xml

Definition at line 364 of file 2024_10_30.h.

◆ ZoneMgr

CRankingsZoneMgr* const CManiaApp::ZoneMgr

Definition at line 392 of file 2024_10_30.h.


The documentation for this class was generated from the following file:
CManiaApp::ExternalBrowser
@ ExternalBrowser
Definition: 2024_10_30.h:294
CManiaApp::ManialinkBrowser
@ ManialinkBrowser
Definition: 2024_10_30.h:295