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

API for Maniaplanet client scripts. More...

#include <doc.h>

Inheritance diagram for CManiaApp:
[legend]

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

Member Function Documentation

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


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