ManiaScript  2019-10-10
The script language used in ManiaPlanet gaming system
Public Member Functions | Public Attributes | List of all members
CTmMlScriptIngame Struct Reference

#include <big.h>

Inheritance diagram for CTmMlScriptIngame:
CMlScriptIngame CMlScript CNod

Public Member Functions

Boolean ValidationGhost_IsVisible ()
 
Vec3 ValidationGhost_GetPosition ()
 
- Public Member Functions inherited from CMlScriptIngame
Void ShowCurChallengeCard ()
 
Void ShowModeHelp ()
 
Void CopyServerLinkToClipBoard ()
 
Void JoinTeam1 ()
 
Void JoinTeam2 ()
 
Void RequestSpectatorClient (Boolean Spectator)
 
Void SetSpectateTarget (Text Player)
 
Void ShowProfile (Text Player)
 
Void ShowInGameMenu ()
 
Void CloseInGameMenu (EInGameMenuResult Result)
 
Void CloseScoresTable ()
 
Void PlayUiSound (EUISound Sound, Integer SoundVariant, Real Volume)
 
- Public Member Functions inherited from CMlScript
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, LinkType LinkType)
 
Void TriggerPageAction (Text ActionString)
 
Void SendCustomEvent (Text Type, Text[] Data)
 
Void PreloadImage (Text ImageUrl)
 
Void PreloadAll ()
 
Text Dbg_DumpDeclareForVariables (CNod Nod, Boolean StatsOnly)
 

Public Attributes

const CTmMlPlayer InputPlayer
 
const CTmMlPlayer GUIPlayer
 
const CTmRaceClientEvent [] RaceEvents
 
const Integer NbLaps
 
const Boolean IndependantLaps
 
const CTmMlPlayer [] Players
 
const CTmScore [] Scores
 
const Integer [] ClanScores
 
Integer CurPlayerCamera
 
Integer SpectatorTimeshift
 
const Vec3 MapStartLinePos
 
const Vec3 [] MapCheckpointPos
 
const Vec3 [] MapFinishLinePos
 
const Boolean MapIsLapRace
 
const Integer MapNbLaps
 
- Public Attributes inherited from CMlScriptIngame
const Integer GameTime
 
const CPlaygroundClient Playground
 
CUIConfig UI
 
CUIConfig ClientUI
 
const Boolean IsSpectator
 
const Boolean IsSpectatorClient
 
const Boolean UseClans
 
const Boolean UseForcedClans
 
const CManiaAppPlaygroundCommon ParentApp
 
const CMap Map
 
const CTeam [] Teams
 
const Boolean IsInGameMenuDisplayed
 
const Text CurrentServerLogin
 
const Text CurrentServerName
 
const Text CurrentServerDesc
 
const Text CurrentServerJoinLink
 
const Text CurrentServerModeName
 
const Integer SplitScreenNum
 
const Integer SplitScreenCount
 
const CAchievementsManager AchievementsManager
 
- Public Attributes inherited from CMlScript
const CMlPage Page
 
const Boolean PageIsVisible
 
Boolean PageAlwaysUpdateScript
 
const Integer Now
 
const Integer Period
 
const Integer CurrentTime
 
const CUser LocalUser
 
const CTitle LoadedTitle
 
const CMlScriptEvent [] PendingEvents
 
Boolean Dbg_WarnOnDroppedEvents
 
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 CParsingManager Xml
 
const CHttpManager Http
 
const CVideoManager Video
 
const CAudioManager Audio
 
const CInputManager Input
 
const CDataFileMgr DataFileMgr
 
const CScoreMgr ScoreMgr
 
const CAnimManager AnimMgr
 
const CSystemPlatform System
 
- Public Attributes inherited from CNod
const Ident Id
 

Additional Inherited Members

- Public Types inherited from CMlScriptIngame
enum  EUISound {
  Default, Silence, StartMatch, EndMatch,
  StartRound, EndRound, PhaseChange, TieBreakPoint,
  TiePoint, VictoryPoint, Capture, TimeOut,
  Notice, Warning, PlayerEliminated, PlayerHit,
  Checkpoint, Finish, Record, ScoreProgress,
  RankChange, Bonus, FirstHit, Combo,
  PlayersRemaining, Custom1, Custom2, Custom3,
  Custom4
}
 
enum  EInGameMenuResult {
  Resume, Quit, NormalMenu, AdvancedMenu,
  ServerSettings
}
 
- Public Types inherited from CMlScript
enum  LinkType {
  ExternalBrowser, ManialinkBrowser, Goto, ExternalFromId,
  ManialinkFromId, GotoFromId
}
 

Detailed Description

Supported declare modes : Local Persistent Trackmania race API for Manialink scripts

Member Function Documentation

◆ ValidationGhost_GetPosition()

Vec3 CTmMlScriptIngame::ValidationGhost_GetPosition ( )

◆ ValidationGhost_IsVisible()

Boolean CTmMlScriptIngame::ValidationGhost_IsVisible ( )

Member Data Documentation

◆ ClanScores

const Integer [] CTmMlScriptIngame::ClanScores

◆ CurPlayerCamera

Integer CTmMlScriptIngame::CurPlayerCamera

◆ GUIPlayer

const CTmMlPlayer CTmMlScriptIngame::GUIPlayer

◆ IndependantLaps

const Boolean CTmMlScriptIngame::IndependantLaps

◆ InputPlayer

const CTmMlPlayer CTmMlScriptIngame::InputPlayer

◆ MapCheckpointPos

const Vec3 [] CTmMlScriptIngame::MapCheckpointPos

You can use MapCheckpointPos.count to get the number of checkpoints.

◆ MapFinishLinePos

const Vec3 [] CTmMlScriptIngame::MapFinishLinePos

◆ MapIsLapRace

const Boolean CTmMlScriptIngame::MapIsLapRace

◆ MapNbLaps

const Integer CTmMlScriptIngame::MapNbLaps

◆ MapStartLinePos

const Vec3 CTmMlScriptIngame::MapStartLinePos

◆ NbLaps

const Integer CTmMlScriptIngame::NbLaps

◆ Players

const CTmMlPlayer [] CTmMlScriptIngame::Players

◆ RaceEvents

const CTmRaceClientEvent [] CTmMlScriptIngame::RaceEvents

◆ Scores

const CTmScore [] CTmMlScriptIngame::Scores

◆ SpectatorTimeshift

Integer CTmMlScriptIngame::SpectatorTimeshift

When in spectator mode, show the scene as it was in the past to enable doing 'instant replays'.


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