Script language used in ManiaPlanet
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes | List of all members
CMlScript Struct Reference

#include <big.h>

Inheritance diagram for CMlScript:
CNod CMlBrowser CMlScriptIngame CMlStation CSmMlScriptIngame CTmMlScriptIngame

Public Types

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

Public Member Functions

Boolean IsKeyPressed (Integer KeyCode)
Void EnableMenuNavigation (Boolean EnableInputs, Boolean WithAutoFocus, CMlControl AutoBackControl, Integer InputPriority)
Void OpenLink (Text Url, LinkType LinkType)
Void TriggerPageAction (Text ActionString)
Void SendCustomEvent (Text Type, Text[] Data)
Void PreloadImage (Text ImageUrl)

Public Attributes

const CMlPage Page
const Boolean PageIsVisible
const Integer Now
const Integer Period
const Integer CurrentTime
const Text CurrentTimeText
const Text CurrentLocalDateText
const CUser LocalUser
const CTitle LoadedTitle
const CMlEvent[] PendingEvents
const Real MouseX
const Real MouseY
const Boolean MouseLeftButton
const Boolean MouseRightButton
const Boolean MouseMiddleButton
const Boolean KeyUp
const Boolean KeyDown
const Boolean KeyLeft
const Boolean KeyRight
const Boolean KeyReturn
const Boolean KeySpace
const Boolean KeyDelete
Boolean EnableMenuNavigationInputs
const Boolean IsMenuNavigationForeground
const CXmlManager Xml
const CHttpManager Http
const CAudioManager Audio
- Public Attributes inherited from CNod
const Ident Id

Detailed Description

Supported declare modes : Local Persistent This is the base Manialink page interface.

Member Enumeration Documentation


Member Function Documentation

Void CMlScript::EnableMenuNavigation ( Boolean  EnableInputs,
Boolean  WithAutoFocus,
CMlControl  AutoBackControl,
Integer  InputPriority 
Boolean CMlScript::IsKeyPressed ( Integer  KeyCode)
Void CMlScript::OpenLink ( Text  Url,
LinkType  LinkType 
Void CMlScript::PreloadImage ( Text  ImageUrl)
Void CMlScript::SendCustomEvent ( Text  Type,
Text[]  Data 

Send a custom event to the ManiaApp owning the layer, no-op otherwise.

Void CMlScript::TriggerPageAction ( Text  ActionString)

Member Data Documentation

const CAudioManager CMlScript::Audio
const Text CMlScript::CurrentLocalDateText
const Integer CMlScript::CurrentTime
const Text CMlScript::CurrentTimeText
Boolean CMlScript::EnableMenuNavigationInputs
const CHttpManager CMlScript::Http
const Boolean CMlScript::IsMenuNavigationForeground
const Boolean CMlScript::KeyDelete
const Boolean CMlScript::KeyDown
const Boolean CMlScript::KeyLeft
const Boolean CMlScript::KeyReturn
const Boolean CMlScript::KeyRight
const Boolean CMlScript::KeySpace
const Boolean CMlScript::KeyUp
const CTitle CMlScript::LoadedTitle
const CUser CMlScript::LocalUser

Local user structure.

const Boolean CMlScript::MouseLeftButton
const Boolean CMlScript::MouseMiddleButton
const Boolean CMlScript::MouseRightButton
const Real CMlScript::MouseX
const Real CMlScript::MouseY
const Integer CMlScript::Now
const CMlPage CMlScript::Page
const Boolean CMlScript::PageIsVisible
const CMlEvent [] CMlScript::PendingEvents
const Integer CMlScript::Period
const CXmlManager CMlScript::Xml

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