![]() |
Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
|
API for game interface client scripts. More...
#include <doc.h>
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, 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) |
Additional Inherited Members | |
Public Types inherited from CManiaApp | |
| enum | ELinkType { ExternalBrowser , ManialinkBrowser } |
API for game interface client scripts.
Supported declare modes :
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.
| CUIConfig* CManiaAppPlaygroundCommon::ClientUI |
Locally accessible by the client script to locally override settings from the server.
| CGhostManager* const CManiaAppPlaygroundCommon::GhostMgr |
| CMap* const CManiaAppPlaygroundCommon::Map |
| Array<CManiaAppPlaygroundEvent* const > CManiaAppPlaygroundCommon::PendingEvents |
| CPlaygroundClient* const CManiaAppPlaygroundCommon::Playground |
| Integer const CManiaAppPlaygroundCommon::SplitScreenCount |
| CUIConfig* CManiaAppPlaygroundCommon::UI |
(read-only) UI actually displayed, as defined by the server.
| CVoiceChatConfig* const CManiaAppPlaygroundCommon::VoiceChat |