Trackmania ManiaScript Reference 2025.6.19.2137
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CMlScript Class Reference

This is the base Manialink page interface. More...

#include <doc.h>

Inheritance diagram for CMlScript:
[legend]

Public Types

enum  LinkType {
  ExternalBrowser , ManialinkBrowser , Goto , ExternalFromId ,
  ManialinkFromId , GotoFromId
}
 

Public Member Functions

Void Dbg_SetProcessed (CMlScriptEvent Event)
 
Boolean IsKeyPressed (Integer KeyCode)
 
Void EnableMenuNavigation (Boolean EnableInputs, Boolean WithAutoFocus, CMlControl AutoBackControl, Integer InputPriority)
 
Void EnableMenuNavigation (Boolean EnableInputs, Boolean WithAutoFocus, Boolean WithManualScroll, CMlControl AutoBackControl, Integer InputPriority)
 
Void OpenLink (Text Url, CMlScript::LinkType LinkType)
 
Void TriggerPageAction (Text ActionString)
 
Void SendCustomEvent (Text Type, Array< Text > Data)
 
Void PreloadImage (Text ImageUrl)
 
Void PreloadAll ()
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 
Text FilterProfanities (Text TextToFilter)
 

Public Attributes

CMlPage *const Page
 
Boolean const PageIsVisible
 
Boolean PageAlwaysUpdateScript
 
Integer const Now
 
Integer const Period
 
Integer const CurrentTime
 
CUser *const LocalUser
 
CTitle *const LoadedTitle
 
Array< CMlScriptEvent *const > PendingEvents
 
Boolean Dbg_WarnOnDroppedEvents
 
Real const MouseX
 
Real const MouseY
 
Boolean const MouseLeftButton
 
Boolean const MouseRightButton
 
Boolean const MouseMiddleButton
 
Boolean const KeyUp
 
Boolean const KeyDown
 
Boolean const KeyLeft
 
Boolean const KeyRight
 
Boolean const KeyReturn
 
Boolean const KeySpace
 
Boolean const KeyDelete
 
Boolean EnableMenuNavigationInputs
 
Boolean const IsMenuNavigationForeground
 
CParsingManager *const Xml
 
CHttpManager *const Http
 
CVideoManager *const Video
 
CAudioManager *const Audio
 
CInputManager *const Input
 
CDataFileMgr *const DataFileMgr
 
CScoreMgr *const ScoreMgr
 
CRankingsZoneMgr *const ZoneMgr
 
CUserV2Manager *const UserMgr
 
CAnimManager *const AnimMgr
 
CMenuSceneManager *const MenuSceneMgr
 
CSystemPlatform *const System
 
CWSNotificationManager *const WSNotificationMgr
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

This is the base Manialink page interface.

Supported declare modes :

  • Local
  • Persistent

Member Enumeration Documentation

◆ LinkType

Enumerator
ExternalBrowser 
ManialinkBrowser 
Goto 
ExternalFromId 
ManialinkFromId 
GotoFromId 

Member Function Documentation

◆ Dbg_DumpDeclareForVariables()

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

◆ Dbg_SetProcessed()

Void CMlScript::Dbg_SetProcessed ( CMlScriptEvent Event)

◆ EnableMenuNavigation() [1/2]

Void CMlScript::EnableMenuNavigation ( Boolean EnableInputs,
Boolean WithAutoFocus,
Boolean WithManualScroll,
CMlControl AutoBackControl,
Integer InputPriority )

◆ EnableMenuNavigation() [2/2]

Void CMlScript::EnableMenuNavigation ( Boolean EnableInputs,
Boolean WithAutoFocus,
CMlControl AutoBackControl,
Integer InputPriority )

◆ FilterProfanities()

Text CMlScript::FilterProfanities ( Text TextToFilter)

◆ IsKeyPressed()

Boolean CMlScript::IsKeyPressed ( Integer KeyCode)

◆ OpenLink()

Void CMlScript::OpenLink ( Text Url,
CMlScript::LinkType LinkType )

◆ PreloadAll()

Void CMlScript::PreloadAll ( )

◆ PreloadImage()

Void CMlScript::PreloadImage ( Text ImageUrl)

◆ SendCustomEvent()

Void CMlScript::SendCustomEvent ( Text Type,
Array< Text > Data )

Send a custom event to the owner of the layer.

◆ TriggerPageAction()

Void CMlScript::TriggerPageAction ( Text ActionString)

Member Data Documentation

◆ AnimMgr

CAnimManager* const CMlScript::AnimMgr

◆ Audio

CAudioManager* const CMlScript::Audio

◆ CurrentTime

Integer const CMlScript::CurrentTime

◆ DataFileMgr

CDataFileMgr* const CMlScript::DataFileMgr

◆ Dbg_WarnOnDroppedEvents

Boolean CMlScript::Dbg_WarnOnDroppedEvents

◆ EnableMenuNavigationInputs

Boolean CMlScript::EnableMenuNavigationInputs

◆ Http

CHttpManager* const CMlScript::Http

◆ Input

CInputManager* const CMlScript::Input

◆ IsMenuNavigationForeground

Boolean const CMlScript::IsMenuNavigationForeground

◆ KeyDelete

Boolean const CMlScript::KeyDelete

◆ KeyDown

Boolean const CMlScript::KeyDown

◆ KeyLeft

Boolean const CMlScript::KeyLeft

◆ KeyReturn

Boolean const CMlScript::KeyReturn

◆ KeyRight

Boolean const CMlScript::KeyRight

◆ KeySpace

Boolean const CMlScript::KeySpace

◆ KeyUp

Boolean const CMlScript::KeyUp

◆ LoadedTitle

CTitle* const CMlScript::LoadedTitle

◆ LocalUser

CUser* const CMlScript::LocalUser

Local user structure.

◆ MenuSceneMgr

CMenuSceneManager* const CMlScript::MenuSceneMgr

◆ MouseLeftButton

Boolean const CMlScript::MouseLeftButton

◆ MouseMiddleButton

Boolean const CMlScript::MouseMiddleButton

◆ MouseRightButton

Boolean const CMlScript::MouseRightButton

◆ MouseX

Real const CMlScript::MouseX

◆ MouseY

Real const CMlScript::MouseY

◆ Now

Integer const CMlScript::Now

◆ Page

CMlPage* const CMlScript::Page

◆ PageAlwaysUpdateScript

Boolean CMlScript::PageAlwaysUpdateScript

◆ PageIsVisible

Boolean const CMlScript::PageIsVisible

◆ PendingEvents

Array<CMlScriptEvent* const > CMlScript::PendingEvents

◆ Period

Integer const CMlScript::Period

◆ ScoreMgr

CScoreMgr* const CMlScript::ScoreMgr

◆ System

CSystemPlatform* const CMlScript::System

◆ UserMgr

CUserV2Manager* const CMlScript::UserMgr

◆ Video

CVideoManager* const CMlScript::Video

◆ WSNotificationMgr

CWSNotificationManager* const CMlScript::WSNotificationMgr

◆ Xml

CParsingManager* const CMlScript::Xml

◆ ZoneMgr

CRankingsZoneMgr* const CMlScript::ZoneMgr

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