TM Turbo  2016/03/25
TM Turbo docs
 All Classes Functions Variables
Turbo.h
1 class Void {};
2 class Integer{};
3 class Real{};
4 class Boolean{};
5 class Text{};
6 class Vec2{};
7 class Vec3{};
8 class Int3{};
9 class Ident{};
10 
15 struct CMlScript : public CNod {
16  enum LinkType {
17  ExternalBrowser,
18  ManialinkBrowser,
19  Goto,
20  ExternalFromId,
21  ManialinkFromId,
22  GotoFromId,
23  };
24  enum ESystemPlatform {
25  None,
26  Steam,
27  UPlay,
28  PS4,
29  XBoxOne,
30  };
31  enum ESystemSkuIdentifier {
32  Unknown,
33  EU,
34  US,
35  JP,
36  };
40  const CMlPage Page;
44  const Boolean PageIsVisible;
48  const Integer Now;
52  const Integer Period;
56  const Integer CurrentTime;
60  const Text CurrentTimeText;
64  const Text CurrentLocalDateText;
72  const CTitle LoadedTitle;
76  const ESystemPlatform SystemPlatform;
80  const ESystemSkuIdentifier SystemSkuIdentifier;
84  const CMlEvent[] PendingEvents;
88  Void Dbg_SetProcessed(CMlEvent Event);
92  Boolean Dbg_WarnOnDroppedEvents;
96  const Real MouseX;
100  const Real MouseY;
104  const Boolean MouseLeftButton;
108  const Boolean MouseRightButton;
112  const Boolean MouseMiddleButton;
116  const Boolean KeyUp;
120  const Boolean KeyDown;
124  const Boolean KeyLeft;
128  const Boolean KeyRight;
132  const Boolean KeyReturn;
136  const Boolean KeySpace;
140  const Boolean KeyDelete;
144  Boolean IsKeyPressed(Integer KeyCode);
148  Boolean EnableMenuNavigationInputs;
152  Void EnableMenuNavigation(Boolean EnableInputs,Boolean WithAutoFocus,CMlControl AutoBackControl,Integer InputPriority);
156  const Boolean IsMenuNavigationForeground;
160  Void OpenLink(Text Url,LinkType LinkType);
164  Void TriggerPageAction(Text ActionString);
168  const CXmlManager Xml;
172  const CHttpManager Http;
176  const CVideoManager Video;
180  const CAudioManager Audio;
184  const CInputManager Input;
188  const CDataMgr DataMgr;
192  const CScoreMgr ScoreMgr;
196  const CPrivilegeMgr PrivilegeMgr;
200  const CPresenceMgr PresenceMgr;
204  const CGamePluginInterfacesScript Plugins;
208  Void SendCustomEvent(Text Type,Text[] Data);
212  Void PreloadImage(Text ImageUrl);
216  Void PreloadAll();
220  Text Dbg_DumpDeclareForVariables(CNod Nod,Boolean StatsOnly);
221 };
222 
227 struct CMlEntry : public CMlControl {
228  enum ETextFormat {
229  Basic,
230  Script,
231  Password,
232  Newpassword,
233  };
237  Text Value;
241  Void StartEdition();
245  ETextFormat TextFormat;
249  Real Opacity;
253  Vec3 TextColor;
257  Real TextSizeReal;
261  Integer MaxLine;
265  Boolean AutoNewLine;
266 };
267 
272 struct CMlFileEntry : public CMlEntry {
276  const Text FullFileName;
277 };
278 
283 struct CMlTextEdit : public CMlControl {
284  enum EControlScriptEditorTextFormat {
285  Basic,
286  Script,
287  Password,
288  Newpassword,
289  };
293  Text Value;
297  Void StartEdition();
301  Integer MaxLine;
305  Boolean AutoNewLine;
309  Boolean ShowLineNumbers;
313  Real LineSpacing;
317  const Integer ValueLineCount;
321  Real Opacity;
325  Vec3 TextColor;
329  Real TextSizeReal;
333  EControlScriptEditorTextFormat TextFormat;
334 };
335 
340 struct CMlLabel : public CMlControl {
341  enum EBlendMode {
342  Default,
343  Add,
344  };
348  Text Style;
352  Text Substyle;
356  Text TextFont;
360  Void SetText(Text NewText);
364  Text Value;
368  const Integer ValueLineCount;
372  Integer MaxLine;
376  Real LineSpacing;
380  Boolean AppendEllipsis;
384  Boolean AutoNewLine;
388  Real Opacity;
392  Vec3 TextColor;
396  Real TextSizeReal;
400  EBlendMode Blend;
404  Real ComputeWidth(Text Text);
408  Real ComputeWidth(Text Text,Boolean Translated);
412  Real ComputeHeight(Text Text);
413 };
414 
419 struct CMlMediaPlayer : public CMlControl {
423  Boolean IsInitPlay;
427  Boolean Music;
431  Boolean IsLooping;
435  Real Volume;
439  Text Url;
443  Void Play();
447  Void Stop();
451  Void StopAndRewind();
452 };
453 
458 struct CMlQuad : public CMlControl {
459  enum EKeepRatioMode {
460  Inactive,
461  Clip,
462  Fit,
463  };
464  enum EBlendMode {
465  Default,
466  Add,
467  };
471  Void ChangeImageUrl(Text fieldName);
475  CImage Image;
479  Text ImageUrl;
483  Text ImageUrlFocus;
487  Text Style;
491  Text Substyle;
495  Boolean StyleSelected;
499  const Boolean DownloadInProgress;
503  Vec3 Colorize;
507  Vec3 ModulateColor;
511  Vec3 BgColor;
515  Vec3 BgColorFocus;
519  Real Opacity;
523  EKeepRatioMode KeepRatio;
527  EBlendMode Blend;
528 };
529 
534 struct CMlGauge : public CMlControl {
538  Text Style;
542  Void SetRatio(Real NewRatio);
546  Void SetClan(Integer NewClan);
558  Integer Clan;
562  Vec3 Color;
566  Boolean DrawBackground;
570  Boolean DrawBlockBackground;
574  Boolean CenteredBar;
575 };
576 
581 struct CMlGraph : public CMlControl {
585  Vec2 CoordsMin;
589  Vec2 CoordsMax;
593  CMlGraphCurve AddCurve();
597  Void RemoveCurve(CMlGraphCurve Curve);
601  CMlGraphCurve[] Curves;
602 };
603 
608 struct CMlMinimap : public CMlControl {
612  Vec3 WorldPosition;
616  Vec2 MapPosition;
620  Real MapYaw;
628  Boolean Underground;
632  Void Fog_SetAll(Real Value);
636  Void Fog_ClearDisk(Vec3 WorldCenter,Real Radius,Real FadeSize);
637 };
638 
643 struct CMlCamera : public CMlControl {
644 };
645 
650 struct CMlBrowser : public CMlScript {
651  enum EBuddyAction {
652  Add,
653  Invite,
654  Remove,
655  };
656  enum EBuddyResult {
657  Ok,
658  Error,
659  NotFinished,
660  };
664  const CMap CurMap;
668  Void ShowCurMapCard();
672  const EBuddyResult BuddyDoResult;
676  const Text BuddyDoErrorMessage;
680  const CManiaAppBrowser ParentApp;
684  const Boolean IsInBrowser;
688  Void BrowserBack();
692  Void BrowserQuit();
696  Void BrowserHome();
700  Void BrowserReload();
704  Text BrowserFocusedFrameId;
708  Void SetLocalUserClubLink(Text ClubLink);
709 };
710 
715 struct CManiaApp : public CNod {
716  enum ELinkType {
717  ExternalBrowser,
718  ManialinkBrowser,
719  };
720  enum EAnimManagerEasing {
721  Linear,
722  QuadIn,
723  QuadOut,
724  QuadInOut,
725  CubicIn,
726  CubicOut,
727  CubicInOut,
728  QuartIn,
729  QuartOut,
730  QuartInOut,
731  QuintIn,
732  QuintOut,
733  QuintInOut,
734  SineIn,
735  SineOut,
736  SineInOut,
737  ExpIn,
738  ExpOut,
739  ExpInOut,
740  CircIn,
741  CircOut,
742  CircInOut,
743  BackIn,
744  BackOut,
745  BackInOut,
746  ElasticIn,
747  ElasticOut,
748  ElasticInOut,
749  ElasticIn2,
750  ElasticOut2,
751  ElasticInOut2,
752  BounceIn,
753  BounceOut,
754  BounceInOut,
755  };
756  enum ESystemPlatform {
757  None,
758  Steam,
759  UPlay,
760  PS4,
761  XBoxOne,
762  };
763  enum ESystemSkuIdentifier {
764  Unknown,
765  EU,
766  US,
767  JP,
768  };
772  const Integer Now;
776  const Boolean IsVisible;
780  const Integer CurrentDate;
784  const Text CurrentLocalDateText;
788  Integer LayersDefaultManialinkVersion;
792  const CUser LocalUser;
796  const CTitle LoadedTitle;
800  const ESystemPlatform SystemPlatform;
804  const ESystemSkuIdentifier SystemSkuIdentifier;
808  Boolean EnableMenuNavigationInputs;
812  const CUILayer[] UILayers;
816  CUILayer UILayerCreate();
820  Void UILayerDestroy(CUILayer Layer);
824  Void UILayerDestroyAll();
828  Void LayerCustomEvent(CUILayer Layer,Text Type,Text[] Data);
832  Void OpenLink(Text Url,ELinkType LinkType);
836  const CXmlManager Xml;
840  const CHttpManager Http;
844  const CVideoManager Video;
848  const CAudioManager Audio;
852  const CInputManager Input;
856  const CDataMgr DataMgr;
860  const CScoreMgr ScoreMgr;
864  const CPrivilegeMgr PrivilegeMgr;
868  const CPresenceMgr PresenceMgr;
872  const CGameUserManagerScript UserMgr;
876  const CManiaPlanet ManiaPlanet;
880  const CGamePluginInterfacesScript Plugins;
884  Text Dbg_DumpDeclareForVariables(CNod Nod,Boolean StatsOnly);
885 };
886 
895  CManiaAppTitle ParentApp;
899  const CTitleFlow TitleFlow;
900 };
901 
905 struct CManiaAppEvent : public CNod {
906  enum EType {
907  LayerCustomEvent,
908  KeyPress,
909  ExternalCustomEvent,
910  MenuNavigation,
911  ChildModuleEvent,
912  ParentModuleEvent,
913  };
914  enum EMenuNavAction {
915  Up,
916  Right,
917  Left,
918  Down,
919  Select,
920  Cancel,
921  PageUp,
922  PageDown,
923  AppMenu,
924  Action1,
925  Action2,
926  };
930  const EType Type;
934  const CUILayer CustomEventLayer;
938  const Text CustomEventType;
942  const Text[] CustomEventData;
946  const Text ExternalEventType;
950  const Text[] ExternalEventData;
954  const CManiaApp ChildModuleEventModule;
958  const Text ChildModuleEventType;
962  const Text[] ChildModuleEventData;
966  const Text ParentModuleEventType;
970  const Text[] ParentModuleEventData;
974  const EMenuNavAction MenuNavAction;
978  const Boolean IsActionAutoRepeat;
982  const Integer KeyCode;
986  const Text KeyName;
987 };
988 
993 struct CManiaAppTitle : public CManiaApp {
997  const CManiaAppEvent[] PendingEvents;
1001  Void Menu_Quit();
1005  Void Menu_Home();
1009  Void Menu_Solo();
1013  Void Menu_Competitions();
1017  Void Menu_Local();
1021  Void Menu_Internet();
1025  Void Menu_Editor();
1029  Void Menu_Profile();
1033  Void PlayMap(Text Map);
1037  Boolean LoadingScreenRequireKeyPressed;
1041  Boolean DontScaleMainMenuForHMD;
1045  const CTitleFlow TitleFlow;
1049  const CGameScriptNotificationsConsumer Notifications;
1053  const Text ExternalRequest_Type;
1057  const Text[] ExternalRequest_Data;
1061  Void ExternalRequest_Clear();
1065  const CGameAchievementScriptManager AchievementsManager;
1069  CGameManagerBadgeScript BadgeManager;
1070 };
1071 
1077 };
1078 
1086  Void Hide();
1090  Void Hide(CPlayer Player);
1094  Void Show();
1098  Void Show(CPlayer Player);
1102  Boolean IsVisible(CPlayer Player);
1103 };
1104 
1112  Integer AddItem(CPlayer Player,Text ItemModelUrl,Integer Quantity);
1116  Integer RemoveItem(CPlayer Player,Text ItemModelUrl,Integer Quantity);
1120  Integer GetItemQuantity(CPlayer Player,Text ItemModelUrl);
1124  Boolean AddAction(CPlayer Player,Text ActionModelUrl);
1128  Boolean RemoveAction(CPlayer Player,Text ActionModelUrl);
1132  Boolean IsActionStored(CPlayer Player,Text ActionModelUrl);
1133 };
1134 
1142  Void Reset();
1146  Void SetMoney(CPlayer Player,Integer Amount);
1150  Integer GetMoney(CPlayer Player);
1154  Boolean AddMoney(CPlayer Player,Integer Amount);
1158  Boolean SubMoney(CPlayer Player,Integer Amount);
1162  Void SetActionLevel(CPlayer Player,Text ActionUrl,Integer ActionLevel);
1166  Integer GetActionLevel(CPlayer Player,Text ActionUrl);
1167 };
1168 
1172 struct CStation : public CNod {
1176  const CTitle Title;
1180  const Integer AudienceRegisteredUsers;
1184  const Integer CampaignMedalsMax;
1188  const Integer CampaignMedalsCurrent;
1192  const Integer CampaignMedalsRanking;
1196  const Real LadderPoints;
1200  const Integer LadderRank;
1201 };
1202 
1207 struct CMlStation : public CMlBrowser {
1211  const CStation Station;
1215  Void EnterStation();
1216 };
1217 
1222 struct CEditorPlugin : public CManiaApp {
1223  enum CardinalDirections {
1224  North,
1225  East,
1226  South,
1227  West,
1228  };
1229  enum PlaceMode {
1230  Unknown,
1231  Terraform,
1232  Block,
1233  Macroblock,
1234  Skin,
1235  CopyPaste,
1236  Test,
1237  Plugin,
1238  CustomSelection,
1239  OffZone,
1240  BlockProperty,
1241  Path,
1242  GhostBlock,
1243  Item,
1244  };
1245  enum EditMode {
1246  Unknown,
1247  Place,
1248  FreeLook,
1249  Erase,
1250  Pick,
1251  SelectionAdd,
1252  SelectionRemove,
1253  };
1254  enum ShadowsQuality {
1255  NotComputed,
1256  VeryFast,
1257  Fast,
1258  Default,
1259  High,
1260  Ultra,
1261  };
1262  enum ValidationStatus {
1263  NotValidable,
1264  Validable,
1265  Validated,
1266  };
1267  enum EditorStatus {
1268  Running,
1269  ChallengeType,
1270  Objectives,
1271  ToPlayground,
1272  ChangeEditor,
1273  Save,
1274  SaveSameId,
1275  ToPlaygroundRecordPath,
1276  QuickSave,
1277  QuickLoad,
1278  EditToolsMenu,
1279  Quit,
1280  QuickQuit,
1281  ReplayRemoveAllKeys,
1282  ReplaySave,
1283  ReplayQuit,
1284  ToAnim,
1285  ToItem,
1286  ToEditor,
1287  ToLayer,
1288  EditSequences,
1289  QuickEditInGameClipGroup,
1290  ComputeShadows,
1291  ComputeShadowsFromScript,
1292  ShootVideo,
1293  ShootScreen,
1294  Preview,
1295  EditBlock,
1296  EditBlockQuit,
1297  AdditionalToolsMenu,
1298  RecordGhost,
1299  SaveMacroblock,
1300  EditCameraEffectScript,
1301  SaveFromScript,
1302  CreatePluginScript,
1303  EditPluginScript,
1304  EditMapTypeScript,
1305  ReloadMapTypeScript,
1306  EditClipConfigScript,
1307  ChooseMapType,
1308  ClipExport,
1309  ChooseBlockSkin,
1310  Count,
1311  };
1315  const CEditorPluginEvent[] PendingEvents;
1319  const CMap Map;
1323  const Text MapName;
1327  const Boolean IsEditorReadyForRequest;
1331  Boolean HoldLoadingScreen;
1335  Void ComputeShadows();
1339  Void ComputeShadows(ShadowsQuality ShadowsQuality);
1343  const ShadowsQuality CurrentShadowsQuality;
1347  const Boolean IsUltraShadowsQualityAvailable;
1351  Void Undo();
1355  Void Redo();
1359  Void Help();
1363  Void Validate();
1367  Void AutoSave();
1371  Void Quit();
1375  Void QuickQuit();
1379  Void QuitAndSetResult(Text Type,Text[] Data);
1383  Void QuickQuitAndSetResult(Text Type,Text[] Data);
1387  Void TestMapFromStart();
1391  Void TestMapFromCoord(Int3 Coord,CardinalDirections Dir);
1395  Void TestMapFromCoordWithMapTypeScript(Int3 Coord,CardinalDirections Dir);
1399  Void TestMapWithMode(Text RulesModeName);
1403  Void SaveMap(Text FileName);
1407  Void SaveMap(Text FileName,Text Path);
1411  PlaceMode PlaceMode;
1415  EditMode EditMode;
1419  Boolean UndergroundMode;
1423  Boolean BlockStockMode;
1427  Int3 CursorCoord;
1431  CardinalDirections CursorDir;
1435  CBlockModel CursorBlockModel;
1439  CBlockModel CursorTerrainBlockModel;
1443  CMacroblockModel CursorMacroblockModel;
1447  Real CameraVAngle;
1451  Real CameraHAngle;
1455  Real CameraToTargetDistance;
1459  Vec3 CameraTargetPosition;
1463  const Vec3 CameraPosition;
1467  Real ThumbnailCameraVAngle;
1471  Real ThumbnailCameraHAngle;
1475  Real ThumbnailCameraRoll;
1479  Real ThumbnailCameraFovY;
1483  Vec3 ThumbnailCameraPosition;
1487  Boolean GetRaceCamera(Vec3 Position,Real Yaw,Real Pitch,Real Roll,Real FovY);
1491  Boolean EnableAirMapping;
1495  Boolean EnableMixMapping;
1499  Void RemoveAllBlocks();
1503  Void RemoveAllTerrain();
1507  Void RemoveAllOffZone();
1511  Void RemoveAllObjects();
1515  Void RemoveAll();
1519  Void RemoveAllBlocksAndTerrain();
1523  Void ShowCustomSelection();
1527  Void HideCustomSelection();
1531  Void CopyPaste_Copy();
1535  Void CopyPaste_Cut();
1539  Void CopyPaste_Remove();
1543  Void CopyPaste_SelectAll();
1547  Void CopyPaste_ResetSelection();
1551  Void OpenToolsMenu();
1555  Void EditMediatrackIngame();
1559  Void PreloadAllBlocks();
1563  Void PreloadAllItems();
1567  Boolean CanPlaceBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir,Boolean OnGround,Integer VariantIndex);
1571  Boolean PlaceBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir);
1575  Boolean CanPlaceBlock_NoDestruction(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir,Boolean OnGround,Integer VariantIndex);
1579  Boolean PlaceBlock_NoDestruction(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir);
1583  Boolean CanPlaceRoadBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1587  Boolean PlaceRoadBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1591  Boolean CanPlaceTerrainBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1595  Boolean PlaceTerrainBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1599  Boolean PlaceTerrainBlocks_NoDestruction(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1603  Boolean CanPlaceMacroblock(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1607  Boolean PlaceMacroblock(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1611  Boolean CanPlaceMacroblock_NoDestruction(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1615  Boolean PlaceMacroblock_NoDestruction(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1619  Boolean CanPlaceMacroblock_NoTerrain(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1623  Boolean PlaceMacroblock_NoTerrain(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1627  Boolean RemoveMacroblock(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1631  Boolean RemoveMacroblock_NoTerrain(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1635  CBlock GetBlock(Int3 Coord);
1639  Boolean IsBlockModelSkinnable(CBlockModel BlockModel);
1643  Integer GetNbBlockModelSkins(CBlockModel BlockModel);
1647  Text GetBlockModelSkinName(CBlockModel BlockModel,Integer SkinIndex);
1651  Integer GetBlockSkinIndex(CBlock Block);
1655  Void SetBlockSkinIndex(CBlock Block,Integer SkinIndex);
1659  Boolean OpenBlockSkinDialog(CBlock Block);
1663  Boolean RemoveBlock(Int3 Coord);
1667  Boolean RemoveTerrainBlocks(Int3 StartCoord,Int3 EndCoord);
1671  Integer GetBlockGroundHeight(CBlockModel BlockModel,Integer CoordX,Integer CoordZ,CardinalDirections Dir);
1675  Integer GetGroundHeight(Integer CoordX,Integer CoordZ);
1679  Int3 GetMouseCoordOnGround();
1683  Int3 GetMouseCoordAtHeight(Integer CoordY);
1687  CBlock GetStartLineBlock();
1691  Boolean RemoveItem(CAnchorData Item);
1695  Void CopyPaste_AddOrSubSelection(Int3 StartCoord,Int3 EndCoord);
1699  Boolean CopyPaste_Symmetrize();
1703  Void SaveMacroblock(CMacroblockModel MacroblockModel);
1707  CMacroblockModel GetMacroblockModelFromFilePath(Text MacroblockModelFilePath);
1711  CBlockModel GetTerrainBlockModelFromName(Text TerrainBlockModelName);
1715  CBlockModel GetBlockModelFromName(Text BlockModelName);
1719  Text GetMapStyle();
1723  Void SetMapStyle(Text MapStyle);
1727  const CItemAnchor[] Items;
1731  const Text[] MediatrackIngameClips;
1735  const Text[] MediatrackIngameIsScriptClips;
1739  Integer MediatrackIngameEditedClipIndex;
1743  const CBlock[] Blocks;
1747  const CBlockModel[] BlockModels;
1751  const CBlockModel[] TerrainBlockModels;
1755  const CMacroblockModel[] MacroblockModels;
1759  const CAnchorData[] AnchorData;
1763  Int3[] CustomSelectionCoords;
1767  Vec3 CustomSelectionRGB;
1771  Boolean EnableEditorInputsCustomProcessing;
1775  Boolean EnableCursorShowingWhenInterfaceIsFocused;
1779  Boolean HideEditorInterface;
1783  Boolean HideBlockHelpers;
1787  Boolean ShowPlacementGrid;
1795  const EditorStatus EditorStatus;
1823  const Boolean EditorInputIsDown_Menu;
1827  const Boolean EditorInputIsDown_SwitchToRace;
1831  const Boolean EditorInputIsDown_Undo;
1835  const Boolean EditorInputIsDown_Redo;
1839  const Boolean EditorInputIsDown_CursorUp;
1843  const Boolean EditorInputIsDown_CursorRight;
1847  const Boolean EditorInputIsDown_CursorDown;
1851  const Boolean EditorInputIsDown_CursorLeft;
1855  const Boolean EditorInputIsDown_CursorRaise;
1859  const Boolean EditorInputIsDown_CursorLower;
1863  const Boolean EditorInputIsDown_CursorTurn;
1867  const Boolean EditorInputIsDown_CursorPick;
1871  const Boolean EditorInputIsDown_CursorPlace;
1875  const Boolean EditorInputIsDown_CursorDelete;
1879  const Boolean EditorInputIsDown_CameraUp;
1883  const Boolean EditorInputIsDown_CameraRight;
1887  const Boolean EditorInputIsDown_CameraDown;
1891  const Boolean EditorInputIsDown_CameraLeft;
1895  const Boolean EditorInputIsDown_CameraZoomNext;
1899  const Boolean EditorInputIsDown_Camera0;
1903  const Boolean EditorInputIsDown_Camera1;
1907  const Boolean EditorInputIsDown_Camera3;
1911  const Boolean EditorInputIsDown_Camera7;
1915  const Boolean EditorInputIsDown_Camera9;
1919  const Boolean EditorInputIsDown_PivotChange;
1923  const Boolean EditorInputIsDown_CursorTurnSlightly;
1927  const Boolean EditorInputIsDown_CursorTurnSlightlyAntiClockwise;
1931  const Boolean EditorInputIsDown_IconUp;
1935  const Boolean EditorInputIsDown_IconRight;
1939  const Boolean EditorInputIsDown_IconDown;
1943  const Boolean EditorInputIsDown_IconLeft;
1947  const Boolean EditorInputIsDown_RemoveAll;
1951  const Boolean EditorInputIsDown_Save;
1955  const Boolean EditorInputIsDown_SaveAs;
1959  const Boolean EditorInputIsDown_MapStyle;
1963  const Boolean EditorInputIsDown_ClassicMapEditor;
1967  const Real CollectionSquareSize;
1971  const Real CollectionSquareHeight;
1975  const Integer CollectionGroundY;
1979  const ValidationStatus ValidationStatus;
1983  Text ManialinkText;
1987  const CMlPage ManialinkPage;
1988 };
1989 
1998  const CEditorPlugin Editor;
1999 };
2000 
2009  Void Leave();
2013  CBadge DisplayCurrentBadge;
2017  Vec2 DisplayPosN;
2021  Vec2 DisplaySize;
2025  Real DisplayFoV;
2041  Ident DisplayCurrentMeshId;
2045  const Ident[] MeshIds;
2049  Void MeshId_Next();
2053  Void MeshId_Previous();
2057  const CBadge[] Badges;
2061  CBadge BadgeCreate();
2065  Void BadgeDestroy(CBadge Badge);
2069  Void BadgeCopy(CBadge Source,CBadge Destination);
2073  Void BadgeReadFromProfile(CBadge Badge,Ident UserId);
2077  Void BadgeWriteToProfile(CBadge Badge,Ident UserId);
2078 };
2079 
2087  const Text BeatenLogin;
2091  const Text BeatenDisplayName;
2095  const Text ChallengeUid;
2099  const Text ChallengeName;
2103  const Integer RecordScore;
2107  const Integer RecordScoreBeaten;
2108 };
2109 
2114 struct CSmMode : public CMode {
2115  enum EWeapon {
2116  Laser,
2117  Rocket,
2118  Nucleus,
2119  Arrow,
2120  };
2121  enum EActionSlot {
2122  Slot_A,
2123  Slot_B,
2124  Slot_C,
2125  Slot_D,
2126  Slot_E,
2127  Slot_F,
2128  Slot_G,
2129  Slot_H,
2130  };
2131  enum EActionInput {
2132  Weapon,
2133  Movement,
2134  Activable1,
2135  Activable2,
2136  Activable3,
2137  Activable4,
2138  Consumable1,
2139  Consumable2,
2140  None,
2141  };
2142  enum EGameplay {
2143  Default,
2144  Mp3Beta0,
2145  };
2149  Integer StartTime;
2153  Integer EndTime;
2157  Integer SpawnInvulnerabilityDuration;
2161  Boolean UseClans;
2165  Boolean UseForcedClans;
2169  Boolean UsePvPCollisions;
2173  Boolean UsePvPWeapons;
2177  Boolean UseInterractiveScreensIn3d;
2181  Boolean UseLaserVsBullets;
2185  Boolean UseLaserSkewering;
2189  Boolean UsePlayerTagging;
2193  Boolean UseBeaconsWithRecipients;
2197  Boolean UseAmmoBonusOnHit;
2201  Boolean UseSameWallJump;
2205  Boolean UseDefaultActionEvents;
2209  Boolean UseAllies;
2213  Boolean UseAutoSpawnBots;
2217  Boolean UseAutoRespawnBots;
2221  Boolean WalkOnWall;
2225  Boolean UseAutoDiscardBotEvents;
2229  Boolean ForceNavMapsComputation;
2233  Integer GameplayVersion;
2237  EGameplay Gameplay;
2241  Boolean UseProtectClanmates;
2245  Real OffZoneRadius;
2249  Real OffZoneRadiusSpeed;
2253  Ident OffZoneCenterLandmarkId;
2257  const Integer PlayersNbTotal;
2261  const Integer PlayersNbAlive;
2265  const Integer PlayersNbDead;
2269  const Integer ClansNbTotal;
2273  const Integer ClansNbAlive;
2277  const Integer ClansNbDead;
2281  const Integer[] ClansNbPlayers;
2285  const Integer[] ClansNbPlayersAlive;
2289  const CSmPlayer[] Players;
2293  const CSmPlayer[] BotPlayers;
2297  const CSmPlayer[] Spectators;
2301  const CSmPlayer[] AllPlayers;
2305  const CSmModeEvent[] PendingEvents;
2309  const CSmMapBase[] MapBases;
2313  const CSmMapLandmark[] MapLandmarks;
2317  const CSmMapLandmark[] MapLandmarks_PlayerSpawn;
2321  const CSmMapLandmark[] MapLandmarks_Gauge;
2325  const CSmMapLandmark[] MapLandmarks_Sector;
2329  const CSmMapLandmark[] MapLandmarks_BotPath;
2333  const CSmMapLandmark[] MapLandmarks_BotSpawn;
2337  const CSmMapLandmark[] MapLandmarks_ObjectAnchor;
2341  const CSmMapLandmark[] MapLandmarks_Gate;
2345  const CSmScore[] Scores;
2349  Integer[] ClanScores;
2353  Void PassOn(CSmModeEvent Event);
2357  Void Discard(CSmModeEvent Event);
2361  Void SpawnPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CSmMapPlayerSpawn PlayerSpawn,Integer ActivationDate);
2365  Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CSmMapPlayerSpawn PlayerSpawn,Integer ActivationDate);
2369  Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CSmMapBotPath BotPath,Integer ActivationDate);
2373  Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CSmMapBotSpawn BotSpawn,Integer ActivationDate);
2377  Void SpawnBotPlayer(CSmPlayer Player,CSmPlayer Owner,Integer Armor,Vec3 Offset,Integer ActivationDate);
2381  Void UnspawnPlayer(CSmPlayer Player);
2385  Void ClearScores();
2389  Void SetPlayerClan(CSmPlayer Player,Integer ClanNum);
2393  Void SetPlayerWeapon(CSmPlayer Player,EWeapon DefaultWeapon,Boolean AutoSwitchWeapon);
2397  Void SetPlayerReloadAllWeapons(CSmPlayer Player,Boolean ReloadAllWeapons);
2401  Void SetPlayerAmmo(CSmPlayer Player,EWeapon Weapon,Integer Count);
2405  Integer GetPlayerAmmo(CSmPlayer Player,EWeapon Weapon);
2409  Void AddPlayerAmmo(CSmPlayer Player,EWeapon Weapon,Real DeltaCount);
2413  Void SetPlayerAmmoMax(CSmPlayer Player,EWeapon Weapon,Integer Count);
2417  Integer GetPlayerAmmoMax(CSmPlayer Player,EWeapon Weapon);
2421  Void AddPlayerArmor(CSmPlayer Victim,Integer DeltaArmor,CSmPlayer Shooter,Integer ShooterPoints);
2425  Void RemovePlayerArmor(CSmPlayer Victim,Integer DeltaArmor,CSmPlayer Shooter,Integer ShooterPoints);
2429  Integer GetWeaponNum(EWeapon Weapon);
2433  Boolean CanRespawnPlayer(CSmPlayer Player);
2437  Void RespawnPlayer(CSmPlayer Player);
2441  Void RespawnPlayer(CSmPlayer Player,CSmMapLandmark CheckpointLandmark);
2445  CSmPlayer CreateBotPlayer(Ident ModelId,Integer TeamNum);
2449  Void DestroyBotPlayer(CSmPlayer BotPlayer);
2453  Void DestroyAllBotPlayers();
2457  Void ScriptedBot_Move(CSmPlayer BotPlayer,Vec3 Goal);
2461  Void ScriptedBot_MoveDelta(CSmPlayer BotPlayer,Vec3 Delta);
2465  Void ScriptedBot_MoveAndAim(CSmPlayer BotPlayer,Vec3 Goal);
2469  Void ScriptedBot_MoveDeltaAndAim(CSmPlayer BotPlayer,Vec3 Delta);
2473  Void ScriptedBot_Aim(CSmPlayer BotPlayer,Vec3 Goal);
2477  Void ScriptedBot_AimDelta(CSmPlayer BotPlayer,Real DeltaYaw,Real DeltaPitch);
2481  Void ScriptedBot_RequestAction(CSmPlayer BotPlayer);
2485  Void ScriptedBot_RequestGunTrigger(CSmPlayer BotPlayer);
2489  Void ActionLoad(CSmPlayer Player,EActionSlot ActionSlot,Ident ModelId);
2493  Void ActionBind(CSmPlayer Player,EActionSlot ActionSlot,EActionInput ActionInput);
2497  Void ActionSetVariant(CSmPlayer Player,EActionSlot ActionSlot,Integer ActionVariant);
2501  Void SetNbFakePlayers(Integer NbClan1,Integer NbClan2);
2505  const CSmObject[] Objects;
2509  CSmObject ObjectCreate(Ident ModelId);
2513  Void ObjectDestroy(CSmObject Object);
2517  Void ObjectDestroyAll();
2521  Void Replay_SaveAttackScore(CSmPlayer Player,Integer Score);
2525  Void Replay_SaveDefenseScore(CSmPlayer Player,Integer Score);
2529  Void Replay_SaveTeamScore(Integer Team,Integer Score);
2533  Void Replay_SavePlayerOfInterest(CSmPlayer Player);
2537  Void Replay_SaveWinner(CSmPlayer Player);
2541  Void Replay_SaveInterface();
2542 };
2543 
2552  const Integer ArenaNow;
2556  const CSmPlayer InputPlayer;
2560  const CSmPlayer GUIPlayer;
2564  const CSmPlayer[] Players;
2568  const CSmScore[] Scores;
2572  const Integer[] ClanScores;
2576  Boolean HideResumePlayingButton;
2580  const CSmMapBase[] MapBases;
2584  const CSmMapLandmark[] MapLandmarks;
2588  const CSmMapLandmark[] MapLandmarks_PlayerSpawn;
2592  const CSmMapLandmark[] MapLandmarks_Gauge;
2596  const CSmMapLandmark[] MapLandmarks_Sector;
2600  const CSmMapLandmark[] MapLandmarks_BotPath;
2604  const CSmMapLandmark[] MapLandmarks_BotSpawn;
2608  const CSmMapLandmark[] MapLandmarks_ObjectAnchor;
2612  const CSmMapLandmark[] MapLandmarks_Gate;
2613 };
2614 
2619 struct CSmAction : public CNod {
2623  const Integer Now;
2627  const Integer Variant;
2631  CSmPlayer[] Players;
2635  CSmPlayer Owner;
2639  const Boolean IsActive;
2643  const Boolean IsBound;
2647  Integer Energy;
2651  Integer EnergyMax;
2655  Integer EnergyCost;
2659  Boolean EnergyReload;
2663  const CSmActionEvent[] PendingEvents;
2667  Void SendRulesEvent(Text Param1,Text[] Param2,CSmPlayer Shooter,CSmPlayer Victim);
2671  Void SendRulesEvent(Text Param1,Text[] Param2,CSmPlayer Shooter,CSmPlayer Victim,CSmObject Object);
2675  Ident GetAnimModelId(Text ModelName);
2679  Void PlayAnimOnPlayer(Ident AnimModelId,CSmPlayer Player);
2683  Void PlayAnimAtPosition(Ident AnimModelId,Vec3 Position,Vec3 Direction);
2687  Ident GetProjectileModelId(Text ModelName);
2691  Void CreateProjectile(CSmPlayer PlayerToIgnore,Ident ProjectileModelId,Vec3 InitialPosition,Vec3 InitialDirection,Vec3 InitialVelocity);
2695  Void CreateProjectile(CSmPlayer PlayerToIgnore,Ident ProjectileModelId,Vec3 InitialPosition,Vec3 InitialDirection,Vec3 InitialVelocity,Integer ContextId);
2699  Void CreateShoot(CSmPlayer Shooter,Ident ProjectileModelId);
2703  Void CreateShoot(CSmPlayer Shooter,Ident ProjectileModelId,Integer ContextId);
2707  Integer Cooldown;
2711  Boolean Cooldown_IsReady(Integer Now);
2715  Void Cooldown_Start();
2719  Boolean IsJumping;
2723  Boolean IsGliding;
2727  Boolean IsAttractor;
2731  Boolean IsFlying;
2735  Boolean IsSliding;
2739  Boolean IsRunning;
2743  Boolean IsFrozen;
2747  Boolean IsSneaking;
2751  Boolean IsFreeLooking;
2755  Boolean HasNoPlayerCollision;
2756 };
2757 
2762 struct CSmMapType : public CMapType {
2766  const CSmMode Mode;
2770  const CSmPlayer[] AllPlayers;
2774  const CSmPlayer[] Players;
2775 };
2776 
2785  const CTmMlPlayer InputPlayer;
2789  const CTmMlPlayer GUIPlayer;
2793  const CTmRaceClientEvent[] RaceEvents;
2797  const Integer NbLaps;
2801  const Boolean IndependantLaps;
2805  const CTmMlPlayer[] Players;
2809  const CTmScore[] Scores;
2813  const Integer[] ClanScores;
2817  const Integer SplitScreenNum;
2821  const Integer SplitScreenCount;
2825  Integer CurPlayerCamera;
2829  const Vec3 MapStartLinePos;
2837  const Vec3[] MapFinishLinePos;
2841  const Boolean MapIsLapRace;
2845  const Integer MapNbLaps;
2846 };
2847 
2852 struct CTmMode : public CMode {
2853  enum ETmScoreSortOrder {
2854  TotalPoints,
2855  BestRace_Time,
2856  BestRace_Stunts,
2857  BestRace_NbRespawns,
2858  BestRace_CheckpointsProgress,
2859  PrevRace_Time,
2860  Name,
2861  LadderRankSortValue,
2862  };
2863  enum ETMRespawnBehaviour {
2864  Normal,
2865  DoNothing,
2866  GiveUpBeforeFirstCheckPoint,
2867  AlwaysGiveUp,
2868  };
2869  enum ETmRaceChronoBehaviour {
2870  Auto,
2871  Hidden,
2872  CountDown,
2873  Normal,
2874  };
2875  enum EPersonalGhost {
2876  Disabled,
2877  Latest,
2878  FastestRace,
2879  };
2883  const CTmPlayer[] AllPlayers;
2887  const CTmPlayer[] Spectators;
2891  const CTmPlayer[] Players;
2895  const CTmPlayer[] PlayersRacing;
2899  const CTmPlayer[] PlayersWaiting;
2903  const CTmScore[] Scores;
2907  Integer Clan1Score;
2911  Integer Clan2Score;
2915  Integer[] ClanScores;
2919  const Integer ClansNbTotal;
2923  const Integer[] ClansNbPlayers;
2927  const CTmModeEvent[] PendingEvents;
2931  Void PassOn(CTmModeEvent Event);
2935  Void Discard(CTmModeEvent Event);
2939  Void SpawnPlayer(CTmPlayer Player,Integer ClanNum,Integer RaceStartTime);
2943  Void UnspawnPlayer(CTmPlayer Player);
2947  Void SetPlayerClan(CTmPlayer Player,Integer ClanNum);
2951  Void Scores_Sort(ETmScoreSortOrder SortOrder);
2955  Void Scores_Clear();
2959  Void Ladder_ComputeRank(ETmScoreSortOrder SortOrder);
2963  Integer CutOffTimeLimit;
2967  Integer NbLaps;
2971  Boolean IndependantLaps;
2975  Boolean UseClans;
2979  Boolean UseForcedClans;
2983  ETMRespawnBehaviour RespawnBehaviour;
2987  Boolean UiRounds;
2991  Boolean UiLaps;
2995  Boolean UiStuntsMode;
2999  Boolean UiDisplayStuntsNames;
3003  Boolean UiDisableHelpMessage;
3007  Integer UiScoresPointsLimit;
3011  ETmRaceChronoBehaviour UiRaceChrono;
3015  Void Cheats_Reset();
3019  Boolean EnableCollisions;
3023  Boolean EnableScaleCar;
3027  Boolean EnableCheckpointBonus;
3031  Boolean EnableUniqueCamera;
3035  Boolean EnableBonusEvents;
3039  Boolean HideOpponents;
3043  Integer ForceMaxOpponents;
3047  Boolean EnableLegacyXmlRpcCallbacks;
3051  Boolean MedalGhost_ShowGold;
3055  Boolean MedalGhost_ShowSilver;
3059  Boolean MedalGhost_ShowBronze;
3063  EPersonalGhost PersonalGhost;
3067  Ident RaceGhost_Add(CGhost Ghost,Boolean DisplayAsPlayerBest);
3071  Ident RaceGhost_AddWithOffset(CGhost Ghost,Integer OffsetMs);
3075  Ident RaceGhost_Add(CGhost Ghost,Boolean DisplayAsPlayerBest,Ident ModelId);
3079  Void RaceGhost_Remove(Ident GhostInstId);
3083  Void RaceGhost_RemoveAll();
3087  Integer RaceGhost_GetStartTime(Ident GhostInstId);
3091  Integer RaceGhost_GetCurCheckpoint(Ident GhostInstId);
3095  Integer RaceGhost_GetCheckpointTime(Ident GhostInstId,Integer Checkpoint);
3099  Boolean RaceGhost_IsReplayOver(Ident GhostInstId);
3103  Boolean OnlineRecordEnabled;
3107  const Vec3 MapStartLinePos;
3115  const Vec3[] MapFinishLinePos;
3119  const Boolean MapIsLapRace;
3123  const Integer MapNbLaps;
3124 };
3125 
3130 struct CTmMapType : public CMapType {
3134  const CTmMode Mode;
3138  Void TMObjective_SetFromBestRace(CTmScore Score);
3142  const CTmPlayer[] AllPlayers;
3146  const CTmPlayer[] Players;
3147 };
3148 
3152 struct CNod {
3156  const Ident Id;
3157 };
3158 
3163 struct CMlPage : public CNod {
3167  const CMlFrame MainFrame;
3171  CMlControl GetFirstChild(Text ControlId);
3175  Boolean LinksInhibited;
3179  Void GetClassChildren(Text Class,CMlFrame Frame,Boolean Recursive);
3183  const CMlControl[] GetClassChildren_Result;
3184 };
3185 
3190 struct CUser : public CNod {
3191  enum EEchelon {
3192  None,
3193  Bronze1,
3194  Bronze2,
3195  Bronze3,
3196  Silver1,
3197  Silver2,
3198  Silver3,
3199  Gold1,
3200  Gold2,
3201  Gold3,
3202  };
3203  enum ETagType {
3204  Bronze,
3205  Silver,
3206  Gold,
3207  Nadeo,
3208  };
3209  enum EStereoDisplayMode {
3210  None,
3211  Stereo,
3212  HMD,
3213  };
3214  enum EMuteSetting {
3215  Auto,
3216  Muted,
3217  NotMuted,
3218  };
3222  const Text Login;
3226  const Text Name;
3230  const Text AvatarUrl;
3234  const Text ZonePath;
3238  const Text ZoneFlagUrl;
3242  const Text CountryFlagUrl;
3246  const Text Language;
3250  const Text Description;
3254  const Vec3 Color;
3258  const Text ClubLink;
3262  const Text BroadcastTVLogin;
3266  const Text SteamUserId;
3270  const Integer FameStars;
3274  const EEchelon Echelon;
3278  const Integer NextEchelonPercent;
3282  const Boolean IsBeginner;
3286  const Integer LadderRank;
3290  const Integer LadderTotal;
3294  const Real LadderPoints;
3298  const Text LadderZoneName;
3302  const Text LadderZoneFlagUrl;
3306  const Boolean IsFakeUser;
3310  const Integer[] Tags_Favored_Indices;
3314  const Text[] Tags_Id;
3318  const ETagType[] Tags_Type;
3322  const Text[] Tags_Comments;
3326  const Text[] Tags_Deliverer;
3330  const Boolean VoiceChat_Supported;
3334  EMuteSetting VoiceChat_MuteSetting;
3338  const Boolean VoiceChat_IsSpeaking;
3342  const Boolean VoiceChat_IsMuted;
3346  const Boolean IsConnectedToMasterServer;
3350  const Text[] AlliesConnected;
3354  const EStereoDisplayMode StereoDisplayMode;
3358  Boolean HackCamHmdDisabled;
3359  enum PlayerType {
3360  Human,
3361  Fake (not net),
3362  Net,
3363  Replay,
3364  };
3365  enum SpectatorMode {
3366  Void,
3367  Watcher,
3368  LocalWatcher,
3369  Target,
3370  };
3371 };
3372 
3377 struct CTitle : public CNod {
3381  const Text TitleId;
3385  const Text BaseTitleId;
3389  const Text Name;
3393  const Text Desc;
3397  const Text InfoUrl;
3401  const Text DownloadUrl;
3405  const Text TitleVersion;
3406 };
3407 
3411 struct CMlEvent : public CNod {
3412  enum Type {
3413  KeyPress,
3414  MouseClick,
3415  MouseOver,
3416  MouseOut,
3417  EntrySubmit,
3418  MenuNavigation,
3419  PluginCustomEvent,
3420  };
3421  enum EMenuNavAction {
3422  Up,
3423  Right,
3424  Left,
3425  Down,
3426  Select,
3427  Cancel,
3428  PageUp,
3429  PageDown,
3430  AppMenu,
3431  Action1,
3432  Action2,
3433  };
3437  const Type Type;
3441  const Integer KeyCode;
3445  const Text KeyName;
3449  const Text CharPressed;
3453  const Text ControlId;
3457  const CMlControl Control;
3461  const EMenuNavAction MenuNavAction;
3465  const Boolean IsActionAutoRepeat;
3469  const Text CustomEventType;
3473  const Text[] CustomEventData;
3474 };
3475 
3479 struct CXmlManager : public CNod {
3483  CXmlDocument Create(Text Contents);
3487  CXmlDocument Create(Text Contents,Boolean GenerateText,Boolean GenerateTextRaw,Boolean GenerateTextResursive);
3491  Void Destroy(CXmlDocument Document);
3495  const CXmlDocument[] Documents;
3499  Integer DocumentsSlotsLimit;
3500 };
3501 
3505 struct CHttpManager : public CNod {
3513  CHttpRequest CreateGet(Text Url,Boolean UseCache);
3517  CHttpRequest CreateGet(Text Url,Boolean UseCache,Text AdditionalHeaders);
3521  CHttpRequest CreatePost(Text Url,Text Resource);
3525  CHttpRequest CreatePost(Text Url,Text Resource,Text AdditionalHeaders);
3529  Void Destroy(CHttpRequest Request);
3533  Boolean IsValidUrl(Text Url);
3537  const CHttpRequest[] Requests;
3541  const Integer SlotsAvailable;
3542 };
3543 
3547 struct CVideoManager : public CNod {
3551  CVideo CreateVideo(Text Url,Boolean IsLooping,Boolean AutoProcessing);
3555  Void DestroyVideo(CVideo Video);
3559  const CVideo[] Videos;
3560 };
3561 
3565 struct CAudioManager : public CNod {
3566  enum ELibSound {
3567  Alert,
3568  ShowDialog,
3569  HideDialog,
3570  ShowMenu,
3571  HideMenu,
3572  Focus,
3573  Valid,
3574  Start,
3575  Countdown,
3576  Victory,
3577  ScoreIncrease,
3578  Checkpoint,
3579  };
3583  CAudioSource CreateSound(Text Url);
3587  CAudioSource CreateSound(Text Url,Real VolumedB,Boolean IsMusic,Boolean IsLooping,Boolean IsSpatialized);
3591  Void DestroySound(CAudioSource Sound);
3595  const CAudioSource[] Sounds;
3599  CAudioSourceMusic CreateMusic(Text Url);
3603  Void DestroyMusic(CAudioSourceMusic Music);
3607  Void PlaySoundEvent(CAudioSource Sound,Real VolumedB);
3611  Void PlaySoundEvent(Text Url,Real VolumedB);
3615  Void PlaySoundEvent(ELibSound Sound,Integer SoundVariant,Real VolumedB);
3619  Void PlaySoundEvent(CAudioSource Sound,Real VolumedB,Integer Delay);
3623  Void PlaySoundEvent(Text Url,Real VolumedB,Integer Delay);
3627  Void PlaySoundEvent(ELibSound Sound,Integer SoundVariant,Real VolumedB,Integer Delay);
3631  Void PlaySoundEvent(CAudioSource Sound,Real VolumedB,Vec3 PanRadiusLfe);
3635  Void PlaySoundEvent(Text Url,Real VolumedB,Vec3 PanRadiusLfe);
3639  Void PlaySoundEvent(CAudioSource Sound,Real VolumedB,Vec3 PanRadiusLfe,Integer Delay);
3643  Void PlaySoundEvent(Text Url,Real VolumedB,Vec3 PanRadiusLfe,Integer Delay);
3647  Void ClearAllDelayedSoundsEvents();
3651  Boolean ForceEnableMusic;
3655  Real LimitMusicVolumedB;
3659  Real LimitSceneSoundVolumedB;
3663  Real LimitUiSoundVolumedB;
3664 };
3665 
3669 struct CInputManager : public CNod {
3670  enum EButton {
3671  Left,
3672  Right,
3673  Up,
3674  Down,
3675  A,
3676  B,
3677  X,
3678  Y,
3679  L1,
3680  R1,
3681  LeftStick,
3682  RightStick,
3683  Menu,
3684  View,
3685  LeftStick_Left,
3686  LeftStick_Right,
3687  LeftStick_Up,
3688  LeftStick_Down,
3689  RightStick_Left,
3690  RightStick_Right,
3691  RightStick_Up,
3692  RightStick_Down,
3693  L2,
3694  R2,
3695  None,
3696  };
3700  const CInputEvent[] PendingEvents;
3704  const Integer Now;
3708  const Integer Period;
3712  const CInputPad[] Pads;
3716  const Vec2 MousePos;
3720  const Boolean MouseLeftButton;
3724  const Boolean MouseRightButton;
3728  const Boolean MouseMiddleButton;
3732  Text GetPadButtonPlaygroundBinding(CInputPad Pad,EButton Button);
3736  Text GetPadButtonCurrentBinding(CInputPad Pad,EButton Button);
3740  Text GetPadButtonBinding(CInputPad Pad,EButton Button);
3744  Boolean ExclusiveMode;
3748  Boolean IsKeyPressed(Integer KeyCode);
3752  Integer Dbg_AutoRepeat_InitialDelay;
3756  Integer Dbg_AutoRepeat_Period;
3757 };
3758 
3762 struct CDataMgr : public CNod {
3763  enum EFileType {
3764  Map,
3765  Ghost,
3766  };
3767  enum EResult {
3768  NotStarted,
3769  Running,
3770  Cancelled,
3771  Finished_Ok,
3772  Error_MountRead,
3773  Error_MountWrite,
3774  Error_Delete,
3775  Error_NoUserRecords,
3776  Error_NoUserDataCache,
3777  Error_MasterServer,
3778  Error_FindOrAddFid,
3779  Error_DownloadPackDesc,
3780  Error_LoadFromFid,
3781  Error_FidNotLoadable,
3782  Error_BadFileType,
3783  Error_MedalGhostReplayFidNotFound,
3784  Error_MedalGhostNotFoundOnReplay,
3785  Error_SaveUserRecordsToFid,
3786  Error_FindFid,
3787  Error_SaveToFid,
3788  Error_UrlNotReachable,
3789  Error_EmptyUrl,
3790  Error_Internal,
3791  Error_NotEnoughSpace,
3792  };
3796  const CMapInfo[] Maps;
3800  const CHighScore[] Records;
3804  const CGhost[] Ghosts;
3808  const Boolean HasFreeSpaceForNewMap;
3812  const CImage MapThumbnail;
3816  Void MapFilterClear();
3820  Text MapFilterStartWithPath;
3824  Void DeleteFile(Text FileName);
3828  Void RetrieveNewFileName(Ident UserId,Text SlotName,EFileType FileType);
3832  Void GetNewMapEditionId(Ident UserId,Integer MinEditionId);
3836  Void RetrieveMapFileNameFromEditionId(Ident UserId,Text FileName);
3840  Void RetrieveUserFiles(Ident UserId,Text SlotName,EFileType FileType);
3844  Void RetrieveGameFiles(EFileType FileType);
3848  Void ClearFileList();
3852  Void LoadMapThumbnail(Integer MapIndex);
3856  Void UploadUserFile(Text PostUrl,Text MapName,Text Metadata);
3860  Void UploadUserFile(Text PostUrl,Text MapName,Text Metadata,Text AdditionalHeaders);
3864  Void QueryHasFreeSpaceForNewMap(Ident UserId);
3868  Void RetrieveRecords(CMapInfo MapInfo,Ident UserId);
3872  Void RetrieveRecordsNoMedals(Text MapUid,Ident UserId);
3876  Void StoreRecord(Text MapUid,Ident UserId,CGhost Ghost);
3880  Void StoreRecord(Text MapUid,Ident UserId,CGhost Ghost,Text GhostName);
3884  CGhost GhostRetrieve(Text GhostUrl);
3888  CGhost GhostRetrieveFromPlayer(CPlayer GamePlayer);
3892  CGhost GhostRetrieveFromTaskResult(CWebServicesTaskResult_GhostHandle TaskResult);
3896  Void GhostDestroy(CGhost Ghost);
3900  const Boolean Ready;
3904  const Boolean DoNotSwitchOff;
3908  const EResult LatestResult;
3912  const Ident MenuUserId;
3916  const Text NewFileName;
3920  const Integer MinEditionId;
3924  const Text MapFileNameFromEditionId;
3925 };
3926 
3930 struct CScoreMgr : public CNod {
3931  enum ELocalScoreStatus {
3932  None,
3933  Loading,
3934  NotLoaded,
3935  Loaded,
3936  };
3937  enum EMasterServerScoreStatus {
3938  None,
3939  Synchronizing,
3940  NotSynchronized,
3941  Synchronized,
3942  };
3950  Void ReleaseTaskResult(Ident TaskId);
3954  ELocalScoreStatus ScoreStatus_GetLocalStatus(Ident UserId);
3958  EMasterServerScoreStatus ScoreStatus_GetMasterServerStatus(Ident UserId);
3966  Integer Campaign_GetMapRecord(Ident UserId,Text MapUid);
3978  CWebServicesTaskResult_BuddiesChallengeRecord Campaign_GetBuddiesMapRecord(Ident UserId,Text MapUid);
3982  Boolean Campaign_IsBuddiesMapRecordDirty(Ident UserId,Text MapUid);
3986  CWebServicesTaskResult_BuddiesChallengeRecordsComparison Campaign_GetBuddiesMapRecordsComparison(Ident UserId);
3990  CWebServicesTaskResult_BuddyChallengeRecordsComparison Campaign_GetBuddyMapRecordsComparison(Ident UserId,Text OpponentLogin);
3994  Void Multiplayer_AddToScore(Ident UserId,Real ScoreDiff,Integer Timestamp);
4015 };
4016 
4020 struct CPrivilegeMgr : public CNod {
4021  enum EPrivilege {
4022  PlayMultiplayerMode,
4023  PlayMultiplayerSession,
4024  UploadUserCreatedContent,
4025  ViewOnlinePresence,
4026  ViewUserCreatedContent,
4027  ViewUserCreatedContentRequired,
4028  ViewUserGameHistory,
4029  VoiceChat,
4030  PlayMultiplayerAsync,
4031  DownloadUserCreatedContent,
4032  };
4040  Void ReleaseTaskResult(Ident TaskId);
4044  CWebServicesTaskResult CheckPrivilege(Ident UserId,EPrivilege Privilege);
4048  CWebServicesTaskResult CheckPrivilegeForAllUsers(EPrivilege Privilege);
4056  CWebServicesTaskResult_CheckTargetedPrivilegeResultScript CheckTargetedPrivilegeForAllUsers(EPrivilege Privilege);
4057 };
4058 
4062 struct CPresenceMgr : public CNod {
4063  enum ERichPresence {
4064  Undefined,
4065  MainMenu,
4066  Solo,
4067  Multi,
4068  Party,
4069  Create,
4070  };
4074  const CWebServicesTaskResult[] TaskResults;
4078  Void ReleaseTaskResult(Ident TaskId);
4082  Void SetPresence(Ident UserId,ERichPresence UplayFlow);
4087 };
4088 
4101 };
4102 
4107 struct CMlControl : public CNod {
4108  enum AlignHorizontal {
4109  Left,
4110  HCenter,
4111  Right,
4112  None,
4113  };
4114  enum AlignVertical {
4115  Top,
4116  VCenter,
4117  Bottom,
4118  None,
4119  VCenter2,
4120  };
4124  const Text ControlId;
4128  const Text[] ControlClasses;
4132  Boolean HasClass(Text Class);
4136  Vec2 Size;
4140  AlignHorizontal HorizontalAlign;
4144  AlignVertical VerticalAlign;
4148  Boolean Visible;
4152  Vec2 RelativePosition_V3;
4156  Real ZIndex;
4160  Real RelativeScale;
4164  Real RelativeRotation;
4168  const Vec2 AbsolutePosition_V3;
4172  const Real AbsoluteScale;
4176  const Real AbsoluteRotation;
4180  Boolean DataAttributeExists(Text DataName);
4184  Text DataAttributeGet(Text DataName);
4188  Void DataAttributeSet(Text DataName,Text DataValue);
4192  Void Show();
4196  Void Hide();
4200  Void Unload();
4204  Void Focus();
4208  const Boolean IsFocused;
4209 };
4210 
4214 struct CImage : public CPlug {
4215  enum ERenderTech {
4216  Unknown,
4217  Tech3,
4218  };
4219  enum ETexFilter {
4220  Point,
4221  Bilinear,
4222  Trilinear,
4223  Anisotropic,
4224  AnisoPoint,
4225  };
4226  enum ETexAddress {
4227  Wrap,
4228  Mirror,
4229  Clamp,
4230  BorderSM3,
4231  };
4232  enum EColorSpace {
4233  Linear,
4234  sRGB,
4235  };
4236  enum EVideoTimer {
4237  Game,
4238  Human,
4239  (External),
4240  Scene,
4241  Default,
4242  };
4243  enum EGenerateUV {
4244  NoGenerate,
4245  CameraVertex,
4246  WorldVertex,
4247  WorldVertexXY,
4248  WorldVertexXZ,
4249  WorldVertexYZ,
4250  CameraNormal,
4251  WorldNormal,
4252  CameraReflectionVector,
4253  WorldReflectionVector,
4254  WorldNormalNeg,
4255  WaterReflectionVector,
4256  Hack1Vertex,
4257  MapTexel DEPRECATED,
4258  FogPlane0,
4259  Vsk3SeaFoam,
4260  ImageSpace,
4261  LightDir0Reflect,
4262  EyeNormal,
4263  ShadowB1Pw01,
4264  Tex3AsPosPrCamera,
4265  FlatWaterReflect,
4266  FlatWaterRefract,
4267  FlatWaterFresnel,
4268  WorldPosXYblendZY,
4269  DisableVshOutput,
4270  };
4271  enum EUsage {
4272  Color,
4273  Light,
4274  Height->DuDv,
4275  Render,
4276  H->DuDvLumi,
4277  H->NormXYZ,
4278  H->NormXY,
4279  DepthCmp,
4280  DispH01,
4281  H->NormPal8b,
4282  NormXYZ,
4283  NormXY,
4284  NormPal8b,
4285  NormPal16b,
4286  ColorFloat,
4287  RenderFloat,
4288  H->DuDv1,
4289  Alpha,
4290  LightAlpha,
4291  H->NormX0ZY,
4292  NormX0ZY,
4293  TexCoord,
4294  Render16b,
4295  Vertex,
4296  H->BumpTxTy,
4297  BumpTxTy,
4298  H->Norm0YZX,
4299  Norm0YZX,
4300  Norm:XYZ->0YZX,
4301  Depth,
4302  SrgbL8->LinearL16,
4303  NormATI2N,
4304  NormXYZ->ATI2N,
4305  Color16b,
4306  SpecFIE->FI0E,
4307  SpecFI0E,
4308  };
4309  enum EColorDepth {
4310  DefaultColorDepth,
4311  Color16b,
4312  Color32b,
4313  };
4314  enum ECubeMapFace {
4315  None,
4316  XPos,
4317  XNeg,
4318  YPos,
4319  YNeg,
4320  ZPos,
4321  ZNeg,
4322  };
4323  enum EBumpCompressMode {
4324  None(32b),
4325  Pal8b,
4326  DXT1(4b),
4327  Pal16b,
4328  };
4329  enum EPixelUpdate {
4330  None,
4331  Render,
4332  Shader,
4333  DynaSpecular,
4334  Clear,
4335  RenderVideo,
4336  };
4337  enum EDynamic {
4338  Off,
4339  On,
4340  On 2 Buffers,
4341  };
4342  enum ENormalRotate {
4343  None,
4344  +x +z -y,
4345  };
4346  enum EEdCustomSaveOp {
4347  None,
4348  Conv.Diffuse,
4349  ShootCubeHdrScaleA2 DXT5,
4350  };
4351  enum ECompressor {
4352  NVidia,
4353  DirectX,
4354  };
4355  enum EForceBorderSize {
4356  1 texel,
4357  2 texels,
4358  3 texels,
4359  4 texels,
4360  };
4361  enum EMipMapAlpha01 {
4362  HalfBinary,
4363  ForceBinary,
4364  ShadeOfGray,
4365  };
4366 };
4367 
4371 struct CMlGraphCurve : public CNod {
4375  Vec2[] Points;
4379  Vec3 Color;
4383  Void SortPoints();
4387  Text Style;
4392 };
4393 
4398 struct CMap : public CNod {
4402  const CMapInfo MapInfo;
4406  Text MapName;
4410  Text Comments;
4414  const Text AuthorZoneIconUrl;
4418  const Text CollectionName;
4422  const Text DecorationName;
4426  const Text AuthorLogin;
4430  const Text AuthorNickName;
4434  const Text AuthorZonePath;
4438  const Text MapType;
4442  const Text MapStyle;
4446  Integer TMObjective_AuthorTime;
4450  Integer TMObjective_GoldTime;
4454  Integer TMObjective_SilverTime;
4458  Integer TMObjective_BronzeTime;
4462  Integer TMObjective_NbLaps;
4466  Boolean TMObjective_IsLapRace;
4470  Text ObjectiveTextAuthor;
4474  Text ObjectiveTextGold;
4478  Text ObjectiveTextSilver;
4482  Text ObjectiveTextBronze;
4486  const Integer CopperPrice;
4490  const Int3 Size;
4491 };
4492 
4497 struct CManiaAppBrowser : public CManiaApp {
4501  const CManiaAppEvent[] PendingEvents;
4505  Void BrowserBack();
4509  Void BrowserQuit();
4513  Void BrowserHome();
4517  Void BrowserReload();
4521  Text BrowserFocusedFrameId;
4522 };
4523 
4527 struct CUILayer : public CNod {
4528  enum EUILayerType {
4529  Normal,
4530  ScoresTable,
4531  ScreenIn3d,
4532  AltMenu,
4533  Markers,
4534  CutScene,
4535  InGameMenu,
4536  EditorPlugin,
4537  ManiaplanetPlugin,
4538  ManiaplanetMenu,
4539  LoadingScreen,
4540  };
4541  enum EUILayerAnimation {
4542  None,
4543  DownFast,
4544  DownSlow,
4545  LeftFast,
4546  LeftSlow,
4547  RightFast,
4548  RightSlow,
4549  ScaleFast,
4550  ScaleSlow,
4551  UpFast,
4552  UpSlow,
4553  };
4557  Boolean IsVisible;
4561  const Boolean AnimInProgress;
4565  EUILayerType Type;
4569  EUILayerAnimation InAnimation;
4573  EUILayerAnimation OutAnimation;
4577  EUILayerAnimation InOutAnimation;
4581  Text AttachId;
4585  Text ManialinkPage;
4589  const CMlPage LocalPage;
4590 };
4591 
4595 struct CGameUserManagerScript : public CNod {
4599  const Boolean Intro;
4603  Boolean CanSkipIntro;
4607  Void SetSkipIntro();
4611  const Boolean MainUserLogged;
4615  const CGameUserScript MainUser;
4619  const Boolean MainUser_CanUseVoiceChat;
4623  Boolean VoiceChat_MuteAll;
4627  Void RequestMainUserChange();
4631  const CGameUserScript[] Users;
4635  const CInputPad MainUserPad;
4639  Text GetBuddiesLogins(Ident UserId);
4643  Boolean AreBuddiesLoginsReady(Ident UserId);
4647  Void InviteBuddyToServer(Ident UserId,Text Login);
4651  Void ShowInviteUI(Ident UserId);
4655  Void ShowProfile(Ident UserId,Text ProfileLogin);
4656 };
4657 
4662 struct CManiaPlanet : public CNod {
4663  enum EContext {
4664  MenuStartUp,
4665  MenuManiaPlanet,
4666  MenuManiaTitleMain,
4667  MenuProfile,
4668  MenuSolo,
4669  MenuLocal,
4670  MenuMulti,
4671  MenuCompetitions,
4672  MenuEditors,
4673  EditorPainter,
4674  EditorTrack,
4675  EditorMediaTracker,
4676  Solo,
4677  SoloLoadScreen,
4678  Multi,
4679  MultiLoadScreen,
4680  MenuCustom,
4681  Unknown,
4682  };
4683  enum ELinkType {
4684  ExternalBrowser,
4685  ManialinkBrowser,
4686  };
4687  enum EBuyTitleMode {
4688  OpenStore,
4689  BuyIfNeeded,
4690  Ask,
4691  };
4692  enum EMenuStationsPage {
4693  Home,
4694  Play,
4695  Store,
4696  Options,
4697  Help,
4698  };
4699  enum EUplayFlow {
4700  OverView,
4701  Auth,
4702  Reward,
4703  Rewards,
4704  Actions,
4705  };
4706  enum ESystemPlatform {
4707  None,
4708  Steam,
4709  UPlay,
4710  PS4,
4711  XBoxOne,
4712  };
4713  enum ESystemSkuIdentifier {
4714  Unknown,
4715  EU,
4716  US,
4717  JP,
4718  };
4719  enum EHmdWearingState {
4720  Dismount,
4721  Mount,
4722  Unknown,
4723  };
4727  const Integer Now;
4731  const Text CurrentLocalDateText;
4735  const CUser LocalUser;
4739  const CTitle LoadedTitle;
4743  const CTitle[] TitlesAvailable;
4747  const CTitle[] TitlesBases;
4751  const Text[] TitleIdsInstalled;
4755  const Text[] TitleIdsPayed;
4759  const Integer EmptyStationsCount;
4763  const ESystemPlatform SystemPlatform;
4767  const ESystemSkuIdentifier SystemSkuIdentifier;
4771  const Text ExeVersion;
4775  const CMap CurrentMap;
4779  const EContext ActiveContext;
4783  const Text ActiveContext_MenuFrame;
4787  const Text ActiveContext_InGameDialogFrame;
4791  const Text ActiveContext_DialogFrame;
4795  const Text ActiveContext_SystemDialogFrame;
4799  const Boolean ActiveContext_ClassicDialogDisplayed;
4803  const Integer ActiveContext_GameWill;
4807  const Boolean ActiveContext_ManialinkBrowserDisplayed;
4811  const Boolean ActiveContext_MenuStationsDisplayed;
4815  const Boolean ActiveContext_InGameMenuDisplayed;
4819  const EMenuStationsPage ActiveContext_MenuStationsPage;
4823  const EMenuStationsPage ActiveContext_MenuStationsClickedPage;
4827  const Text CurrentServerLogin;
4831  const Text CurrentServerName;
4835  const Text CurrentServerModeName;
4839  const Text CurrentServerJoinLink;
4843  const CUser[] CurrentServerPlayers;
4847  const Integer CurrentAppId;
4851  Boolean IsPrivateSession;
4855  const Boolean IsKioskMode;
4859  const Boolean ParentalLock_IsLocked;
4863  const Integer TotalTimePlay;
4867  const Integer Messenger_MessagesCount;
4871  const Integer AccountPlanets;
4875  const Boolean IsTitleTimeLimited;
4879  const Boolean IsTitleTimeLimitActivated;
4883  const Boolean CanUnlockTitleTimeLimitOnStore;
4887  const Integer TitleTimeLeft;
4891  const Integer CurConnectionDate;
4895  const Integer PrevConnectionDate;
4907  const Boolean TmTurbo_IsDemo;
4911  const Boolean TmTurbo_IsPartialInstall;
4915  const Boolean TmTurbo_IsBeta;
4919  const Boolean TmTurbo_IsBetaDeactivated;
4923  const Boolean TmTurbo_IsOpenBeta;
4927  const Boolean TmTurbo_IsSlowInstall;
4931  Boolean Settings_StationsManualLayout;
4935  Void ClipboardSet(Text ClipboardText);
4939  Void OpenLink(Text Url,ELinkType LinkType);
4943  Void QuitGameAndOpenLink(Text Url);
4947  Void InstallTitle(Text TitleId);
4951  Void InstallTitleFromUrl(Text Url,Text DisplayName);
4955  Void InstallTitleFromUrl(Text Url,Text DisplayName,Boolean EnterAfterInstall);
4959  Void ShowTitle(Text TitleId,Boolean ShowStation);
4963  Void SelectTitle(Text TitleId);
4967  Void EnterTitle(Text TitleId);
4971  Void ShowCurMapCard();
4975  Void SetMenuStationsActive(Boolean Activate);
4979  Void Dialog_EnterGameKey();
4983  Void Dialog_BuyTitleDialog(Text TitleId,Text OverrideBuyUrl,Integer OverrideActionAfterBuy);
4987  Void Dialog_BuyTitleEx(Text TitleId,EBuyTitleMode Mode,Text OverrideBuyUrl,Integer OverrideActionAfterBuy);
4991  Void Dialog_GenerateGameKeys(Text TitleId,Integer FeaturesLevel,Integer NbToGenerate,Boolean AddBuddyOnRegistration);
4995  Void Dialog_BuyStations();
4999  Void Dialog_SetServerFavourite(Text ServerLogin,Boolean Favorite,Boolean Silent);
5003  const Boolean Dialog_IsFinished;
5007  const Boolean Dialog_Success;
5011  const Boolean Dialog_Aborted;
5015  Void CustomMenu_Request(Text Type,Text[] Data);
5019  Void SetLocalUserClubLink(Text ClubLink);
5023  Void SetLocalUserNickName(Text NickName);
5027  Void FlashWindow();
5031  Void CreateShortcut(Text ShortcutName,Text Url);
5035  Void HideSystemLoadingScreen();
5039  Boolean IsLiveStreamingEnabled;
5043  Boolean IsRemotePlayEnabled;
5047  Void TmTurbo_LoadingOpportunity();
5051  const CGameAchievementScriptManager AchievementsManager;
5055  const CGameUserManagerScript UserMgr;
5059  Void Authentication_GetToken(Ident UserId,Text AppLogin);
5063  const Boolean Authentication_GetTokenResponseReceived;
5067  const Integer Authentication_ErrorCode;
5071  const Text Authentication_Token;
5075  const CWebServicesTaskResult[] MasterServer_MSTaskResults;
5079  Void MasterServer_ReleaseMSTaskResult(Ident TaskId);
5083  Text MasterServer_GetURL(Text ShortCutId);
5087  const CMasterServerUser MasterServer_MainMSUser;
5091  const CMasterServerUser[] MasterServer_MSUsers;
5095  CMasterServerUser MasterServer_GetMSUserFromId(Ident UserId);
5099  Void MasterServer_Connect(Ident UserId);
5103  CWebServicesTaskResult_GetDisplayNameScriptResult MasterServer_GetDisplayName(Ident UserId);
5107  CWebServicesTaskResult MasterServer_CheckNetworkAvailability(Ident UserId);
5111  CWebServicesTaskResult_Session_Get MasterServer_GetSessionInfo(Ident UserId,Text SessionId);
5115  Void MasterServer_Zone_GetPathAndName(Text ZoneFullPath,Text ZonePath,Text ZoneName);
5119  CWebServicesTaskResult_ZoneList MasterServer_Zone_GetChilds(Text ZoneFullPath);
5123  CWebServicesTaskResult MasterServer_Zone_ChangeZone(Ident UserId,Text ZoneFullPath);
5127  CWebServicesTaskResult_LaunchUplayScriptResult MasterServer_UplayLaunch(Ident UserId,EUplayFlow UplayFlow,Integer RewardCode);
5131  CWebServicesTaskResult_LaunchUplayScriptResult MasterServer_UplayLaunch_v2(Ident UserId,EUplayFlow UplayFlow,Text RewardId);
5135  CWebServicesTaskResult_LaunchUplayScriptResult MasterServer_UplayLaunchAndCompleteActions(Ident UserId,EUplayFlow UplayFlow,Text RewardId);
5139  Void MasterServer_Tracking_ContextMenuStart(Ident UserId,Text MenuName);
5143  Void MasterServer_Tracking_ContextMenuStop(Ident UserId,Text MenuName);
5147  Void MasterServer_Tracking_ContextGameModeStart(Ident UserId,Text GameMode);
5151  Void MasterServer_Tracking_ContextGameModeStop(Ident UserId,Text GameMode);
5155  Void MasterServer_Tracking_ContextMapStart(Ident UserId,Text MapUid,Text Environment);
5159  Void MasterServer_Tracking_ContextMapStop(Ident UserId,Text MapUid);
5163  Void MasterServer_Tracking_ContextPlayStart(Ident UserId,Text Type);
5167  Void MasterServer_Tracking_ContextPlayStop(Ident UserId,Text Type,Text Reason,Integer NbRespawns);
5171  Void MasterServer_Tracking_MedalUnlock(Ident UserId,Integer Medal);
5175  Void MasterServer_Tracking_MedalUnlock_v2(Ident UserId,Integer PreviousMedal,Integer Medal);
5179  Void MasterServer_Tracking_NewMapCreated(Ident UserId,Text Environment,Boolean IsRandomlyGenerated);
5183  Void MasterServer_Tracking_NewsImpression(Ident UserId,Text NewsId);
5187  Void MasterServer_Tracking_NewsClick(Ident UserId,Text NewsId);
5191  Void MasterServer_Tracking_PlayerAchievement(Ident UserId,Integer AchievementId);
5195  Void MasterServer_Tracking_PlayerProgressionMap(Ident UserId,Text Value);
5199  Void MasterServer_Tracking_PlayerRespawn(Ident UserId,Integer RaceTime);
5203  Void MasterServer_Tracking_StatCampaign(Ident UserId,Integer PlayedMapCount,Integer BronzeMedalCount,Integer SilverMedalCount,Integer GoldMedalCount,Integer AuthorMedalCount,Integer MaxDifficultyLevel);
5207  Void MasterServer_Tracking_StatCampaign_v2(Ident UserId,Integer PlayedMapCount,Integer PlayedEnvCount,Integer BronzeMedalCount,Integer SilverMedalCount,Integer GoldMedalCount,Integer AuthorMedalCount,Integer MaxDifficultyLevel);
5211  Void MasterServer_Tracking_StatChallenge(Ident UserId,Integer PendingChallengeCount);
5215  Void MasterServer_Tracking_StatGlobalRanking(Ident UserId,Integer GlobalRanking);
5219  Void MasterServer_Tracking_StatOnline(Ident UserId,Integer Echelon);
5223  Void MasterServer_Tracking_StatRecordCenter(Ident UserId,Integer BestCount,Integer EqualCount,Integer WorstCount);
5227  CWebServicesTaskResult MasterServer_Beta_RetrieveUserInfo(Ident UserId);
5231  CWebServicesTaskResult MasterServer_Beta_AcceptNDA(Ident UserId);
5235  CWebServicesTaskResult BuyFullGame(Ident UserId);
5239  CWebServicesTaskResult ShowSystemError(Ident UserId,Integer ErrorCode);
5243  const Boolean HMD_IsActive;
5247  const Vec3 HMD_HeadTranslation;
5251  const Real HMD_HeadYaw;
5255  const Real HMD_HeadPitch;
5259  const Real HMD_HeadRoll;
5263  Void HMD_ResetTracking();
5267  Real HMD_WorldScale;
5279  const EHmdWearingState HMD_WearingState;
5280 };
5281 
5285 struct CTitleFlow : public CNod {
5286  enum ESplitScreenLayout {
5287  Horizontal,
5288  Vertical,
5289  Four,
5290  };
5291  enum EResult {
5292  Success,
5293  Error_Internal,
5294  Error_DataMgr,
5295  Error_Net_ServerNotFound,
5296  Error_Net_ServerUnreachable,
5297  Error_Net_Disconnected,
5298  Error_Net_WrongPassword,
5299  Error_Network_OnlineExpired,
5300  Error_Network_ServerFull,
5301  };
5309  const EResult LatestResult;
5313  const Text CustomResultType;
5317  const Text[] CustomResultData;
5321  Void PlayMap(Text Map,Text Mode,Text SettingsXml);
5325  Void PlayMapList(Text[] MapList,Text Mode,Text SettingsXml);
5329  Void PlayPlaylist(Text Playlist,Text OverrideMode,Text OverrideSettingsXml);
5333  Void PlaySplitScreen(ESplitScreenLayout LayoutType,Text[] MapList,Text Mode,Text SettingsXml);
5337  Void PlayMultiOnSameScreen(ESplitScreenLayout LayoutType,Text[] MapList,Text Mode,Text SettingsXml);
5341  Void ViewReplay(Text Replay);
5345  Void EditMap(Text Map,Text EditorPluginScript,Text EditorPluginArgument);
5349  Void EditNewMap(Text Environment,Text Decoration,Text ModUrl,Text PlayerModel,Text MapType,Text EditorPluginScript,Text EditorPluginArgument);
5353  Void EditBadges();
5357  const CServerInfo JoinServer_ServerInfo;
5361  Void JoinServer_GetInfo(Text ServerLogin);
5365  Void JoinServer_GetInfo(Text ServerLogin,Text ServerPassword);
5369  Void JoinServer_Join(Boolean AsSpectator);
5373  Void JoinServer_Abort();
5377  Void Quit();
5378 };
5379 
5384  enum EFilterPriority {
5385  All,
5386  MoreThanMemo,
5387  MoreThanNotice,
5388  };
5400  const CGameScriptNotificationsConsumerNotification[] FilteredNotifications;
5404  EFilterPriority Filter_Priority;
5405 };
5406 
5434  Void SendEvent(Ident UserId,Text Mnemo,Integer[] Params);
5438  CWebServicesTaskResult MasterServer_UplayCompleteAction(Ident UserId,Text ActionId);
5442  CWebServicesTaskResult MasterServer_UplayCompleteActions(Ident UserId,Text[] ActionIds);
5446  CGameAchievementScriptUplayAction MasterServer_GetUplayAction(Ident UserId,Text ActionId);
5450  Boolean MasterServer_IsUplayActionCompleted(Ident UserId,Text ActionId);
5454  CWebServicesTaskResult MasterServer_UplayPurchaseReward(Ident UserId,Text RewardId);
5458  Boolean MasterServer_IsUplayRewardPurchased(Ident UserId,Text RewardId);
5462  const CWebServicesTaskResult[] MasterServer_MSTaskResults;
5466  Void MasterServer_ReleaseMSTaskResult(Ident TaskId);
5470  const CGameAchievementScriptUplayAction[] MasterServer_UplayActions;
5471 };
5472 
5480  const CBadge[] Badges;
5484  CBadge BadgeCreate();
5488  Void BadgeDestroy(CBadge Badge);
5492  Void BadgeCopy(CBadge Source,CBadge Destination);
5496  Void BadgeReadFromProfile(CBadge Badge,Ident UserId);
5500  Void BadgeWriteToProfile(CBadge Badge,Ident UserId);
5504  Boolean ProfileIsReady(Ident UserId);
5505 };
5506 
5515  const CGameManiaAppPlaygroundScriptEvent[] PendingEvents;
5519  const CPlaygroundClient Playground;
5523  const CMap Map;
5532 };
5533 
5538  enum Type {
5539  LayerCustomEvent,
5540  KeyPress,
5541  (reserved),
5542  MenuNavigation,
5543  ChildModuleEvent,
5544  ParentModuleEvent,
5545  CursorSelectionBegin,
5546  CursorSelectionEnd,
5547  CursorChange,
5548  MapModified,
5549  EditorInput,
5550  EditAnchor,
5551  EditObjectives,
5552  StartValidation,
5553  StartTest,
5554  };
5555  enum EInput {
5556  Unknown,
5557  Menu,
5558  SwitchToRace,
5559  Undo,
5560  Redo,
5561  CursorUp,
5562  CursorRight,
5563  CursorDown,
5564  CursorLeft,
5565  CursorRaise,
5566  CursorLower,
5567  CursorTurn,
5568  CursorPick,
5569  CursorPlace,
5570  CursorDelete,
5571  CameraUp,
5572  CameraRight,
5573  CameraDown,
5574  CameraLeft,
5575  CameraZoomNext,
5576  Camera0,
5577  Camera1,
5578  Camera3,
5579  Camera7,
5580  Camera9,
5581  PivotChange,
5582  CursorTurnSlightly,
5583  CursorTurnSlightlyAntiClockwise,
5584  IconUp,
5585  IconRight,
5586  IconDown,
5587  IconLeft,
5588  RemoveAll,
5589  Save,
5590  SaveAs,
5591  MapStyle,
5592  ClassicMapEditor,
5593  };
5597  const Type Type;
5601  const EInput Input;
5605  const Ident EditedAnchorDataId;
5609  const Boolean IsFromPad;
5613  const Boolean IsFromMouse;
5617  const Boolean IsFromKeyboard;
5618 };
5619 
5623 struct CBlockModel : public CCollector {
5624  enum EBaseType {
5625  None,
5626  Conductor,
5627  Generator,
5628  Collector,
5629  };
5630  enum EWayPointType {
5631  Start,
5632  Finish,
5633  Checkpoint,
5634  None,
5635  StartFinish,
5636  };
5640  const Text Name;
5644  const Boolean IsRoad;
5648  const Boolean IsTerrain;
5652  const Boolean IsPodium;
5656  const EWayPointType WaypointType;
5660  const Boolean NoRespawn;
5664  const CBlockModelVariantGround VariantGround;
5668  const CBlockModelVariantAir VariantAir;
5669 };
5670 
5675 struct CMacroblockModel : public CCollector {
5679  const Boolean IsGround;
5683  const Boolean HasStart;
5687  const Boolean HasFinish;
5691  const Boolean HasCheckpoint;
5695  const Boolean HasMultilap;
5699  const CBlockModel GeneratedBlockModel;
5703  Void ClearScriptMetadata();
5707  const Text Name;
5708 };
5709 
5713 struct CBlock : public CNod {
5714  enum CardinalDirections {
5715  North,
5716  East,
5717  South,
5718  West,
5719  };
5723  const Integer BlockScriptId;
5727  const Boolean CanHaveAnchor;
5731  Void UseDefaultAnchor();
5735  Void UseCustomAnchor();
5739  const Int3 Coord;
5743  const CardinalDirections Direction;
5747  const CBlockUnit[] BlockUnits;
5751  const CBlockModel BlockModel;
5752 };
5753 
5757 struct CItemAnchor : public CNod {
5758  enum CardinalDirections {
5759  North,
5760  East,
5761  South,
5762  West,
5763  };
5767  const Vec3 Position;
5768 };
5769 
5774 struct CAnchorData : public CNod {
5778  const Text DefaultTag;
5782  const Integer DefaultOrder;
5786  Text Tag;
5790  Integer Order;
5794  const CBlock Block;
5798  const CItemAnchor Item;
5799 };
5800 
5809  const CManiaAppEvent[] PendingEvents;
5810 };
5811 
5815 struct CBadge : public CNod {
5819  Vec3 PrimaryColor;
5823  Text SkinName;
5827  Text StickerSlot_Get(Text Slot);
5831  Void StickerSlot_Set(Text Slot,Text Sticker);
5835  Void StickerSlot_Clear();
5839  Text[] Layers;
5840 };
5841 
5849  const Integer OnlineSignalId;
5853  const Text SenderLogin;
5857  const Text SenderDisplayName;
5861  const Integer TimeStamp;
5862 };
5863 
5868 struct CMode : public CNod {
5869  enum EMedal {
5870  None,
5871  Finished,
5872  Bronze,
5873  Silver,
5874  Gold,
5875  Author,
5876  };
5877  enum ESystemPlatform {
5878  None,
5879  Steam,
5880  UPlay,
5881  PS4,
5882  XBoxOne,
5883  };
5884  enum ESystemSkuIdentifier {
5885  Unknown,
5886  EU,
5887  US,
5888  JP,
5889  };
5893  Text ModeStatusMessage;
5897  const CTitle LoadedTitle;
5901  const Text ServerLogin;
5905  const Text ServerName;
5909  const Text ServerModeName;
5913  const Text MapName;
5917  const CMap Map;
5921  const Text MapPlayerModelName;
5925  const CUser[] Users;
5929  const CTeam[] Teams;
5933  Text NeutralEmblemUrl;
5937  const Text ForcedClubLinkUrl1;
5941  const Text ForcedClubLinkUrl2;
5945  Void TweakTeamColorsToAvoidHueOverlap();
5949  Text ClientManiaAppUrl;
5953  const Integer Now;
5957  const Integer Period;
5961  Boolean MatchEndRequested;
5965  const Boolean ServerShutdownRequested;
5969  const Boolean MapLoaded;
5973  Void RequestLoadMap();
5977  Void RequestUnloadMap();
5981  const CMapInfo[] MapList;
5985  Integer NextMapIndex;
5989  const CUIConfigMgr UIManager;
5993  Void Hud_Load(Text ModuleUrl);
6001  Void Ladder_OpenMatch_Request();
6005  Void Ladder_AddPlayer(CScore PlayerScore);
6009  Void Ladder_OpenMatch_BeginRequest();
6013  Void Ladder_OpenMatch_AddPlayer(CScore PlayerScore);
6017  Void Ladder_OpenMatch_EndRequest();
6021  Void Ladder_CloseMatchRequest();
6025  Void Ladder_CancelMatchRequest();
6029  const Boolean Ladder_RequestInProgress;
6033  Void Ladder_SetResultsVersion(Integer Version);
6037  Void Ladder_SetMatchMakingMatchId(Integer MatchId);
6041  Void Ladder_EnableChallengeMode(Boolean Enable);
6045  Boolean Admin_KickUser(CUser User,Text Reason);
6049  Void Admin_SetLobbyInfo(Boolean IsLobby,Integer LobbyPlayerCount,Integer LobbyMaxPlayerCount,Real LobbyPlayersLevel);
6053  Void AutoTeamBalance();
6057  Void Solo_SetNewRecord(CScore PlayerScore,EMedal PlayerScore);
6061  const Boolean Solo_NewRecordSequenceInProgress;
6065  const CXmlRpc XmlRpc;
6069  const CXmlManager Xml;
6073  const CHttpManager Http;
6085  const CScoreMgr ScoreMgr;
6089  const ESystemPlatform SystemPlatform;
6093  const ESystemSkuIdentifier SystemSkuIdentifier;
6097  Integer Synchro_AddBarrier();
6101  Boolean Synchro_BarrierReached(Integer Barrier);
6105  Boolean Users_AreAllies(CUser User1,CUser User2);
6109  Void Users_RequestSwitchToSpectator(CUser User);
6113  CUser Users_CreateFake(Text NickName,Integer RequestedTeam);
6117  Void Users_DestroyFake(CUser User);
6121  Void Users_SetNbFakeUsers(Integer NbTeam1,Integer NbTeam2);
6125  Void Users_DestroyAllFakes();
6129  Void ItemList_Begin();
6133  Boolean ItemList_Begin();
6137  Ident ItemList_Add(Text ModelName);
6141  Ident ItemList_AddWithSkin(Text ModelName,Text SkinName);
6145  Void ItemList_End();
6149  Void DemoToken_StartUsingToken();
6153  Void DemoToken_StopUsingToken();
6157  Void DemoToken_GetAndUseToken(CUser User);
6161  Void ActionList_Begin();
6165  Boolean ActionList_Begin();
6169  Ident ActionList_Add(Text ActionName);
6173  Void ActionList_End();
6177  Boolean UseMinimap;
6181  Boolean Replay_AutoStart;
6185  Void Replay_Start();
6189  Void Replay_Stop();
6193  const CGameAchievementScriptManager AchievementsManager;
6197  CManiaplanetPluginInterface GetPluginInterface(Text Name);
6201  const CManiaplanetPluginInterface[] PluginInterfaces;
6205  const CGamePluginInterfacesScript Plugins;
6209  Text Dbg_DumpDeclareForVariables(CNod Nod,Boolean StatsOnly);
6210 };
6211 
6216 struct CSmPlayer : public CPlayer {
6217  enum ESpawnStatus {
6218  NotSpawned,
6219  Spawning,
6220  Spawned,
6221  };
6225  const CSmScore Score;
6229  const ESpawnStatus SpawnStatus;
6233  const Integer StartTime;
6237  Integer EndTime;
6249  const Boolean AutoSwitchWeapon;
6253  const Integer CurWeapon;
6257  const Integer CurAmmo;
6261  const Integer CurAmmoMax;
6265  const Integer CurAmmoUnit;
6269  Integer Armor;
6273  Integer ArmorMax;
6277  Integer ArmorGain;
6281  Integer ArmorReplenishGain;
6289  Integer Stamina;
6313  Boolean AllowWallJump;
6317  Boolean AllowProgressiveJump;
6321  Boolean UseAlternateWeaponVisual;
6325  Boolean IsHighlighted;
6333  Vec3 ForceColor;
6341  Real ForceLinearHue;
6345  Ident ForceModelId;
6349  Boolean HasShield;
6357  const Integer CurrentClan;
6361  const Integer IdleDuration;
6365  const Vec3 Position;
6369  const Real AimYaw;
6373  const Real AimPitch;
6377  const Vec3 AimDirection;
6381  const Boolean IsUnderground;
6385  const Boolean IsTouchingGround;
6389  const Boolean IsInAir;
6393  const Boolean IsOnTechGround;
6397  const Boolean IsOnTechLaser;
6401  const Boolean IsOnTechArrow;
6405  const Boolean IsOnTechArmor;
6409  const Boolean IsOnTechSafeZone;
6413  const Boolean IsOnTech;
6417  const Boolean IsOnTechNoWeapon;
6421  const Boolean IsInWater;
6425  const Vec3 Velocity;
6429  const Real Speed;
6433  const Boolean IsInOffZone;
6437  const Boolean IsCapturing;
6441  const CSmMapLandmark CapturedLandmark;
6445  const CSmObject[] Objects;
6449  const Boolean IsFakePlayer;
6453  const Boolean IsBot;
6457  const CSmPlayerDriver Driver;
6458 };
6459 
6463 struct CSmModeEvent : public CNod {
6464  enum EType {
6465  Unknown,
6466  OnShoot,
6467  OnHit,
6468  OnNearMiss,
6469  OnArmorEmpty,
6470  OnCapture,
6471  OnShotDeny,
6472  OnFallDamage,
6473  OnCommand,
6474  OnPlayerAdded,
6475  OnPlayerRemoved,
6476  OnPlayerRequestRespawn,
6477  OnActionCustomEvent,
6478  OnActionEvent,
6479  OnPlayerTouchesObject,
6480  OnPlayerTriggersSector,
6481  OnPlayerThrowsObject,
6482  OnPlayerRequestActionChange,
6483  OnModuleCustomEvent,
6484  OnModuleShowRequest,
6485  OnModuleHideRequest,
6486  OnModuleStorePurchase,
6487  OnModuleInventoryDrop,
6488  OnModuleInventoryEquip,
6489  };
6490  enum EActionSlot {
6491  Slot_A,
6492  Slot_B,
6493  Slot_C,
6494  Slot_D,
6495  Slot_E,
6496  Slot_F,
6497  Slot_G,
6498  Slot_H,
6499  };
6500  enum EActionInput {
6501  Weapon,
6502  Movement,
6503  Activable1,
6504  Activable2,
6505  Activable3,
6506  Activable4,
6507  Consumable1,
6508  Consumable2,
6509  None,
6510  };
6511  enum EModuleType {
6512  Undefined,
6513  Hud,
6514  Inventory,
6515  Minimap,
6516  Store,
6517  ScoresTable,
6518  MenuBase,
6519  MenuBrowser,
6520  };
6521  enum EActionSlots {
6522  Weapon,
6523  Movement,
6524  Activable1,
6525  Activable2,
6526  Activable3,
6527  Activable4,
6528  None,
6529  };
6533  const EType Type;
6537  const CSmPlayer Player;
6541  Integer Damage;
6545  const CSmObject VictimObject;
6549  Integer ShooterPoints;
6553  const CSmPlayer Shooter;
6557  const CSmPlayer Victim;
6561  const Real Height;
6565  const Real MissDist;
6569  const Integer WeaponNum;
6573  const Boolean ShooterUsedAction;
6577  const Integer ShooterWeaponNum;
6581  const EActionSlot ShooterActionSlot;
6585  const Text ShooterActionId;
6589  const Boolean VictimUsedAction;
6593  const Integer VictimWeaponNum;
6597  const EActionSlot VictimActionSlot;
6601  const Text VictimActionId;
6605  const EActionSlot Action_Slot;
6609  const EActionInput ActionInput;
6613  const Text ActionId;
6617  const Text Param1;
6621  const Text[] Param2;
6625  const CSmObject Object;
6629  const CSmMapSector Sector;
6633  const CSmBlockPole BlockPole;
6637  const CSmMapLandmark Landmark;
6641  const CUser User;
6645  const Boolean PlayerWasSpawned;
6649  const Boolean PlayerWasInLadderMatch;
6653  const Vec3 PlayerLastPosition;
6657  const Vec3 PlayerLastAimDirection;
6661  const Boolean GiveUp;
6665  const Text CommandName;
6669  const Boolean CommandValueBoolean;
6673  const Integer CommandValueInteger;
6677  const Real CommandValueReal;
6681  const Text CommandValueText;
6685  const Integer ActionChange;
6689  const Text ItemUrl;
6693  const Integer Quantity;
6697  const EModuleType ModuleType;
6698 };
6699 
6703 struct CSmMapBase : public CNod {
6707  Integer Clan;
6711  Boolean IsActive;
6715  const Integer NumberOfCollectors;
6716 };
6717 
6722 struct CSmMapLandmark : public CNod {
6726  const Text Tag;
6730  const Integer Order;
6734  const Vec3 Position;
6738  const CSmMapBase Base;
6742  const CSmMapGate Gate;
6746  const CSmMapGauge Gauge;
6750  const CSmMapSector Sector;
6754  const CSmMapPlayerSpawn PlayerSpawn;
6758  const CSmMapBotPath BotPath;
6762  const CSmMapBotSpawn BotSpawn;
6766  const CSmMapObjectAnchor ObjectAnchor;
6767 };
6768 
6773 struct CSmScore : public CScore {
6777  const Integer TeamNum;
6781  Integer Points;
6785  Integer RoundPoints;
6789  const Integer NbEliminationsInflicted;
6793  const Integer NbEliminationsTaken;
6797  const Integer NbRespawnsRequested;
6801  const Integer DamageInflicted;
6805  const Integer DamageTaken;
6809  Void Clear();
6810 };
6811 
6816 struct CSmObject : public CNod {
6817  enum EStatus {
6818  OnPlayer,
6819  OnAnchor,
6820  InWorld,
6821  Unspawned,
6822  };
6826  const EStatus Status;
6830  const Ident ModelId;
6834  Void SetAnchor(CSmMapObjectAnchor ObjectAnchor);
6838  Void SetPlayer(CSmPlayer Player);
6842  Void SetPosition(Vec3 Position);
6846  Void SetPositionAndVel(Vec3 Position,Vec3 Vel);
6850  Void SetUnspawned();
6858  const CSmMapLandmark AnchorLandmark;
6862  const Vec3 Position;
6866  const Vec3 Vel;
6870  Integer MachineState;
6874  Boolean Throwable;
6875 };
6876 
6881 struct CMlScriptIngame : public CMlScript {
6882  enum EUISound {
6883  Default,
6884  Silence,
6885  StartMatch,
6886  EndMatch,
6887  StartRound,
6888  EndRound,
6889  PhaseChange,
6890  TieBreakPoint,
6891  TiePoint,
6892  VictoryPoint,
6893  Capture,
6894  TimeOut,
6895  Notice,
6896  Warning,
6897  PlayerEliminated,
6898  PlayerHit,
6899  Checkpoint,
6900  Finish,
6901  Record,
6902  ScoreProgress,
6903  RankChange,
6904  Bonus,
6905  FirstHit,
6906  Combo,
6907  PlayersRemaining,
6908  Custom1,
6909  Custom2,
6910  Custom3,
6911  Custom4,
6912  };
6913  enum EInGameMenuResult {
6914  Resume,
6915  Quit,
6916  NormalMenu,
6917  AdvancedMenu,
6918  ServerSettings,
6919  };
6923  const Integer GameTime;
6927  const CPlaygroundClient Playground;
6947  const Boolean UseClans;
6951  const Boolean UseForcedClans;
6955  const CManiaAppPlaygroundCommon ParentApp;
6959  const CMap Map;
6963  Void ShowCurChallengeCard();
6967  Void ShowModeHelp();
6971  Void CopyServerLinkToClipBoard();
6975  Void JoinTeam1();
6979  Void JoinTeam2();
6983  const CTeam[] Teams;
6987  Void RequestSpectatorClient(Boolean Spectator);
6991  Void SetSpectateTarget(Text Player);
6995  Void ShowProfile(Text Player);
6999  Void ShowInGameMenu();
7003  Void CloseInGameMenu(EInGameMenuResult Result);
7007  Void CloseScoresTable();
7011  const Boolean IsInGameMenuDisplayed;
7015  const Text CurrentServerLogin;
7019  const Text CurrentServerName;
7023  const Text CurrentServerDesc;
7027  const Text CurrentServerJoinLink;
7031  const Text CurrentServerModeName;
7035  Void PlayUiSound(EUISound Sound,Integer SoundVariant,Real Volume);
7039  const CGameAchievementScriptManager AchievementsManager;
7040 };
7041 
7045 struct CSmActionEvent : public CNod {
7046  enum EType {
7047  OnHitPlayer,
7048  OnProjectileStart,
7049  OnProjectileEnd,
7050  OnActiveChange,
7051  OnHitObject,
7052  };
7056  const EType Type;
7060  const CSmPlayer Player;
7064  const CSmObject Object;
7068  const Integer Damage;
7072  const Ident ProjectileModelId;
7076  const Integer ContextId;
7080  const Vec3 Position;
7084  const Vec3 Direction;
7088  const Vec3 Normal;
7089 };
7090 
7095 struct CMapType : public CEditorPlugin {
7096  enum ValidationStatus {
7097  NotValidable,
7098  Validable,
7099  Validated,
7100  };
7104  Boolean CustomEditAnchorData;
7108  Void ClearMapMetadata();
7112  ValidationStatus ValidationStatus;
7116  Text ValidabilityRequirementsMessage;
7120  Boolean ValidationEndRequested;
7124  Boolean ValidationEndNoConfirm;
7128  Void RequestEnterPlayground();
7132  Void RequestLeavePlayground();
7136  const Boolean IsSwitchedToPlayground;
7140  const CUIConfigMgr UIManager;
7144  const CUser[] Users;
7145 };
7146 
7151 struct CTmMlPlayer : public CPlayer {
7152  enum ERaceState {
7153  BeforeStart,
7154  Running,
7155  Finished,
7156  Eliminated,
7157  };
7158  enum ETmRacePlayerCoopMode {
7159  None,
7160  Symbiosys,
7161  Checkpoint,
7162  };
7163  enum ETmJumpMode {
7164  Disabled,
7165  Simple,
7166  Double,
7167  Infinite,
7168  };
7169  enum ETmBonusModeEventType {
7170  None,
7171  Bumps,
7172  LowGravity,
7173  FreeWheeling,
7174  LockedDirections,
7175  };
7176  enum ESceneVehiclePhyStuntFigure {
7177  None,
7178  StraightJump,
7179  Flip,
7180  BackFlip,
7181  Spin,
7182  Aerial,
7183  AlleyOop,
7184  Roll,
7185  Corkscrew,
7186  SpinOff,
7187  Rodeo,
7188  FlipFlap,
7189  Twister,
7190  FreeStyle,
7191  SpinningMix,
7192  FlippingChaos,
7193  RollingMadness,
7194  WreckNone,
7195  WreckStraightJump,
7196  WreckFlip,
7197  WreckBackFlip,
7198  WreckSpin,
7199  WreckAerial,
7200  WreckAlleyOop,
7201  WreckRoll,
7202  WreckCorkscrew,
7203  WreckSpinOff,
7204  WreckRodeo,
7205  WreckFlipFlap,
7206  WreckTwister,
7207  WreckFreeStyle,
7208  WreckSpinningMix,
7209  WreckFlippingChaos,
7210  WreckRollingMadness,
7211  TimePenalty,
7212  RespawnPenalty,
7213  Grind,
7214  Reset,
7215  };
7219  const Integer CurrentClan;
7223  const ERaceState RaceState;
7227  const Boolean IsSpawned;
7231  CTrackManiaScore Score;
7235  const Integer RaceStartTime;
7239  const Integer LapStartTime;
7243  CTmResult CurRace;
7247  CTmResult CurLap;
7251  const Integer CurrentNbLaps;
7255  const Integer CurTriggerIndex;
7259  const Integer CurCheckpointRaceTime;
7263  const Integer CurCheckpointLapTime;
7267  const Integer CoopSymbiosysPercentTotal;
7271  const Integer CoopCheckpointCurController;
7275  const ETmRacePlayerCoopMode CoopMode;
7279  const Integer ControllerCount;
7283  const Integer ControllerId0;
7287  const Integer ControllerId1;
7291  const Integer ControllerId2;
7295  const Integer ControllerId3;
7299  const Boolean ForcedAerialCamera;
7303  const Boolean ButtonSmashFrenzy;
7307  const Boolean EnableTurboButton;
7311  const Boolean MaxiAirControl;
7315  const Boolean EnableEmptyCars;
7319  const ETmJumpMode JumpMode;
7323  const Boolean TinyCar;
7327  const Boolean EnableCatchUpSpeed;
7331  const Boolean EnableStuntMode;
7335  const Boolean EnableOnlineMode;
7339  const Real AccelCoef;
7343  const Real ControlCoef;
7347  const Real GravityCoef;
7351  const Vec3 Position;
7355  const Vec3 AimDirection;
7359  const Real AimYaw;
7363  const Real AimPitch;
7367  const Real Upwardness;
7371  const Integer CurRaceContinuousRank;
7375  const Real Distance;
7379  const Real Speed;
7383  const Integer DisplaySpeed;
7387  const Real InputSteer;
7391  const Real InputGasPedal;
7395  const Boolean InputIsBraking;
7399  const Real EngineRpm;
7403  const Integer EngineCurGear;
7407  const Real EngineTurboRatio;
7411  const Integer WheelsContactCount;
7415  const Integer WheelsSkiddingCount;
7419  const Real DamageHullRatio;
7423  const Real DamageWindowRatio;
7427  const Integer InWaterDuration;
7431  const Integer FreeWheelingDuration;
7435  const Integer FlyingDuration;
7439  const Integer SparklingDuration;
7443  const Integer LightTrailsDuration;
7447  const Integer SkiddingDuration;
7451  const Real SkiddingDistance;
7455  const Real FlyingDistance;
7459  const Boolean BonusModeIsJump;
7463  const Boolean BonusModeIsTurbo;
7467  const Boolean BonusModeIsMiniCar;
7471  const Boolean BonusModeIsBigCar;
7475  const Boolean BonusModeIsEmptyCars;
7479  const Boolean BonusModeIsSpeedyCars;
7483  const Boolean BonusModeIsGold;
7487  const Integer BonusModeEmptyCarsStock;
7491  const Integer BonusModeTurboStock;
7495  const Integer BonusModeJumpStock;
7499  const Integer BonusBumpCooldown;
7503  const Boolean BonusIsPossible;
7507  const Integer BonusModeTimeTillEvent;
7511  const Integer BonusModeTimeTillEndEvent;
7515  const Integer BonusModeTimeTillEventWarning;
7519  const ETmBonusModeEventType BonusModeEventType;
7523  const Boolean BonusModeEventIsGold;
7527  const Integer StuntLastTime;
7531  const Integer StuntPoints;
7535  const Integer StuntCombo;
7539  const Boolean StuntPerfectLanding;
7543  const Boolean StuntMasterLanding;
7547  const Boolean StuntEpicLanding;
7551  const ESceneVehiclePhyStuntFigure StuntLast;
7555  const Integer StuntTurboGauge;
7559  const Integer StuntTurboGaugeMax;
7563  const Integer TimeElapsedSinceLastStunt;
7567  const Integer StuntAngle;
7571  const Integer UniqueCameraRespawnCount;
7575  const Integer UniqueCameraAvailableRespawnLeft;
7579  const Integer TimeLeftForStuntCombo;
7583  const Integer TimeTillSmashRespawn;
7587  const Integer TimeTillSmashGiveUp;
7591  const Boolean SmashNeedHelp;
7595  const Boolean StuntStickNeedHelp;
7599  const Boolean StuntJumpNeedHelp;
7603  const Real StuntJumpCharge;
7607  const Real StuntMasterCharge;
7611  const Real StuntEpicCharge;
7615  Void StuntStateReset();
7619  const Integer TimeBeforeDeadlyZone;
7623  const Boolean IsDeadlyZoneActive;
7624 };
7625 
7629 struct CTmRaceClientEvent : public CNod {
7630  enum EType {
7631  Unknown,
7632  WayPoint,
7633  Respawn,
7634  Turbo,
7635  Horn,
7636  Impact,
7637  WaterSplash,
7638  GlassSmash,
7639  PartDetached,
7640  StopEngine,
7641  StartEngine,
7642  AirSpawnRelease,
7643  };
7647  const EType Type;
7651  const CTmMlPlayer Player;
7655  const Integer CheckpointInRace;
7659  const Integer CheckpointInLap;
7663  const Boolean IsEndRace;
7667  const Boolean IsEndLap;
7671  const Integer RaceTime;
7675  const Integer LapTime;
7679  const Integer StuntsScore;
7683  const Integer NbRespawns;
7684 };
7685 
7690 struct CTmScore : public CScore {
7694  const Integer TeamNum;
7698  Integer Points;
7702  CTmResult BestRace;
7706  CTmResult BestLap;
7710  Integer PrevRaceDeltaPoints;
7714  CTmResult PrevRace;
7718  CTmResult TempResult;
7722  Void Clear();
7723 };
7724 
7729 struct CTmPlayer : public CPlayer {
7730  enum ETmRacePlayerCoopMode {
7731  None,
7732  Symbiosys,
7733  Checkpoint,
7734  };
7735  enum ETmJumpMode {
7736  Disabled,
7737  Simple,
7738  Double,
7739  Infinite,
7740  };
7744  const Integer CurrentClan;
7748  const CTmScore Score;
7752  Integer RaceStartTime;
7756  Boolean IsSpawned;
7760  CTmResult CurRace;
7764  CTmResult CurLap;
7768  Integer CurrentNbLaps;
7772  const Integer CurTriggerIndex;
7776  const Vec3 Position;
7780  const Real AimYaw;
7784  const Real AimPitch;
7788  const Vec3 AimDirection;
7792  Ident ForceModelId;
7796  Real AccelCoef;
7800  Real ControlCoef;
7804  Real GravityCoef;
7808  ETmRacePlayerCoopMode CoopMode;
7812  Integer ControllerCount;
7816  Integer ControllerId0;
7820  Integer ControllerId1;
7824  Integer ControllerId2;
7828  Integer ControllerId3;
7832  Boolean ForcedAerialCamera;
7836  Boolean ButtonSmashFrenzy;
7840  Boolean EnableTurboButton;
7844  Boolean MaxiAirControl;
7848  Boolean EnableEmptyCars;
7852  ETmJumpMode JumpMode;
7856  Boolean TinyCar;
7860  Boolean EnableCatchUpSpeed;
7864  Boolean EnableStuntMode;
7868  Boolean EnableOnlineMode;
7869 };
7870 
7874 struct CTmModeEvent : public CNod {
7875  enum EType {
7876  Unknown,
7877  StartLine,
7878  WayPoint,
7879  GiveUp,
7880  Respawn,
7881  Stunt,
7882  OnPlayerAdded,
7883  OnPlayerRemoved,
7884  OnCommand,
7885  };
7886  enum EStuntFigure {
7887  None,
7888  StraightJump,
7889  Flip,
7890  BackFlip,
7891  Spin,
7892  Aerial,
7893  AlleyOop,
7894  Roll,
7895  Corkscrew,
7896  SpinOff,
7897  Rodeo,
7898  FlipFlap,
7899  Twister,
7900  FreeStyle,
7901  SpinningMix,
7902  FlippingChaos,
7903  RollingMadness,
7904  WreckNone,
7905  WreckStraightJump,
7906  WreckFlip,
7907  WreckBackFlip,
7908  WreckSpin,
7909  WreckAerial,
7910  WreckAlleyOop,
7911  WreckRoll,
7912  WreckCorkscrew,
7913  WreckSpinOff,
7914  WreckRodeo,
7915  WreckFlipFlap,
7916  WreckTwister,
7917  WreckFreeStyle,
7918  WreckSpinningMix,
7919  WreckFlippingChaos,
7920  WreckRollingMadness,
7921  TimePenalty,
7922  RespawnPenalty,
7923  Grind,
7924  Reset,
7925  };
7929  const EType Type;
7933  const CTmPlayer Player;
7937  Integer RaceTime;
7941  const Integer CheckpointInRace;
7945  const Integer CheckpointInLap;
7949  const Boolean IsEndLap;
7953  const Boolean IsEndRace;
7957  Integer LapTime;
7961  Integer StuntsScore;
7965  Integer NbRespawns;
7969  const Ident BlockId;
7973  Real Speed;
7977  Real Distance;
7981  Real Damages;
7985  const EStuntFigure StuntFigure;
7989  const Integer Angle;
7993  const Integer Points;
7997  const Integer Combo;
8001  const Boolean IsStraight;
8005  const Boolean IsReverse;
8009  const Boolean IsMasterJump;
8013  const Real Factor;
8017  const CUser User;
8021  const Boolean PlayerWasSpawned;
8025  const Boolean PlayerWasInLadderMatch;
8029  const Text CommandName;
8033  const Boolean CommandValueBoolean;
8037  const Integer CommandValueInteger;
8041  const Real CommandValueReal;
8045  const Text CommandValueText;
8046 };
8047 
8052 struct CMlFrame : public CMlControl {
8053  enum EControlType {
8054  Audio,
8055  Entry,
8056  FileEntry,
8057  Frame,
8058  Label,
8059  Quad,
8060  Video,
8061  };
8065  const CMlControl[] Controls;
8069  CMlControl GetFirstChild(Text ControlId);
8073  Boolean ClipWindowActive;
8077  Vec2 ClipWindowRelativePosition;
8081  Vec2 ClipWindowSize;
8085  Boolean DisablePreload;
8086 };
8087 
8091 struct CXmlDocument : public CNod {
8095  const Text TextContents;
8099  const CXmlNode Root;
8103  const CXmlNode[] Nodes;
8107  CXmlNode GetFirstChild(Text Name);
8108 };
8109 
8114 struct CHttpRequest : public CNod {
8118  const Text Url;
8122  const Text Result;
8130  const Boolean IsCompleted;
8131 };
8132 
8136 struct CVideo : public CNod {
8137  enum ETextureFilter {
8138  Default,
8139  Point,
8140  };
8144  const CImage Image;
8148  Boolean IsLooping;
8152  const Boolean DownloadInProgress;
8156  const Real PlayLength;
8160  Void BeginProcessing();
8164  Void EndProcessing();
8168  const Boolean IsProcessing;
8176  Void Play();
8180  Void Pause();
8184  Void Stop();
8188  const Boolean IsPlaying;
8192  Real PlayCursor;
8196  ETextureFilter TextureFilter;
8197 };
8198 
8202 struct CAudioSource : public CNod {
8206  Void Play();
8210  Void Stop();
8214  const Boolean IsPlaying;
8218  const Boolean DownloadInProgress;
8222  Real Volume;
8226  Real FadeDuration;
8230  Real VolumedB;
8234  Real Pitch;
8238  Vec3 RelativePosition;
8242  Vec3 PanRadiusLfe;
8246  Real PlayCursor;
8250  const Real PlayLength;
8251 };
8252 
8257  enum EUpdateMode {
8258  Cut,
8259  OnNextBar,
8260  OnNextHalfBar,
8261  OnNextBeat,
8262  };
8266  Real[] Tracks_Volume;
8270  Real[] Tracks_VolumedB;
8274  const Text[] Tracks_Name;
8278  const Real[] Tracks_Length;
8282  const Integer Tracks_Count;
8286  const Real BeatsPerMinute;
8290  const Real BeatDuration;
8294  const Integer BeatsPerBar;
8298  EUpdateMode UpdateMode;
8302  Boolean Dbg_ForceIntensity;
8306  Boolean Dbg_ForceSequential;
8310  Boolean Dbg_ForceRandom;
8330  Real FadeTracksDuration;
8334  Real FadeFiltersDuration;
8338  Void MuteAllTracks();
8342  Void UnmuteAllTracks();
8346  Void NextVariant();
8350  Void NextVariant(Boolean IsIntensityDecreasing);
8354  Void EnableSegment(Text SegmentName);
8358  Boolean UseNewImplem;
8359 };
8360 
8364 struct CInputEvent : public CNod {
8365  enum EType {
8366  PadButtonPress,
8367  };
8368  enum EButton {
8369  Left,
8370  Right,
8371  Up,
8372  Down,
8373  A,
8374  B,
8375  X,
8376  Y,
8377  L1,
8378  R1,
8379  LeftStick,
8380  RightStick,
8381  Menu,
8382  View,
8383  LeftStick_Left,
8384  LeftStick_Right,
8385  LeftStick_Up,
8386  LeftStick_Down,
8387  RightStick_Left,
8388  RightStick_Right,
8389  RightStick_Up,
8390  RightStick_Down,
8391  L2,
8392  R2,
8393  None,
8394  };
8398  const EType Type;
8402  const CInputPad Pad;
8406  const EButton Button;
8410  const Boolean IsAutoRepeat;
8414  const Integer KeyCode;
8418  const Text KeyName;
8419 };
8420 
8424 struct CInputPad : public CNod {
8425  enum EButton {
8426  Left,
8427  Right,
8428  Up,
8429  Down,
8430  A,
8431  B,
8432  X,
8433  Y,
8434  L1,
8435  R1,
8436  LeftStick,
8437  RightStick,
8438  Menu,
8439  View,
8440  LeftStick_Left,
8441  LeftStick_Right,
8442  LeftStick_Up,
8443  LeftStick_Down,
8444  RightStick_Left,
8445  RightStick_Right,
8446  RightStick_Up,
8447  RightStick_Down,
8448  L2,
8449  R2,
8450  None,
8451  };
8452  enum EPadType {
8453  Keyboard,
8454  Generic,
8455  XBox,
8456  PlayStation,
8457  };
8461  const Integer ControllerId;
8465  const Ident UserId;
8469  const EPadType Type;
8473  const Text ModelName;
8477  const Integer IdleDuration;
8481  const Integer Left;
8485  const Integer Right;
8489  const Integer Up;
8493  const Integer Down;
8497  const Integer A;
8501  const Integer B;
8505  const Integer X;
8509  const Integer Y;
8513  const Integer L1;
8517  const Integer R1;
8521  const Integer LeftStickBut;
8525  const Integer RightStickBut;
8529  const Integer Menu;
8533  const Integer View;
8553  const Real L2;
8557  const Real R2;
8561  const EButton[] ButtonEvents;
8565  Void ClearRumble();
8569  Void AddRumble(Integer Duration,Real LargeMotor,Real SmallMotor);
8573  Void SetColor(Vec3 Color);
8574 };
8575 
8579 struct CMapInfo : public CNod {
8583  const Text MapUid;
8587  const Text Comments;
8591  const Integer CopperPrice;
8595  const Text CollectionName;
8599  const Text AuthorLogin;
8603  const Text AuthorNickName;
8607  const Text AuthorZonePath;
8611  const Text MapType;
8615  const Text MapStyle;
8619  const Boolean Unlocked;
8623  const Boolean IsPlayable;
8627  const Integer TMObjective_AuthorTime;
8631  const Integer TMObjective_GoldTime;
8635  const Integer TMObjective_SilverTime;
8639  const Integer TMObjective_BronzeTime;
8643  const Boolean TMObjective_IsLapRace;
8647  const Text Name;
8651  const Text Path;
8655  const Text FileName;
8656 };
8657 
8661 struct CHighScore : public CNod {
8662  enum EMedal {
8663  None,
8664  Finished,
8665  Bronze,
8666  Silver,
8667  Gold,
8668  Author,
8669  };
8673  const Text Name;
8677  const Integer Time;
8681  const Text Score;
8685  const Integer Rank;
8689  const Integer Count;
8693  const Text GhostUrl;
8697  const EMedal Medal;
8701  const Text GhostName;
8702 };
8703 
8707 struct CGhost : public CNod {
8708  enum EDataState {
8709  Ready,
8710  InProgress,
8711  Error,
8712  };
8716  const EDataState DataState;
8720  const CTmResult RaceResult;
8724  Text Nickname;
8725 };
8726 
8730 struct CWebServicesTaskResult : public CNod {
8731  enum ETaskErrorType {
8732  Success,
8733  Canceled,
8734  Unexpected,
8735  Internal,
8736  DataManager,
8737  PrivilegeManager,
8738  MasterServer,
8739  UbiServices,
8740  UplayPC,
8741  PS4,
8742  XboxOne,
8743  };
8747  const Ident Id;
8767  const ETaskErrorType ErrorType;
8779  Void Cancel();
8780 };
8781 
8786 };
8787 
8795  const Text Login;
8799  const CHighScoreComparison[] BuddiesChallengeRecord;
8803  Void SortByOpponentCount();
8807  Void SortByOpponentDisplayName();
8811  Void SortByOpponentLogin();
8815  Void SortByOpponentRecordDate();
8819  Void SortByOpponentRecordTime();
8820 };
8821 
8829  const Text Login;
8837  Void SortByPlayerCount();
8841  Void SortByOpponentLogin();
8845  Void SortByOpponentCount();
8849  Void SortByOpponentDate();
8853  Void SortByOpponentDisplayName();
8854 };
8855 
8863  const Text Login;
8879  Void SortByMapName();
8883  Void SortByRecordTime();
8887  Void SortByRecordTimeDiff();
8891  Void SortByRecordDate();
8892 };
8893 
8910 };
8911 
8919  Void AddLogin(Text Login);
8923  Void StartTask();
8927  Boolean HasPrivilege(Text Login);
8931  Text GetDenyReason(Text Login);
8932 };
8933 
8945  Void AddLogin(Text Login);
8949  Void StartTask();
8950 };
8951 
8960  const Text Name;
8964  Void CustomEvent(Text Type,Text[] Data);
8968  const CManiaplanetPluginInterfaceEvent[] PendingEvents;
8969 };
8970 
8974 struct CPlug : public CNod {
8975 };
8976 
8981 struct CGameUserScript : public CNod {
8985  const Text SystemName;
8989  const Text DisplayName;
8993  const Vec3 Color;
8997  const Boolean PersistentIsReady;
9001  Void PersistentSave();
9005  const CGameUserProfile Config;
9006 };
9007 
9015  const Boolean NeedToChangeZone;
9023  Text GetZone(Integer ZoneLevel);
9027  Void SetSubscriptionZone(Text Zone);
9031  const Integer MultiInternetPlayTimeLeft;
9032 };
9033 
9041  Void AddLogin(Text Login);
9045  Void StartTask();
9049  Text GetDisplayName(Text Login);
9050 };
9051 
9059  const Text SessionId;
9063  const Text ServerLogin;
9067  const Text ServerPassword;
9068 };
9069 
9077  const Text Path;
9085  const CZone[] Zones;
9086 };
9087 
9095  Void AddActionToComplete(Text ActionId);
9099  Void StartTask();
9100 };
9101 
9109  const Text ServerName;
9113  const Text ServerLogin;
9117  const Text JoinLink;
9121  const Text Comment;
9125  const Text ServerVersionBuild;
9129  const Integer PlayerCount;
9133  const Integer MaxPlayerCount;
9137  const Integer SpectatorCount;
9141  const Integer MaxSpectatorCount;
9145  const Real PlayersLevelMin;
9149  const Real PlayersLevelAvg;
9153  const Real PlayersLevelMax;
9157  const Integer ServerLevel;
9161  const Text ServerLevelText;
9165  const Text ModeName;
9169  const Real LadderServerLimitMax;
9173  const Real LadderServerLimitMin;
9177  const Text[] PlayerNames;
9181  const Text[] ChallengeNames;
9185  const Integer NbChallenges;
9189  const Boolean HasBuddies;
9193  const Boolean IsFavourite;
9197  const Boolean IsLobbyServer;
9201  const Boolean IsPrivate;
9202 };
9203 
9208  enum EType {
9209  NewNotification,
9210  NotificationChanged,
9211  };
9215  const EType Type;
9220 };
9221 
9226  enum ENotificationPriority {
9227  Memo,
9228  Notice,
9229  Alarm,
9230  };
9234  const Text Title;
9238  const Text Description;
9242  const Text ImageUrl;
9246  const ENotificationPriority Priority;
9250  const Boolean HasBeenRead;
9254  const Boolean HasBeenActivated;
9258  Void SetRead();
9262  Void SetActivated();
9263 };
9264 
9269  enum EType {
9270  NewAchievement,
9271  };
9275  const EType Type;
9280 };
9281 
9289  const Ident UserId;
9294 };
9295 
9303  const Ident UserId;
9312 };
9313 
9321  const Text TitleId;
9329  const Text Description;
9333  const Text IconUrl;
9334 };
9335 
9343  const Text TitleId;
9351  const Text Description;
9352 };
9353 
9365  const Text Name;
9374 };
9375 
9380  enum Type {
9381  LayerCustomEvent,
9382  KeyPress,
9383  (reserved),
9384  MenuNavigation,
9385  ChildModuleEvent,
9386  ParentModuleEvent,
9387  PlaygroundScriptEvent,
9388  };
9392  const Text PlaygroundScriptEventType;
9396  const Text[] PlaygroundScriptEventData;
9397 };
9398 
9403 struct CPlaygroundClient : public CNod {
9407  const CMap Map;
9411  const Integer GameTime;
9415  const CUser LocalUser;
9419  const CUIConfig UI;
9423  const CServerInfo ServerInfo;
9435  const Boolean UseClans;
9439  const Boolean UseForcedClans;
9443  const Boolean IsLoadingScreen;
9447  Void QuitServer(Boolean Silent);
9451  Void QuitServerAndSetResult(Boolean Silent,Text Type,Text[] Data);
9455  Void JoinTeam1();
9459  Void JoinTeam2();
9463  const CTeam[] Teams;
9467  Void RequestSpectatorClient(Boolean Spectator);
9471  Void SetSpectateTarget(Text Player);
9475  Void ShowProfile(Text Player);
9479  Boolean DisablePlayingStateTracking;
9480 };
9481 
9486 struct CUIConfig : public CNod {
9487  enum EUISequence {
9488  None,
9489  Playing,
9490  Intro,
9491  Outro,
9492  Podium,
9493  CustomMTClip,
9494  EndRound,
9495  PlayersPresentation,
9496  UIInteraction,
9497  RollingBackgroundIntro,
9498  CustomMTClip_WithUIInteraction,
9499  };
9500  enum EUIStatus {
9501  None,
9502  Normal,
9503  Warning,
9504  Error,
9505  Official,
9506  };
9507  enum EVisibility {
9508  None,
9509  Normal,
9510  Manual,
9511  ForcedHidden,
9512  ForcedVisible,
9513  };
9514  enum ELabelsVisibility {
9515  None,
9516  Never,
9517  Always,
9518  WhenInFrustum,
9519  WhenVisible,
9520  WhenInMiddleOfScreen,
9521  };
9522  enum EAvatarVariant {
9523  Default,
9524  Sad,
9525  Happy,
9526  };
9527  enum EUISound {
9528  Default,
9529  Silence,
9530  StartMatch,
9531  EndMatch,
9532  StartRound,
9533  EndRound,
9534  PhaseChange,
9535  TieBreakPoint,
9536  TiePoint,
9537  VictoryPoint,
9538  Capture,
9539  TimeOut,
9540  Notice,
9541  Warning,
9542  PlayerEliminated,
9543  PlayerHit,
9544  Checkpoint,
9545  Finish,
9546  Record,
9547  ScoreProgress,
9548  RankChange,
9549  Bonus,
9550  FirstHit,
9551  Combo,
9552  PlayersRemaining,
9553  Custom1,
9554  Custom2,
9555  Custom3,
9556  Custom4,
9557  };
9558  enum ENoticeLevel {
9559  Default,
9560  PlayerInfo,
9561  PlayerWarning,
9562  MapInfo,
9563  MapWarning,
9564  MatchInfo,
9565  MatchWarning,
9566  };
9567  enum EObserverMode {
9568  Default,
9569  Forced,
9570  Forbidden,
9571  Manual,
9572  };
9576  EUISequence UISequence;
9580  const Boolean UISequenceIsCompleted;
9584  Text UISequence_CustomMTClip;
9588  Integer UISequence_CustomMTRefTime;
9592  Boolean UISequence_CanSkipIntroMT;
9596  Text UISequence_PodiumPlayersWin;
9600  Text UISequence_PodiumPlayersLose;
9604  Text ManialinkPage;
9608  Text BigMessage;
9612  Text BigMessageAvatarLogin;
9616  EAvatarVariant BigMessageAvatarVariant;
9620  EUISound BigMessageSound;
9624  Integer BigMessageSoundVariant;
9628  Text StatusMessage;
9632  Text GaugeMessage;
9636  Real GaugeRatio;
9640  Integer GaugeClan;
9648  const CUILayer[] UILayers;
9652  Boolean OverlayHideNotices;
9656  Boolean OverlayHideMapInfo;
9660  Boolean OverlayHideOpponentsInfo;
9664  Boolean OverlayHideChat;
9668  Boolean OverlayHideCheckPointList;
9672  Boolean OverlayHideRoundScores;
9676  Boolean OverlayHideCountdown;
9680  Boolean OverlayHideCrosshair;
9684  Boolean OverlayHideGauges;
9688  Boolean OverlayHideConsumables;
9692  Boolean OverlayHide321Go;
9696  Boolean OverlayHideBackground;
9700  Boolean OverlayHideChrono;
9704  Boolean OverlayHideSpeedAndDist;
9708  Boolean OverlayHidePersonnalBestAndRank;
9712  Boolean OverlayHidePosition;
9716  Boolean OverlayHideCheckPointTime;
9720  Boolean OverlayHideEndMapLadderRecap;
9724  Boolean OverlayHideMultilapInfos;
9728  Boolean OverlayHideSpectatorControllers;
9732  Boolean OverlayHideSpectatorInfos;
9736  Boolean OverlayChatHideAvatar;
9744  Vec2 OverlayChatOffset;
9748  Vec2 CountdownCoord;
9752  Boolean NoticesFilter_HidePlayerInfo;
9756  Boolean NoticesFilter_HidePlayerWarning;
9760  Boolean NoticesFilter_HidePlayerInfoIfNotMe;
9764  Boolean NoticesFilter_HidePlayerWarningIfNotMe;
9768  Boolean NoticesFilter_HideMapInfo;
9772  Boolean NoticesFilter_HideMapWarning;
9776  Boolean NoticesFilter_HideMatchInfo;
9780  Boolean NoticesFilter_HideMatchWarning;
9784  ENoticeLevel NoticesFilter_LevelToShowAsBigMessage;
9788  Text ScoreTable;
9792  EVisibility ScoreTableVisibility;
9796  Text SmallScoreTable;
9800  EVisibility SmallScoreTableVisibility;
9804  Boolean ScoreTableOnlyManialink;
9808  Boolean AltMenuNoDefaultScores;
9812  Boolean AltMenuNoCustomScores;
9816  Boolean OverlayScoreSummary;
9820  Ident ScoreSummary_Player1;
9824  Integer ScoreSummary_Points1;
9828  Integer ScoreSummary_RoundPoints1;
9832  Integer ScoreSummary_MatchPoints1;
9836  Real ScoreSummary_Gauge1;
9840  Ident ScoreSummary_Player2;
9844  Integer ScoreSummary_Points2;
9848  Integer ScoreSummary_RoundPoints2;
9852  Integer ScoreSummary_MatchPoints2;
9856  Real ScoreSummary_Gauge2;
9860  Boolean ScreenIn3dHideScoreSummary;
9864  Boolean ScreenIn3dHideVersus;
9868  Integer CountdownEndTime;
9872  EUIStatus UIStatus;
9876  ELabelsVisibility AlliesLabelsVisibility;
9880  EVisibility AlliesLabelsShowGauges;
9884  EVisibility AlliesLabelsShowNames;
9892  ELabelsVisibility TeamLabelsVisibility;
9896  EVisibility TeamLabelsShowGauges;
9900  EVisibility TeamLabelsShowNames;
9904  ELabelsVisibility OpposingTeamLabelsVisibility;
9908  EVisibility OpposingTeamLabelsShowGauges;
9912  EVisibility OpposingTeamLabelsShowNames;
9916  Boolean ForceSpectator;
9920  Integer SpectatorForceCameraType;
9924  Ident SpectatorAutoTarget;
9928  Ident SpectatorForcedTarget;
9932  Integer SpectatorForcedClan;
9936  Real SpectatorCamAutoLatitude;
9940  Real SpectatorCamAutoLongitude;
9944  Real SpectatorCamAutoRadius;
9948  EObserverMode SpectatorObserverMode;
9952  Void SendChat(Text Text);
9956  Void SendNotice(Text Text,ENoticeLevel Level,CUser Avatar,EAvatarVariant AvatarVariant,EUISound Sound,Integer SoundVariant);
9960  Text GetLayerManialinkAction(CUILayer Layer);
9964  Void ClearLayerManialinkAction(CUILayer Layer);
9965 };
9966 
9970 struct CCollector : public CNod {
9971  enum EProdState {
9972  Aborted,
9973  GameBox,
9974  DevBuild,
9975  Release,
9976  };
9980  const Text Name;
9984  Text PageName;
9988  Integer InterfaceNumber;
9992  const CImage Icon;
9993 };
9994 
9999  enum EnumAutoTerrainPlaceType {
10000  Auto,
10001  Force,
10002  DoNotPlace,
10003  DoNotDestroy,
10004  };
10005 };
10006 
10011 };
10012 
10016 struct CBlockUnit : public CNod {
10020  const Int3 Offset;
10024  const CBlockUnitModel BlockUnitModel;
10028  const CBlock Block;
10029 };
10030 
10035 struct CTeam : public CNod {
10039  Text Name;
10043  Text ZonePath;
10047  Text City;
10051  Text EmblemUrl;
10055  Text PresentationManialinkUrl;
10059  Text ClubLinkUrl;
10063  Vec3 ColorPrimary;
10067  Vec3 ColorSecondary;
10071  const Text ColorText;
10075  const Text ColorizedName;
10076 };
10077 
10081 struct CUIConfigMgr : public CNod {
10085  Void ResetAll();
10089  const CUIConfig UIAll;
10093  const CUIConfig[] UI;
10097  CUIConfig GetUI(CPlayer Player);
10101  CUIConfig GetUI(CUser User);
10105  const CUILayer[] UILayers;
10109  CUILayer UILayerCreate();
10113  Void UILayerDestroy(CUILayer Layer);
10117  Void UILayerDestroyAll();
10121  const CUILayer[] UIReplayLayers;
10125  Integer UISequenceMaxDuration;
10129  Boolean HoldLoadingScreen;
10130 };
10131 
10148 };
10149 
10154 struct CXmlRpc : public CNod {
10158  const CXmlRpcEvent[] PendingEvents;
10162  Void SendCallback(Text Param1,Text Param2);
10166  Void SendCallbackArray(Text Type,Text[] Data);
10170  Void SendCallback_BeginRound();
10174  Void SendCallback_EndRound();
10175 };
10176 
10181 struct CPlayer : public CNod {
10185  const CUser User;
10189  const Integer RequestedClan;
10193  const Boolean RequestsSpectate;
10194 };
10195 
10199 struct CSmPlayerDriver : public CNod {
10200  enum ESmDriverBehaviour {
10201  Static,
10202  Turret,
10203  Scripted,
10204  IA,
10205  Patrol,
10206  Escape,
10207  Saunter,
10208  };
10209  enum ESmDriverPatrolMode {
10210  OneTrip,
10211  BackAndForth,
10212  Loop,
10213  };
10214  enum ESmAttackFilter {
10215  All,
10216  AllPlayers,
10217  AllBots,
10218  AllOpposite,
10219  OppositePlayers,
10220  OppositeBots,
10221  Nobody,
10222  };
10226  ESmDriverBehaviour Behaviour;
10230  Real AggroRadius;
10234  Real ShootRadius;
10238  Real TargetMinDistance;
10242  Real DisengageDistance;
10246  Real PathSpeedCoef;
10250  Real Accuracy;
10254  Integer ReactionTime;
10258  Integer ShootPeriodMin;
10262  Integer ShootPeriodMax;
10266  Boolean RocketAnticipation;
10270  Real Fov;
10274  ESmAttackFilter AttackFilter;
10278  const CSmPlayer Target;
10282  const Boolean IsStuck;
10286  Boolean IsFlying;
10290  const CSmPlayer Owner;
10294  Integer PathOffset;
10298  Real Agressivity;
10302  Boolean UseOldShootingSystem;
10306  ESmDriverPatrolMode Patrol_Mode;
10310  Vec3 Escape_AnchorPoint;
10314  Real Escape_DistanceSafe;
10318  Real Escape_DistanceMinEscape;
10322  Real Escape_DistanceMaxEscape;
10326  Vec3 Saunter_AnchorPoint;
10330  Integer Saunter_BaseChillingTime;
10334  Integer Saunter_ChillingTimeDelta;
10338  Real Saunter_Radius;
10342  Boolean Scripted_ForceAimInMoveDir;
10346  CSmPlayer ForcedTarget;
10350  CSmPlayer[] TargetsToAvoid;
10351 };
10352 
10356 struct CSmMapSector : public CNod {
10360  const Ident[] PlayersIds;
10361 };
10362 
10367 struct CSmBlockPole : public CSmBlock {
10371  Boolean Captured;
10375  const CSmSector Sector;
10379  const CSmGauge Gauge;
10380 };
10381 
10385 struct CSmMapGate : public CNod {
10389  Integer Clan;
10393  Boolean Automatic;
10397  Boolean ManualClosed;
10401  const Boolean AutoClosed;
10405  Boolean AutoIsActive;
10409  Integer AutoCloseDelay;
10413  Integer AutoOpenSpeed;
10414 };
10415 
10419 struct CSmMapGauge : public CNod {
10423  Integer Clan;
10431  Integer Value;
10435  Integer Max;
10439  Integer Speed;
10443  Boolean Captured;
10444 };
10445 
10449 struct CSmMapPlayerSpawn : public CNod {
10450 };
10451 
10455 struct CSmMapBotPath : public CNod {
10459  const Integer Clan;
10463  const Vec3[] Path;
10467  const Boolean IsFlying;
10468 };
10469 
10473 struct CSmMapBotSpawn : public CNod {
10477  const Boolean IsFlying;
10481  const Ident BotModelId;
10482 };
10483 
10487 struct CSmMapObjectAnchor : public CNod {
10491  const Text ItemName;
10495  const Ident ItemModelId;
10496 };
10497 
10502 struct CScore : public CNod {
10506  const CUser User;
10510  const Boolean IsRegisteredForLadderMatch;
10514  const Real LadderScore;
10518  Integer LadderRankSortValue;
10522  Real LadderMatchScoreValue;
10526  Integer LadderClan;
10527 };
10528 
10533 struct CTrackManiaScore : public CTmScore {
10534 };
10535 
10539 struct CTmResult : public CNod {
10540  enum ETmRaceResultCriteria {
10541  Time,
10542  Stunts,
10543  NbRespawns,
10544  CheckpointsProgress,
10545  None,
10546  };
10550  Integer Time;
10554  Integer StuntsScore;
10558  Integer NbRespawns;
10562  Integer[] Checkpoints;
10566  Integer Compare(CTmResult Other,ETmRaceResultCriteria Criteria);
10567 };
10568 
10572 struct CXmlNode : public CNod {
10576  const Text Name;
10580  const Text TextContents;
10584  const Text TextRawContents;
10588  const Text TextRecursiveContents;
10592  const CXmlNode[] Children;
10596  Text GetAttributeText(Text Name,Text DefaultValue);
10600  Integer GetAttributeInteger(Text Name,Integer DefaultValue);
10604  Real GetAttributeReal(Text Name,Real DefaultValue);
10608  Boolean GetAttributeBoolean(Text Name,Boolean DefaultValue);
10612  CXmlNode GetFirstChild(Text Name);
10613 };
10614 
10618 struct CHighScoreComparison : public CNod {
10622  const CMapInfo MapInfo;
10626  const Text Login;
10630  const Integer RecordTime;
10634  const Integer RecordDate;
10638  const Text RecordDateString;
10642  const Integer RecordElapsedTime;
10646  const Integer RecordCount;
10650  const Text OpponentLogin;
10654  const Text OpponentDisplayName;
10658  const Text OpponentRecordUrl;
10662  const Integer OpponentRecordTime;
10666  const Integer OpponentRecordDate;
10670  const Text OpponentRecordDateString;
10674  const Integer OpponentRecordElapsedTime;
10678  const Integer OpponentRecordCount;
10679 };
10680 
10688  const Text Login;
10692  const Integer BestRecordCount;
10696  const Integer BestRecordLastDate;
10700  const Text BestRecordLastDateString;
10704  const Integer BestRecordElapsedTime;
10708  const Text OpponentLogin;
10712  const Text OpponentDisplayName;
10716  const Integer OpponentBestRecordCount;
10720  const Integer OpponentBestRecordLastDate;
10724  const Text OpponentBestRecordLastDateString;
10728  const Integer OpponentBestRecordElapsedTime;
10729 };
10730 
10738  const Integer Rank;
10742  const Text Login;
10750  const Real Score;
10751 };
10752 
10757 };
10758 
10763 };
10764 
10772  const Text Login;
10785 };
10786 
10791  enum EType {
10792  PluginCustomEvent,
10793  };
10797  const EType Type;
10801  const Text EventType;
10805  const Text[] EventData;
10806 };
10807 
10811 struct CGameUserProfile : public CNod {
10815  Text SkinName;
10819  Vec3 PrimaryColor;
10823  Integer Default123Cam;
10824 };
10825 
10830  enum EFirstPartySignInState {
10831  Unknown,
10832  NotSignedUp,
10833  SignedOut,
10834  SignedIn,
10835  };
10836  enum EMasterServerConnectionStatus {
10837  NotConnected,
10838  Connecting,
10839  Connected,
10840  Disconnecting,
10841  };
10842  enum EMasterServerConnectionDetailedStatus {
10843  NotConnected,
10844  CheckingNetworkAvailability,
10845  CheckingMasterServerConnexion,
10846  WaitingCredentials,
10847  CheckingMasterServerWaitingQueue,
10848  WaitingOnMasterServerQueue,
10849  WaitingSubscriptionCredentials,
10850  CheckingSubscriptionCredentials,
10851  WaitingSubscriptionInfo,
10852  Subscribe,
10853  OpeningSession,
10854  Identifying,
10855  GettingZones,
10856  WaitingNewZone,
10857  ChangingZone,
10858  GettingOnlineProfile,
10859  SynchronizingProfileChunks,
10860  AssociatingKey,
10861  UpdatingProfile,
10862  GettingBannedCryptedChecksumsList,
10863  GettingTitleInfo,
10864  ConnectingToUbiServices,
10865  FinalizingConnection,
10866  Connected,
10867  Disconnecting,
10868  };
10869  enum EMasterServerConnectionError {
10870  None,
10871  NetworkNotAvailable,
10872  FirstPartySignedOut,
10873  NoUbiServicesSession,
10874  MasterServerDisabled,
10875  MasterServerInSafeMode,
10876  KillSwitchEnabled,
10877  BetaBanned,
10878  BetaNotApproved,
10879  NoUplayPC,
10880  };
10881  enum ETaskErrorType {
10882  Success,
10883  Canceled,
10884  Unexpected,
10885  Internal,
10886  DataManager,
10887  PrivilegeManager,
10888  MasterServer,
10889  UbiServices,
10890  UplayPC,
10891  PS4,
10892  XboxOne,
10893  };
10897  const Ident Id;
10901  const Text Login;
10909  const EMasterServerConnectionStatus ConnectionStatus;
10913  const ETaskErrorType LastConnectionErrorType;
10917  const Integer LastConnectionErrorCode;
10921  const Text LastConnectionErrorDescription;
10933  const CNetUbiServicesNews[] UbiServicesSpaceNews;
10937  const CNetUbiServicesNews[] UbiServicesProfileNews;
10938 };
10939 
10943 struct CZone : public CNod {
10947  const Text Name;
10951  const Text Path;
10955  const Text FullPath;
10959  const Text FlagUrl;
10960 };
10961 
10966 };
10967 
10971 struct CBlockModelVariant : public CNod {
10975  Text Name;
10979  const Boolean IsAllUnderground;
10983  const Boolean IsPartUnderground;
10987  const Int3 Size;
10991  const Int3 OffsetBoundingBoxMin;
10995  const Int3 OffsetBoundingBoxMax;
10999  CBlockUnitModel[] BlockUnitModels;
11000 };
11001 
11005 struct CBlockUnitModel : public CNod {
11006  enum CardinalDirEnum {
11007  North,
11008  East,
11009  South,
11010  West,
11011  };
11012  enum MultiDirEnum {
11013  SameDir,
11014  SymmetricalDirs,
11015  AllDir,
11016  OpposedDirOnly,
11017  PerpendicularDirsOnly,
11018  NextDirOnly,
11019  PreviousDirOnly,
11020  };
11024  const Int3 Offset;
11028  const CBlockModelClip[] Clips;
11029 };
11030 
11038  Void SetFooterText(Text FooterText);
11042  Void SetColumnValue(CPlayer Player,Text ColumnName,Text ColumnValue);
11046  Void SetColumnValue(CPlayer Player,Text ColumnName,Integer ColumnValue);
11050  Void SetColumnValue(CPlayer Player,Text ColumnName,Real ColumnValue);
11051 };
11052 
11056 struct CXmlRpcEvent : public CNod {
11057  enum EType {
11058  Unknown,
11059  Callback,
11060  CallbackArray,
11061  };
11065  const EType Type;
11069  const Text Param1;
11073  const Text Param2;
11077  const Text ParamArray1;
11081  const Text[] ParamArray2;
11082 };
11083 
11088 struct CSmBlock : public CSmLandmark {
11092  const CSmBase Base;
11093 };
11094 
11098 struct CSmSector : public CNod {
11102  const Ident[] PlayersIds;
11103 };
11104 
11108 struct CSmGauge : public CNod {
11112  Integer Clan;
11120  Integer Value;
11124  Integer Max;
11128  Integer Speed;
11129 };
11130 
11134 struct CNetUbiServicesNews : public CNod {
11138  const Ident Id;
11142  const Text NewsId;
11146  const Text Type;
11154  const Text Locale;
11158  const Text Title;
11162  const Text Body;
11182  Integer GetPublicationDate(Integer Month,Integer Day,Integer Hour,Integer Minute,Integer Second);
11190  Void GetLinkInfo(Integer LinkIndex,Text Type,Text Param,Text ActionName,Text ActionDescription);
11191 };
11192 
11196 struct CNetMasterHost : public CNod {
11197 };
11198 
11202 struct CBlockModelClip : public CBlockModel {
11203  enum EnumClipType {
11204  ClassicClip,
11205  FreeClipSide,
11206  FreeClipTop,
11207  FreeClipBottom,
11208  };
11209  enum MultiDirEnum {
11210  SameDir,
11211  SymmetricalDirs,
11212  AllDir,
11213  OpposedDirOnly,
11214  PerpendicularDirsOnly,
11215  NextDirOnly,
11216  PreviousDirOnly,
11217  };
11218 };
11219 
11224 struct CSmLandmark : public CNod {
11228  const Text Tag;
11232  const Integer Order;
11236  const Vec3 Position;
11240  const Vec3 DirFront;
11241 };
11242 
11246 struct CSmBase : public CNod {
11250  Integer Clan;
11254  Boolean IsActive;
11258  const Integer NumberOfCollectors;
11259 };
11260 
11261 namespace MathLib {
11262 
11266  Integer Abs(Integer Argument1);
11270  Real Abs(Real Argument1);
11274  Real ToReal(Integer Argument1);
11278  Real Sin(Real Argument1);
11282  Real Cos(Real Argument1);
11286  Real Tan(Real Argument1);
11290  Real Atan2(Real Argument1, Real Argument2);
11294  Real Exp(Real Argument1);
11298  Real Rand(Real Argument1, Real Argument2);
11302  Real Rand(Real Argument1, Real Argument2, Integer Argument3);
11306  Integer Rand(Integer Argument1, Integer Argument2);
11310  Integer Rand(Integer Argument1, Integer Argument2, Integer Argument3);
11314  Real NearestReal(Integer Argument1);
11318  Integer NearestInteger(Real Argument1);
11322  Integer FloorInteger(Real Argument1);
11326  Integer CeilingInteger(Real Argument1);
11330  Real Distance(Vec3 Argument1, Vec3 Argument2);
11334  Real DotProduct(Vec3 Argument1, Vec3 Argument2);
11338  Vec3 CrossProduct(Vec3 Argument1, Vec3 Argument2);
11342  Real Angle(Vec3 Argument1, Vec3 Argument2);
11346  Real OrientedAngle(Vec3 Argument1, Vec3 Argument2);
11350  Real PI();
11354  Real Asin(Real Argument1);
11358  Real Acos(Real Argument1);
11362  Real Pow(Real Argument1, Real Argument2);
11366  Real Ln(Real Argument1);
11370  Real Sqrt(Real Argument1);
11376  Integer Max(Integer _A, Integer _B);
11382  Integer Min(Integer _A, Integer _B);
11388  Integer Clamp(Integer _X, Integer _Min, Integer _Max);
11394  Real Max(Real _A, Real _B);
11400  Real Min(Real _A, Real _B);
11406  Real Clamp(Real _X, Real _Min, Real _Max);
11412  Real Mod(Real _X, Real _Min, Real _Max);
11413 };
11414 
11415 namespace TextLib {
11416 
11424  Real ToReal(Text _Text);
11432  Integer ToInteger(Text _Text);
11440  Vec3 ToColor(Text _Text);
11451  Text SubString(Text _Text, Integer _Start, Integer _Length);
11462  Text SubText(Text _Text, Integer _Start, Integer _Length);
11469  Integer Length(Text _Text);
11476  Text ToText(Integer _Integer);
11483  Text ToText(Real _Real);
11490  Text ToText(Boolean _Boolean);
11497  Text ToText(Int3 _Int3);
11504  Text ToText(Vec3 _Vec3);
11515  Text TimeToText(Integer _Time, Boolean _IncludeCentiSeconds);
11523  Text TimeToText(Integer _Time);
11530  Text ColorToText(Vec3 _Color);
11534  Text FormatInteger(Integer Argument1, Integer Argument2);
11544  Text FormatReal(Real _Value, Integer _FPartLength, Boolean _HideZeroes, Boolean _HideDot);
11550  Text ToUpperCase(Text _TextToChange);
11556  Text ToLowerCase(Text _TextToChange);
11562  Text CloseStyleTags(Text _String);
11571  Boolean CompareWithoutFormat(Text _Text1, Text _Text2, Boolean _IsCaseSensitive);
11583  Boolean Find(Text _TextToFind, Text _TextToSearchIn, Boolean _IsFormatSensitive, Boolean _IsCaseSensitive);
11587  Text Compose(Text Argument1);
11591  Text Compose(Text Argument1, Text Argument2);
11595  Text Compose(Text Argument1, Text Argument2, Text Argument3);
11599  Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4);
11603  Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5);
11607  Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5, Text Argument6);
11611  Text MLEncode(Text Argument1);
11615  Text URLEncode(Text Argument1);
11619  Text StripFormatting(Text Argument1);
11627  Text[Void] Split(Text _Separators, Text _Text);
11635  Text Join(Text _Separator, Text[Void] _Texts);
11639  Text SmartSplit(Text Argument1, Integer Argument2, Integer Argument3, Integer Argument4);
11643  Text Trim(Text Argument1);
11647  Text ReplaceChars(Text Argument1, Text Argument2, Text Argument3);
11656  Text Replace(Text _Text, Text _ToReplace, Text _Replacement);
11663  Text GetTranslatedText(Text _Text);
11664 };
11665 
11666 namespace MapUnits {
11667 
11671  CardinalDirections GetNextDir(CardinalDirections Argument1);
11675  CardinalDirections GetPreviousDir(CardinalDirections Argument1);
11679  CardinalDirections GetOpposedDir(CardinalDirections Argument1);
11683  CardinalDirections AddDirs(CardinalDirections Argument1, CardinalDirections Argument2);
11687  CardinalDirections SubDirs(CardinalDirections Argument1, CardinalDirections Argument2);
11691  Int3 GetNeighbourCoord(Int3 Argument1, CardinalDirections Argument2);
11695  Int3 GetRotatedOffset(Int3 Argument1, CardinalDirections Argument2);
11699  Int3 GetRotatedOffsetPositive(Int3 Argument1, CardinalDirections Argument2, Int3 Argument3);
11700 };
11701 
11702 namespace AnimLib {
11703 
11709  Real SmoothStep(Real _X);
11715  Real Ease(Text _Function, Real _T, Real _Base, Real _Change, Real _Duration);
11721  Real EaseLinear(Integer _T, Real _Base, Real _Change, Integer _Duration);
11727  Real EaseInQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
11733  Real EaseOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
11739  Real EaseInOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
11745  Real EaseInCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
11751  Real EaseOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
11757  Real EaseInOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
11763  Real EaseInQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
11769  Real EaseOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
11775  Real EaseInOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
11781  Real EaseInQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
11787  Real EaseOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
11793  Real EaseInOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
11799  Real EaseInSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
11805  Real EaseOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
11811  Real EaseInOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
11817  Real EaseInExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
11823  Real EaseOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
11829  Real EaseInOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
11835  Real EaseInCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
11841  Real EaseOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
11847  Real EaseInOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
11853  Real EaseInBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
11859  Real EaseOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
11865  Real EaseInOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
11871  Real EaseInElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
11877  Real EaseOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
11883  Real EaseInOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
11889  Real EaseInElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
11895  Real EaseOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
11901  Real EaseInOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
11907  Real EaseInBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
11913  Real EaseOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
11919  Real EaseInOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
11920 };
11921 
Definition: Turbo.h:10135
const CGameAchievementScriptStatDesc[] StatDescriptions
Definition: Turbo.h:5430
Real Ratio
Definition: Turbo.h:550
const CSmPlayer Player
Definition: Turbo.h:6854
Definition: Turbo.h:5
const Text MediaUrl
Definition: Turbo.h:11166
Definition: Turbo.h:1207
Definition: Turbo.h:4214
Real AmmoGain
Definition: Turbo.h:6241
Definition: Turbo.h:2114
Definition: Turbo.h:9073
Definition: Turbo.h:2762
Definition: Turbo.h:8974
Integer GlobalLeaderBoard_GetPlayerRanking(Ident UserId, Text Zone)
Void ReleaseTaskResult(Ident TaskId)
Definition: Turbo.h:7690
const ETaskErrorType ErrorType
Definition: Turbo.h:8767
Definition: Turbo.h:458
Real JumpPower
Definition: Turbo.h:6309
Void SendCustomEvent(Text Type, Text[] Data)
CWebServicesTaskResult_RealLeaderBoard GlobalLeaderBoard_GetPlayerList(Ident UserId, Text Zone, Integer FromIndex, Integer Count)
const CGameAchievementScriptAchievement[] Achievements
Definition: Turbo.h:5418
const Text ActionId
Definition: Turbo.h:9361
const Text Url
Definition: Turbo.h:8118
Real ValueReal
Definition: Turbo.h:10427
Definition: Turbo.h:11098
Definition: Turbo.h:10154
Definition: Turbo.h:3669
Definition: Turbo.h:8091
const Text DisplayName
Definition: Turbo.h:9347
Definition: Turbo.h:1
Real HMD_HUD_Distance
Definition: Turbo.h:5275
Definition: Turbo.h:10199
const Text Login
Definition: Turbo.h:8795
Definition: Turbo.h:1138
Boolean AutoProcessing
Definition: Turbo.h:8172
const Real RightStickX
Definition: Turbo.h:8545
Definition: Turbo.h:10943
Definition: Turbo.h:9105
Definition: Turbo.h:10455
Definition: Turbo.h:10533
const CHighScoreComparison[] PlayerBestRecordsComparison
Definition: Turbo.h:8871
const Integer DisplayTime
Definition: Turbo.h:11178
const Text Login
Definition: Turbo.h:10901
Definition: Turbo.h:5476
Definition: Turbo.h:4527
Definition: Turbo.h:7
CUIConfig UI
Definition: Turbo.h:5527
const Text Body
Definition: Turbo.h:11162
Definition: Turbo.h:891
const Text DisplayName
Definition: Turbo.h:10905
Text MarkersXML
Definition: Turbo.h:9644
Definition: Turbo.h:8114
Definition: Turbo.h:2005
const Text ServerLogin
Definition: Turbo.h:10780
Definition: Turbo.h:4371
Definition: Turbo.h:419
Definition: Turbo.h:10965
const CWebServicesTaskResult[] TaskResults
Definition: Turbo.h:4036
Definition: Turbo.h:7151
Definition: Turbo.h:11246
Definition: Turbo.h:4
Definition: Turbo.h:9379
const Text BuddyLogin
Definition: Turbo.h:8867
const Integer FromIndex
Definition: Turbo.h:8901
const Ident UserId
Definition: Turbo.h:9303
CUIConfig UI
Definition: Turbo.h:6931
Definition: Turbo.h:8579
Definition: Turbo.h:4497
Definition: Turbo.h:4595
Definition: Turbo.h:272
Definition: Turbo.h:1108
const Text Placement
Definition: Turbo.h:11150
Definition: Turbo.h:10081
Boolean HideAlwaysCursorDirectionalArrow
Definition: Turbo.h:1799
const CHighScoreComparisonSummary[] BuddiesComparison
Definition: Turbo.h:8833
CWebServicesTaskResult Campaign_SetNewMapRecord(Ident UserId, Text MapUid, CGhost Ghost)
Definition: Turbo.h:10016
const Integer Count
Definition: Turbo.h:8905
const Text DisplayName
Definition: Turbo.h:10776
const Boolean HasUplayProfile
Definition: Turbo.h:10925
const Text Path
Definition: Turbo.h:9077
Real EnergyLevel
Definition: Turbo.h:6329
Definition: Turbo.h:9299
Definition: Turbo.h:5805
Definition: Turbo.h:11134
Definition: Turbo.h:15
Definition: Turbo.h:6816
Definition: Turbo.h:3762
Definition: Turbo.h:2852
Definition: Turbo.h:9998
Real LPF_Q
Definition: Turbo.h:8318
const CManiaplanetPluginInterface[] Interfaces
Definition: Turbo.h:4100
const Integer ZoneCount
Definition: Turbo.h:9081
const Text Name
Definition: Turbo.h:9365
Definition: Turbo.h:8202
const Real LeftStickX
Definition: Turbo.h:8537
Definition: Turbo.h:10010
Definition: Turbo.h:3547
Definition: Turbo.h:650
Real MeshRotation_MaxSpeed
Definition: Turbo.h:2033
const Text MediaType
Definition: Turbo.h:11170
Definition: Turbo.h:608
Definition: Turbo.h:10487
Real Width
Definition: Turbo.h:4391
Definition: Turbo.h:5285
Boolean TurboClassicMapEditorMode
Definition: Turbo.h:1819
CHttpRequest CreateGet(Text Url)
Real GradingRatio
Definition: Turbo.h:554
const Boolean IsSpectator
Definition: Turbo.h:9427
Integer AlliesLabelsMaxCount
Definition: Turbo.h:9888
const Real RightStickY
Definition: Turbo.h:8549
Definition: Turbo.h:11202
const Boolean IsSpectatorClient
Definition: Turbo.h:9431
Definition: Turbo.h:8956
const Text DisplayName
Definition: Turbo.h:9325
Definition: Turbo.h:5713
Definition: Turbo.h:7874
Real StaminaMax
Definition: Turbo.h:6293
Definition: Turbo.h:5383
Definition: Turbo.h:5623
const Integer LinksCount
Definition: Turbo.h:11186
const CGameAchievementScriptAchievementDesc AchievementDesc
Definition: Turbo.h:9293
const Real GetLinearHue
Definition: Turbo.h:6337
Definition: Turbo.h:10790
Definition: Turbo.h:7045
Definition: Turbo.h:11088
Definition: Turbo.h:5845
Real ThrowSpeed
Definition: Turbo.h:6353
const Text Title
Definition: Turbo.h:11158
Real HMD_MoveScale
Definition: Turbo.h:5271
Boolean IsTrustedPlugin_DevBuild
Definition: Turbo.h:1791
const Boolean IsProcessing
Definition: Turbo.h:8751
Real CameraTransitionDuration
Definition: Turbo.h:2029
Real ArmorPower
Definition: Turbo.h:6285
Definition: Turbo.h:1082
Definition: Turbo.h:3
const Ident UserId
Definition: Turbo.h:9289
Definition: Turbo.h:340
Definition: Turbo.h:3930
Definition: Turbo.h:10449
const Text Login
Definition: Turbo.h:10742
const Real L2
Definition: Turbo.h:8553
const EMasterServerConnectionStatus ConnectionStatus
Definition: Turbo.h:10909
const Boolean HasAcceptedNDA
Definition: Turbo.h:10929
Definition: Turbo.h:8
Definition: Turbo.h:10811
Definition: Turbo.h:9285
Definition: Turbo.h:534
Definition: Turbo.h:3130
Definition: Turbo.h:715
Definition: Turbo.h:4107
CWebServicesTaskResult CheckPrivilege(Ident UserId, EPrivilege Privilege)
const CMap Map
Definition: Turbo.h:9407
const EResult LatestResult
Definition: Turbo.h:5309
Real MeshRotation_Acceleration
Definition: Turbo.h:2037
Real HPF_CutoffRatio
Definition: Turbo.h:8322
const CInputManager Input
Definition: Turbo.h:6077
Definition: Turbo.h:8661
const Integer Value
Definition: Turbo.h:9373
Definition: Turbo.h:5410
Definition: Turbo.h:905
const Real R2
Definition: Turbo.h:8557
Definition: Turbo.h:9268
const Boolean HasSucceeded
Definition: Turbo.h:8755
Definition: Turbo.h:9
Integer GlobalLeaderBoard_GetPlayerCount(Text Zone)
Definition: Turbo.h:1222
const CGameScriptNotificationsConsumerEvent[] Events
Definition: Turbo.h:5392
Definition: Turbo.h:8256
Definition: Turbo.h:4662
const EditorStatus EditorStatus
Definition: Turbo.h:1795
Definition: Turbo.h:6881
Definition: Turbo.h:3411
Definition: Turbo.h:10473
Definition: Turbo.h:5774
Definition: Turbo.h:993
Integer OverlayChatLineCount
Definition: Turbo.h:9740
Integer MapLeaderBoard_GetPlayerCount(Text MapUid, Text Zone)
Definition: Turbo.h:2
Definition: Turbo.h:10419
Definition: Turbo.h:4020
Definition: Turbo.h:10385
EMasterServerScoreStatus ScoreStatus_GetMasterServerStatus(Ident UserId)
Definition: Turbo.h:11196
Definition: Turbo.h:9339
const Integer Priority
Definition: Turbo.h:11174
const Text Result
Definition: Turbo.h:8122
const CGameScriptNotificationsConsumerNotification Notification
Definition: Turbo.h:9219
Definition: Turbo.h:11108
Definition: Turbo.h:10971
Integer Campaign_GetMapMultiAsyncLevel(Ident UserId, Text MapUid)
const Boolean HasFailed
Definition: Turbo.h:8759
Definition: Turbo.h:10367
const ESystemPlatform SystemPlatform
Definition: Turbo.h:6089
const Boolean IsReady
Definition: Turbo.h:5305
const CHighScoreComparison[] BuddyBestRecordsComparison
Definition: Turbo.h:8875
Definition: Turbo.h:9357
const Boolean IsCanceled
Definition: Turbo.h:8763
Definition: Turbo.h:6773
Integer CoppersLimit
Definition: Turbo.h:1815
Definition: Turbo.h:5511
const Integer ErrorCode
Definition: Turbo.h:8771
const CGameAchievementScriptStat[] Stats
Definition: Turbo.h:5422
Definition: Turbo.h:1076
Definition: Turbo.h:3190
Definition: Turbo.h:8785
Definition: Turbo.h:2548
Definition: Turbo.h:9486
CManiaplanetPluginInterface GetInterface(Text Name)
Void ReleaseTaskResult(Ident TaskId)
const Vec3[] MapCheckpointPos
Definition: Turbo.h:2833
const Text Type
Definition: Turbo.h:11146
Definition: Turbo.h:3163
Definition: Turbo.h:3505
const CWebServicesTaskResult[] TaskResults
Definition: Turbo.h:3946
Real SpeedPower
Definition: Turbo.h:6305
Definition: Turbo.h:9011
const Boolean IsOnline
Definition: Turbo.h:10784
Definition: Turbo.h:10539
const Text NewsId
Definition: Turbo.h:11142
Integer Campaign_GetMapRecord(Ident UserId, Text MapUid)
Real CursorBrightnessFactor
Definition: Turbo.h:1803
Definition: Turbo.h:9403
Definition: Turbo.h:6463
Definition: Turbo.h:643
Definition: Turbo.h:6722
Definition: Turbo.h:8424
Definition: Turbo.h:8981
Definition: Turbo.h:5757
Definition: Turbo.h:4062
const CGameScriptNotificationsConsumerNotification[] Notifications
Definition: Turbo.h:5396
Definition: Turbo.h:4092
Definition: Turbo.h:10356
const CGameAchievementScriptEvent[] PendingEvents
Definition: Turbo.h:5414
CWebServicesTaskResult_GhostHandle Campaign_GetMapRecordGhost(Ident UserId, Text MapUid)
Definition: Turbo.h:5675
Definition: Turbo.h:283
Definition: Turbo.h:8136
Real MasterMusicVolume
Definition: Turbo.h:4903
Definition: Turbo.h:10181
const Real Score
Definition: Turbo.h:10750
Real StaminaGain
Definition: Turbo.h:6297
Definition: Turbo.h:8052
const ESystemSkuIdentifier SystemSkuIdentifier
Definition: Turbo.h:6093
Definition: Turbo.h:10768
Definition: Turbo.h:6
Definition: Turbo.h:3377
Definition: Turbo.h:3479
Definition: Turbo.h:3565
const CGameRealLeaderBoardInfo[] LeaderBoardInfo
Definition: Turbo.h:8909
CUIConfig ClientUI
Definition: Turbo.h:5531
Real ValueReal
Definition: Turbo.h:11116
Real StaminaPower
Definition: Turbo.h:6301
Definition: Turbo.h:7095
Definition: Turbo.h:8707
Definition: Turbo.h:10035
Definition: Turbo.h:10734
Definition: Turbo.h:7629
Real ZoomFactor
Definition: Turbo.h:624
const Text ErrorDescription
Definition: Turbo.h:8775
Real LPF_CutoffRatio
Definition: Turbo.h:8314
const CUser LocalUser
Definition: Turbo.h:68
Definition: Turbo.h:7729
Definition: Turbo.h:6216
Real HPF_Q
Definition: Turbo.h:8326
Definition: Turbo.h:10572
Definition: Turbo.h:10502
const Integer StatusCode
Definition: Turbo.h:8126
Definition: Turbo.h:1994
const Boolean IsSpectatorClient
Definition: Turbo.h:6943
Definition: Turbo.h:10618
Definition: Turbo.h:1172
Definition: Turbo.h:3152
const CGameAchievementScriptStatDesc StatDesc
Definition: Turbo.h:9307
Definition: Turbo.h:2781
const Text Description
Definition: Turbo.h:9369
const Real LeftStickY
Definition: Turbo.h:8541
const Integer Value
Definition: Turbo.h:9311
Definition: Turbo.h:10829
CWebServicesTaskResult_CheckTargetedPrivilegeResultScript CheckTargetedPrivilege(Ident UserId, EPrivilege Privilege)
CUIConfig ClientUI
Definition: Turbo.h:6935
const CDataMgr DataMgr
Definition: Turbo.h:6081
const CGameMasterServerPlayerOnlinePresence[] OnlinePresences
Definition: Turbo.h:8941
const Integer Rank
Definition: Turbo.h:10738
Definition: Turbo.h:8364
Definition: Turbo.h:9970
const Vec3[] MapCheckpointPos
Definition: Turbo.h:3111
Real MasterSoundVolume
Definition: Turbo.h:4899
Definition: Turbo.h:10684
Definition: Turbo.h:11056
const CGameAchievementScriptAchievementDesc[] AchievementDescriptions
Definition: Turbo.h:5426
Real AmmoPower
Definition: Turbo.h:6245
Definition: Turbo.h:9055
Void TestMapFromCoordWithMapTypeScript(Int3 Coord, CardinalDirections Dir)
const EType Type
Definition: Turbo.h:9275
Definition: Turbo.h:8730
Definition: Turbo.h:6703
const Text Locale
Definition: Turbo.h:11154
const Boolean IsSpectator
Definition: Turbo.h:6939
Definition: Turbo.h:5815
Boolean EnableUnlimitedUndoHistory
Definition: Turbo.h:1807
Definition: Turbo.h:11005
Definition: Turbo.h:5868
const CZone[] Zones
Definition: Turbo.h:9085
Definition: Turbo.h:4398
const EType Type
Definition: Turbo.h:9215
Definition: Turbo.h:581
Definition: Turbo.h:5537
Definition: Turbo.h:2619
const Text DisplayName
Definition: Turbo.h:10746
ELocalScoreStatus ScoreStatus_GetLocalStatus(Ident UserId)
const Text Login
Definition: Turbo.h:10772
Definition: Turbo.h:11224
const Integer ZoneLevelCount
Definition: Turbo.h:9019
Integer UndoHistorySize
Definition: Turbo.h:1811
const CGameAchievementScriptAchievement Achievement
Definition: Turbo.h:9279
Definition: Turbo.h:227
Integer MapLeaderBoard_GetPlayerRanking(Ident UserId, Text MapUid, Text Zone)