Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CManiaAppPlaygroundCommon Class Reference

API for game interface client scripts. More...

#include <doc.h>

Inheritance diagram for CManiaAppPlaygroundCommon:
[legend]

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)

Public Attributes

Array< CManiaAppPlaygroundEvent *const > PendingEvents
CPlaygroundClient *const Playground
CMap *const Map
CGhostManager *const GhostMgr
CUIConfigUI
CUIConfigClientUI
Integer const SplitScreenCount
CVoiceChatConfig *const VoiceChat
Public Attributes inherited from CManiaApp
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

Additional Inherited Members

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

Detailed Description

API for game interface client scripts.

Supported declare modes :

  • Local
  • Persistent

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.

◆ GhostMgr

CGhostManager* const CManiaAppPlaygroundCommon::GhostMgr

◆ Map

CMap* const CManiaAppPlaygroundCommon::Map

◆ PendingEvents

Array<CManiaAppPlaygroundEvent* const > CManiaAppPlaygroundCommon::PendingEvents

◆ Playground

CPlaygroundClient* const CManiaAppPlaygroundCommon::Playground

◆ SplitScreenCount

Integer const CManiaAppPlaygroundCommon::SplitScreenCount

◆ UI

CUIConfig* CManiaAppPlaygroundCommon::UI

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

◆ VoiceChat

CVoiceChatConfig* const CManiaAppPlaygroundCommon::VoiceChat

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