![]() |
ManiaScript Trackmania 2020
14/07/2025
|
API for GameModes Manialinks. More...
#include <2025_07_14.h>
Public Types | |
enum | EInGameMenuResult { Resume, Quit, NormalMenu, AdvancedMenu, ServerSettings } |
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 | LinkType { ExternalBrowser, ManialinkBrowser, Goto, ExternalFromId, ManialinkFromId, GotoFromId } |
API for GameModes Manialinks.
Supported declare modes :
Definition at line 10401 of file 2025_07_14.h.
Enumerator | |
---|---|
Resume | |
Quit | |
NormalMenu | |
AdvancedMenu | |
ServerSettings |
Definition at line 10406 of file 2025_07_14.h.
Definition at line 10416 of file 2025_07_14.h.
Void CMlScriptIngame::CloseInGameMenu | ( | CMlScriptIngame::EInGameMenuResult | Result | ) |
Void CMlScriptIngame::CloseScoresTable | ( | ) |
Void CMlScriptIngame::CopyServerLinkToClipBoard | ( | ) |
Void CMlScriptIngame::JoinTeam1 | ( | ) |
Void CMlScriptIngame::JoinTeam2 | ( | ) |
Void CMlScriptIngame::PlayUiSound | ( | CMlScriptIngame::EUISound | Sound, |
Integer | SoundVariant, | ||
Real | Volume | ||
) |
Request change of IsSpectatorClient (not immediate, and it may be refused).
Set the spectated player, but do not switch to spectator mode automatically. Equivalent to numpad1/2/3/4
Void CMlScriptIngame::ShowCurChallengeCard | ( | ) |
Void CMlScriptIngame::ShowInGameMenu | ( | ) |
Void CMlScriptIngame::ShowModeHelp | ( | ) |
CUIConfig* const CMlScriptIngame::ClientUI |
Locally accessible by the client script to locally override settings from the server.
Definition at line 10462 of file 2025_07_14.h.
Text CMlScriptIngame::CurrentServerDesc |
Definition at line 10550 of file 2025_07_14.h.
Text CMlScriptIngame::CurrentServerJoinLink |
Definition at line 10554 of file 2025_07_14.h.
Text CMlScriptIngame::CurrentServerLogin |
Definition at line 10542 of file 2025_07_14.h.
Text CMlScriptIngame::CurrentServerModeName |
Definition at line 10558 of file 2025_07_14.h.
Text CMlScriptIngame::CurrentServerName |
Definition at line 10546 of file 2025_07_14.h.
Integer CMlScriptIngame::GameTime |
Definition at line 10450 of file 2025_07_14.h.
Boolean CMlScriptIngame::IsInGameMenuDisplayed |
Definition at line 10538 of file 2025_07_14.h.
Boolean CMlScriptIngame::IsSpectator |
Is in spectator mode - may be only for a short time between rounds.
Definition at line 10466 of file 2025_07_14.h.
Boolean CMlScriptIngame::IsSpectatorClient |
Client actually desires to spectate instead of playing.
Definition at line 10470 of file 2025_07_14.h.
CMap* const CMlScriptIngame::Map |
Definition at line 10486 of file 2025_07_14.h.
CManiaAppPlaygroundCommon* const CMlScriptIngame::ParentApp |
Will be Null if the script is not runing in a layer of an app.
Definition at line 10482 of file 2025_07_14.h.
CPlaygroundClient* const CMlScriptIngame::Playground |
Definition at line 10454 of file 2025_07_14.h.
Integer CMlScriptIngame::SplitScreenCount |
Definition at line 10566 of file 2025_07_14.h.
Boolean CMlScriptIngame::SplitScreenIsHorizontal |
Definition at line 10570 of file 2025_07_14.h.
Integer CMlScriptIngame::SplitScreenNum |
Definition at line 10562 of file 2025_07_14.h.
Definition at line 10510 of file 2025_07_14.h.
CUIConfig const* const CMlScriptIngame::UI |
(read-only) UI actually displayed, as defined by the server.
Definition at line 10458 of file 2025_07_14.h.
Boolean CMlScriptIngame::UseClans |
Definition at line 10474 of file 2025_07_14.h.
Boolean CMlScriptIngame::UseForcedClans |
Definition at line 10478 of file 2025_07_14.h.