ManiaScript Trackmania 2020  30/10/2024
CManiaAppPlaygroundCommon Class Reference

API for game interface client scripts. More...

#include <2024_10_30.h>

Inheritance diagram for CManiaAppPlaygroundCommon:
CManiaApp CNod CManiaAppPlayground

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

Definition at line 18488 of file 2024_10_30.h.

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.

Definition at line 18513 of file 2024_10_30.h.

◆ GhostMgr

CGhostManager* const CManiaAppPlaygroundCommon::GhostMgr

Definition at line 18505 of file 2024_10_30.h.

◆ Map

CMap* const CManiaAppPlaygroundCommon::Map

Definition at line 18501 of file 2024_10_30.h.

◆ PendingEvents

Array<CManiaAppPlaygroundEvent* const > CManiaAppPlaygroundCommon::PendingEvents

Definition at line 18493 of file 2024_10_30.h.

◆ Playground

CPlaygroundClient* const CManiaAppPlaygroundCommon::Playground

Definition at line 18497 of file 2024_10_30.h.

◆ SplitScreenCount

Integer const CManiaAppPlaygroundCommon::SplitScreenCount

Definition at line 18517 of file 2024_10_30.h.

◆ UI

CUIConfig* CManiaAppPlaygroundCommon::UI

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

Definition at line 18509 of file 2024_10_30.h.

◆ VoiceChat

CVoiceChatConfig* const CManiaAppPlaygroundCommon::VoiceChat

Definition at line 18525 of file 2024_10_30.h.


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