Trackmania ManiaScript Reference 2024.9.17.1117
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 Function Documentation

◆ SendCustomEvent()

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

Send a custom event to the owner of the layer.

Member Data Documentation

◆ LocalUser

CUser* const CMlScript::LocalUser

Local user structure.


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