ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
Loading...
Searching...
No Matches
doc.h
1class Void {};
2class Integer{};
3class Real{};
4class Boolean{};
5class Text{};
6class Vec2{};
7class Vec3{};
8class Int3{};
9class Ident{};
10
15struct CMlScript : public CNod {
16 enum LinkType {
17 ExternalBrowser,
18 ManialinkBrowser,
19 Goto,
20 ExternalFromId,
21 ManialinkFromId,
22 GotoFromId,
23 };
27 const CMlPage Page;
31 const Boolean PageIsVisible;
35 Boolean PageAlwaysUpdateScript;
39 const Integer Now;
43 const Integer Period;
47 const Integer CurrentTime;
55 const CTitle LoadedTitle;
59 const CMlScriptEvent[] PendingEvents;
63 Void Dbg_SetProcessed(CMlScriptEvent Event);
67 Boolean Dbg_WarnOnDroppedEvents;
71 const Real MouseX;
75 const Real MouseY;
79 const Boolean MouseLeftButton;
83 const Boolean MouseRightButton;
87 const Boolean MouseMiddleButton;
91 const Boolean KeyUp;
95 const Boolean KeyDown;
99 const Boolean KeyLeft;
103 const Boolean KeyRight;
107 const Boolean KeyReturn;
111 const Boolean KeySpace;
115 const Boolean KeyDelete;
119 Boolean IsKeyPressed(Integer KeyCode);
123 Boolean EnableMenuNavigationInputs;
127 Void EnableMenuNavigation(Boolean EnableInputs,Boolean WithAutoFocus,CMlControl AutoBackControl,Integer InputPriority);
131 Void EnableMenuNavigation(Boolean EnableInputs,Boolean WithAutoFocus,Boolean WithManualScroll,CMlControl AutoBackControl,Integer InputPriority);
135 const Boolean IsMenuNavigationForeground;
139 Void OpenLink(Text Url,LinkType LinkType);
143 Void TriggerPageAction(Text ActionString);
147 const CParsingManager Xml;
151 const CHttpManager Http;
155 const CVideoManager Video;
159 const CAudioManager Audio;
163 const CInputManager Input;
167 const CDataFileMgr DataFileMgr;
171 const CScoreMgr ScoreMgr;
175 const CAnimManager AnimMgr;
179 const CSystemPlatform System;
187 Void PreloadImage(Text ImageUrl);
191 Void PreloadAll();
195 Text Dbg_DumpDeclareForVariables(CNod Nod,Boolean StatsOnly);
196};
197
202struct CMlEntry : public CMlControl {
203 enum ETextFormat {
204 Basic,
205 Script,
206 Password,
207 Newpassword,
208 };
212 Text Value;
216 Void StartEdition();
220 Void SetText(Text NewText,Boolean SendSubmitEvent);
224 ETextFormat TextFormat;
228 Real Opacity;
232 Vec3 TextColor;
236 Real TextSizeReal;
240 Integer MaxLine;
244 Boolean AutoNewLine;
245};
246
251struct CMlFileEntry : public CMlEntry {
255 Boolean OnlyUserFiles;
259 Void ClearFileNames();
263 const Text FullFileName;
267 const Text RelativeNameToRoot;
271 const Text RelativeNameToTypeFolder;
272};
273
278struct CMlTextEdit : public CMlControl {
279 enum EControlScriptEditorTextFormat {
280 Basic,
281 Script,
282 Password,
283 Newpassword,
284 };
288 Text Value;
292 Void StartEdition();
296 Integer MaxLine;
300 Boolean AutoNewLine;
304 Boolean ShowLineNumbers;
308 Real LineSpacing;
312 const Integer ValueLineCount;
316 Real Opacity;
320 Vec3 TextColor;
324 Real TextSizeReal;
328 EControlScriptEditorTextFormat TextFormat;
329};
330
335struct CMlLabel : public CMlControl {
336 enum EBlendMode {
337 Default,
338 Add,
339 };
343 Text Style;
347 Text Substyle;
351 Text TextFont;
355 Void SetText(Text NewText);
359 Text Value;
363 const Integer ValueLineCount;
367 Integer MaxLine;
371 Real LineSpacing;
375 Boolean AppendEllipsis;
379 Boolean AutoNewLine;
383 Real Opacity;
387 Vec3 TextColor;
391 Real TextSizeReal;
395 EBlendMode Blend;
399 Real ComputeWidth(Text Text);
403 Real ComputeWidth(Text Text,Boolean Translated);
407 Real ComputeHeight(Text Text);
408};
409
414struct CMlMediaPlayer : public CMlControl {
418 Boolean IsInitPlay;
422 Boolean Music;
426 Boolean IsLooping;
430 Real Volume;
434 Text Url;
438 Void Play();
442 Void Stop();
446 Void StopAndRewind();
447};
448
453struct CMlQuad : public CMlControl {
454 enum EKeepRatioMode {
455 Inactive,
456 Clip,
457 Fit,
458 };
459 enum EBlendMode {
460 Default,
461 Add,
462 };
466 Void ChangeImageUrl(Text fieldName);
470 CImage Image;
474 Text ImageUrl;
478 Text ImageUrlFocus;
482 Text Style;
486 Text Substyle;
490 Boolean StyleSelected;
494 const Boolean DownloadInProgress;
498 Vec3 Colorize;
502 Vec3 ModulateColor;
506 Vec3 BgColor;
510 Vec3 BgColorFocus;
514 Real Opacity;
518 EKeepRatioMode KeepRatio;
522 EBlendMode Blend;
526 Void RefreshImages();
527};
528
533struct CMlGauge : public CMlControl {
537 Text Style;
541 Void SetRatio(Real NewRatio);
545 Void SetClan(Integer NewClan);
557 Integer Clan;
561 Vec3 Color;
565 Boolean DrawBackground;
569 Boolean DrawBlockBackground;
573 Boolean CenteredBar;
574};
575
580struct CMlGraph : public CMlControl {
584 Vec2 CoordsMin;
588 Vec2 CoordsMax;
592 CMlGraphCurve AddCurve();
596 Void RemoveCurve(CMlGraphCurve Curve);
600 CMlGraphCurve[] Curves;
601};
602
607struct CMlMinimap : public CMlControl {
611 Vec3 WorldPosition;
615 Vec2 MapPosition;
619 Real MapYaw;
627 Boolean Underground;
631 Boolean DisableAutoUnderground;
635 Void Fog_SetAll(Real Value);
639 Void Fog_ClearDisk(Vec3 WorldCenter,Real Radius,Real FadeSize);
640};
641
646struct CMlCamera : public CMlControl {
647};
648
653struct CMlBrowser : public CMlScript {
654 enum EBuddyResult {
655 Ok,
656 Error,
657 NotFinished,
658 };
666 const CMap CurMap;
670 Void ShowCurMapCard();
674 const EBuddyResult BuddyDoResult;
678 const Text BuddyDoErrorMessage;
682 const Boolean IsInBrowser;
686 Void BrowserBack();
690 Void BrowserQuit();
694 Void BrowserHome();
698 Void BrowserReload();
702 Text BrowserFocusedFrameId;
706 Void SetLocalUserClubLink(Text ClubLink);
707};
708
713struct CManiaApp : public CNod {
714 enum ELinkType {
715 ExternalBrowser,
716 ManialinkBrowser,
717 };
721 const Text ManiaAppUrl;
725 const Text ManiaAppBaseUrl;
729 const Integer Now;
733 const Boolean IsVisible;
737 Integer LayersDefaultManialinkVersion;
741 const CUser LocalUser;
745 const CTitle LoadedTitle;
749 Boolean EnableMenuNavigationInputs;
753 const CUILayer[] UILayers;
757 CUILayer UILayerCreate();
761 Void UILayerDestroy(CUILayer Layer);
765 Void UILayerDestroyAll();
769 Void LayerCustomEvent(CUILayer Layer,Text Type,Text[] Data);
773 Void OpenLink(Text Url,ELinkType LinkType);
781 Void Dialog_Message(Text Message);
785 const CParsingManager Xml;
789 const CHttpManager Http;
793 const CVideoManager Video;
797 const CAudioManager Audio;
801 const CInputManager Input;
805 const CDataFileMgr DataFileMgr;
809 const CScoreMgr ScoreMgr;
813 const CUserV2Manager UserMgr;
817 const CSystemPlatform System;
821 Text Dbg_DumpDeclareForVariables(CNod Nod,Boolean StatsOnly);
822};
823
836 const CTitleControl TitleControl;
837};
838
844 enum EType {
845 LayerCustomEvent,
846 KeyPress,
847 ExternalCustomEvent,
848 MenuNavigation,
849 };
850 enum EMenuNavAction {
851 Up,
852 Right,
853 Left,
854 Down,
855 Select,
856 Cancel,
857 PageUp,
858 PageDown,
859 AppMenu,
860 Action1,
861 Action2,
862 ScrollUp,
863 ScrollDown,
864 };
868 const EType Type;
872 const CUILayer CustomEventLayer;
876 const Text CustomEventType;
880 const Text[] CustomEventData;
884 const Text ExternalEventType;
888 const Text[] ExternalEventData;
892 const EMenuNavAction MenuNavAction;
896 const Boolean IsActionAutoRepeat;
900 const Integer KeyCode;
904 const Text KeyName;
905};
906
911struct CManiaAppTitle : public CManiaApp {
915 const CManiaAppEvent[] PendingEvents;
919 Void Menu_Quit();
923 Void Menu_Home();
927 Void Menu_Solo();
931 Void Menu_Local();
935 Void Menu_Internet();
939 Void Menu_Editor();
943 Void Menu_Profile();
947 Boolean LoadingScreenRequireKeyPressed;
951 Boolean DontScaleMainMenuForHMD;
955 const CTitleControl TitleControl;
963 const CNotificationsConsumer Notifications;
967 const Text ExternalRequest_Type;
971 const Text[] ExternalRequest_Data;
979 const CAchievementsManager AchievementsManager;
983 const CBadgeManager BadgeManager;
987 const CMatchSettingsManager MatchSettingsManager;
991 Void Authentication_GetToken(Ident UserId,Text AppLogin);
995 const Boolean Authentication_GetTokenResponseReceived;
999 const Integer Authentication_ErrorCode;
1003 const Text Authentication_Token;
1004};
1005
1016
1025 const CStation Station;
1029 Void EnterStation();
1033 Void Maker_EditTitle(Text EditedTitleId);
1037 Void Maker_EditNewTitle(Text EditedTitleName);
1041 const CPackCreatorTitleInfo[] Maker_EditedTitles;
1042};
1043
1047struct CModulePlayground : public CNod {
1051 Void Hide();
1055 Void Hide(CUIConfig UIConfig);
1059 Void Show();
1063 Void Show(CUIConfig UIConfig);
1067 Boolean IsVisible(CUIConfig UIConfig);
1068};
1069
1077 Integer AddItem(CPlayer Player,Text Url,Integer Quantity);
1081 Boolean AddAction(CPlayer Player,Text Url);
1085 Integer RemoveInventoryItem(CPlayer Player,Text Url,Integer Quantity);
1089 Integer GetInventoryItemQuantity(CPlayer Player,Text Url);
1093 Boolean IsInventoryItemStored(CPlayer Player,Text Url);
1097 Text[] GetStoredItemsList(CPlayer Player);
1101 Text[] GetStoredActionsList(CPlayer Player);
1102};
1103
1111 Void Reset();
1115 Void Reset(CPlayer Player);
1119 Void SetMoney(CPlayer Player,Integer Amount);
1123 Integer GetMoney(CPlayer Player);
1127 Boolean AddMoney(CPlayer Player,Integer Amount);
1131 Boolean SubMoney(CPlayer Player,Integer Amount);
1135 Void SetActionLevel(CPlayer Player,Text ActionUrl,Integer ActionLevel);
1139 Integer GetActionLevel(CPlayer Player,Text ActionUrl);
1143 Void SetItemCanBeBought(CPlayer Player,Text ActionUrl,Boolean CanBeBought);
1147 Boolean GetItemCanBeBought(CPlayer Player,Text ActionUrl);
1148};
1149
1154 enum EColumnType {
1155 CustomString,
1156 CustomNatural,
1157 CustomInteger,
1158 CustomReal,
1159 CustomTime,
1160 Avatar,
1161 Name,
1162 ManiaStars,
1163 Tools,
1164 Tags,
1165 TMBestTime,
1166 TMPrevTime,
1167 TMBestLapTime,
1168 TMStunts,
1169 TMRespawns,
1170 TMCheckpoints,
1171 TMPoints,
1172 TMPrevRaceDeltaPoints,
1173 SMPoints,
1174 SMRoundPoints,
1175 };
1176 enum EScoreSortOrder {
1177 Default,
1178 Name,
1179 LadderRanking,
1180 TMPoints,
1181 TMBestTime,
1182 TMStunts,
1183 TMRespawns,
1184 TMCheckpoints,
1185 TMPrevTime,
1186 SMPoints,
1187 SMRoundPoints,
1188 };
1192 Void SetFooterText(Text FooterText);
1196 Void ResetCustomColumns(CScore Score);
1200 Void ResetCustomColumns();
1204 Void Scores_Sort(EScoreSortOrder SortOrder);
1208 Void SetColumnValue(CScore Score,Text ColumnId,Text ColumnValue);
1212 Void SetColumnValue(CScore Score,Text ColumnId,Integer ColumnValue);
1216 Void SetColumnValue(CScore Score,Text ColumnId,Real ColumnValue);
1220 Void SetColumnVisibility(EColumnType Type,Boolean Visibility);
1224 Void SetColumnVisibility(Text ColumnId,Boolean Visibility);
1228 Void SetColor(CScore Score,Vec3 Color);
1232 Void ResetColor(CScore Score);
1233};
1234
1242 Void StopChrono();
1246 Void StartChrono();
1250 Void Reset();
1254 Void Reset(CPlayer Player);
1255};
1256
1264 Void Reset(CPlayer Player);
1268 Void SetGlobalScale(Real Scale);
1272 Void SetGaugeNumber(Integer Number);
1276 Void SetGaugeAngle(Real Angle);
1280 Void SetGaugeBGVisible(Boolean Visibility);
1284 Void SetSpeedLineVisible(Boolean Visibility);
1288 Void SetGaugeSpeedMax(Real Maximum);
1292 Void SetSpeedValueScale(Real Scale);
1296 Void SetSpeedUnitScale(Real Scale);
1300 Void SetFooterUnitVisible(Boolean Visibility);
1304 Void SetFooterLineVisible(Boolean Visibility);
1308 Void SetDistanceVisible(Boolean Visibility);
1312 Void SetDistanceFooterLineVisible(Boolean Visibility);
1313};
1314
1322 Void Reset(CPlayer Player);
1323};
1324
1332 Void Reset(CPlayer Player);
1333};
1334
1343 Void Menu_Goto(Text PageId);
1347 Void Menu_Back();
1351 Void Menu_Previous();
1355 Void Menu_Quit();
1356};
1357
1365 const CUILayer ComponentLayer;
1369 Void Hide();
1373 Void Show();
1374};
1375
1384 const CModuleMenuComponent[] Components;
1388 CModuleMenuComponent GetFirstComponent(Text Name);
1389};
1390
1395 enum EFileType {
1396 Maps,
1397 Skins,
1398 Items,
1399 Blocks,
1400 Scripts,
1401 Images,
1402 Manialinks,
1403 Packs,
1404 Actions,
1405 Modules,
1406 Meshes,
1407 Replays,
1408 };
1409 enum EFileAction {
1410 Select,
1411 Save,
1412 MultiSelect,
1413 };
1417 const Boolean HasFinished;
1421 const Text[] Selection;
1425 Void SetFileType(EFileType FileType);
1429 Void SetFileAction(EFileAction FileAction);
1430};
1431
1435struct CStation : public CNod {
1436 enum EEchelon {
1437 None,
1438 Bronze1,
1439 Bronze2,
1440 Bronze3,
1441 Silver1,
1442 Silver2,
1443 Silver3,
1444 Gold1,
1445 Gold2,
1446 Gold3,
1447 };
1451 const CTitle Title;
1455 const Integer AudienceRegisteredUsers;
1459 const Integer CampaignMedalsMax;
1463 const Integer CampaignMedalsCurrent;
1467 const Integer CampaignMedalsRanking;
1471 const Real LadderPoints;
1475 const Integer LadderRank;
1479 const EEchelon Echelon;
1483 const Integer NextEchelonPercent;
1487 Boolean DisableQuickEnter;
1491 Boolean IsLogoVisible;
1495 Real GhostAlpha;
1499 Vec3 FocusLightColor;
1503 Vec3 NormalLightColor;
1508};
1509
1514struct CMlStation : public CMlScript {
1522 const CStation Station;
1526 Void EnterStation();
1527};
1528
1534 enum EMeshEditorAPI {
1535 Materials,
1536 Interactions,
1537 Display,
1538 Global,
1539 Sets,
1540 Voxel,
1541 PickInfo,
1542 UndoRedo,
1543 };
1547 Void Help_Open();
1551 Void Help_Close();
1555 CEditorPluginHandle GetPluginHandle(Text Name);
1559 Void SendPluginEvent(CEditorPluginHandle Handle,Text Type,Text[] Data);
1563 Void Context_SetActive(Text ContextName,Boolean IsActive);
1567 Boolean Context_IsActive(Text ContextName);
1571 Boolean Binding_IsActive(Text BindingName);
1575 Boolean Binding_IsActive(Text ContextName,Text BindingName);
1579 Void Plugin_SetClearance(CEditorPluginHandle Handle,EMeshEditorAPI API,Boolean IsAllowed);
1583 const CEditorPluginHandle[] Plugins;
1584};
1585
1591 enum EInteractionStatus {
1592 Active,
1593 Closed,
1594 Aborted,
1595 };
1599 const CManiaAppEvent[] PendingEvents;
1603 const CEditorModule ModuleEditor;
1607 const CEditorMesh MeshEditor;
1611 const CEditorEditor EditorEditor;
1615 const EInteractionStatus InteractionStatus;
1616};
1617
1623 enum CardinalDirections {
1624 North,
1625 East,
1626 South,
1627 West,
1628 };
1629 enum CardinalDirections8 {
1630 North,
1631 East,
1632 South,
1633 West,
1634 NorthEast,
1635 SouthEast,
1636 SouthWest,
1637 NorthWest,
1638 };
1639 enum RelativeDirections {
1640 Forward,
1641 RightForward,
1642 Right,
1643 RightBackward,
1644 Backward,
1645 LeftBackward,
1646 Left,
1647 LeftForward,
1648 };
1649 enum PlaceMode {
1650 Unknown,
1651 Terraform,
1652 Block,
1653 Macroblock,
1654 Skin,
1655 CopyPaste,
1656 Test,
1657 Plugin,
1658 CustomSelection,
1659 OffZone,
1660 BlockProperty,
1661 Path,
1662 GhostBlock,
1663 Item,
1664 Light,
1665 };
1666 enum EditMode {
1667 Unknown,
1668 Place,
1669 FreeLook,
1670 Erase,
1671 Pick,
1672 SelectionAdd,
1673 SelectionRemove,
1674 };
1675 enum ShadowsQuality {
1676 NotComputed,
1677 VeryFast,
1678 Fast,
1679 Default,
1680 High,
1681 Ultra,
1682 };
1683 enum ValidationStatus {
1684 NotValidable,
1685 Validable,
1686 Validated,
1687 };
1691 const CMapEditorPluginEvent[] PendingEvents;
1695 const CMap Map;
1699 const Text MapName;
1703 const Text MapFileName;
1707 const Boolean IsEditorReadyForRequest;
1711 Boolean HoldLoadingScreen;
1715 Void ComputeShadows();
1719 Void ComputeShadows(ShadowsQuality ShadowsQuality);
1723 const ShadowsQuality CurrentShadowsQuality;
1727 const Boolean IsUltraShadowsQualityAvailable;
1731 Void DisplayDefaultSetObjectivesDialog();
1735 Boolean Undo();
1739 Boolean Redo();
1743 Void Help();
1747 Void Validate();
1751 Void AutoSave();
1755 Void Quit();
1759 Void QuickQuit();
1763 Void QuitAndSetResult(Text Type,Text[] Data);
1767 Void QuickQuitAndSetResult(Text Type,Text[] Data);
1771 Void TestMapFromStart();
1775 Void TestMapFromCoord(Int3 Coord,CardinalDirections Dir);
1779 Void TestMapWithMode(Text RulesModeName);
1783 Void TestMapWithMode(Text RulesModeName,Text SettingsXml);
1787 Void TestMapWithMode_SplitScreen(Text RulesModeName);
1791 Void TestMapWithMode_SplitScreen(Text RulesModeName,Integer ScreenCount);
1795 Void TestMapWithMode_SplitScreen(Text RulesModeName,Integer ScreenCount,Integer FakeCount,Text SettingsXml);
1799 Boolean EnableMapTypeStartTest;
1803 Void SaveMap(Text FileName);
1807 Void SaveMap(Text FileName,Text Path);
1811 PlaceMode PlaceMode;
1815 EditMode EditMode;
1819 Boolean UndergroundMode;
1823 Boolean BlockStockMode;
1827 const CMapEditorInventory Inventory;
1831 Real CameraVAngle;
1835 Real CameraHAngle;
1839 Real CameraToTargetDistance;
1843 Vec3 CameraTargetPosition;
1847 const Vec3 CameraPosition;
1851 Real ThumbnailCameraVAngle;
1855 Real ThumbnailCameraHAngle;
1859 Real ThumbnailCameraRoll;
1863 Real ThumbnailCameraFovY;
1867 Vec3 ThumbnailCameraPosition;
1871 Boolean GetRaceCamera(Vec3 Position,Real Yaw,Real Pitch,Real Roll,Real FovY);
1875 Boolean EnableAirMapping;
1879 Boolean EnableMixMapping;
1883 Void RemoveAllBlocks();
1887 Void RemoveAllTerrain();
1891 Void RemoveAllOffZone();
1895 Void RemoveAllObjects();
1899 Void RemoveAll();
1903 Void RemoveAllBlocksAndTerrain();
1907 Void ShowCustomSelection();
1911 Void HideCustomSelection();
1915 Void CopyPaste_Copy();
1919 Void CopyPaste_Cut();
1923 Void CopyPaste_Remove();
1927 Void CopyPaste_SelectAll();
1931 Void CopyPaste_ResetSelection();
1935 Void OpenToolsMenu();
1939 Void EditMediatrackIngame();
1943 Void PreloadAllBlocks();
1947 Void PreloadAllItems();
1951 Boolean CanPlaceBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir,Boolean OnGround,Integer VariantIndex);
1955 Boolean PlaceBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir);
1959 Boolean CanPlaceBlock_NoDestruction(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir,Boolean OnGround,Integer VariantIndex);
1963 Boolean PlaceBlock_NoDestruction(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir);
1967 Boolean CanPlaceRoadBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1971 Boolean PlaceRoadBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1975 Boolean CanPlaceTerrainBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1979 Boolean PlaceTerrainBlocks(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1983 Boolean PlaceTerrainBlocks_NoDestruction(CBlockModel BlockModel,Int3 StartCoord,Int3 EndCoord);
1987 Boolean CanPlaceMacroblock(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1991 Boolean PlaceMacroblock(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1995 Boolean CanPlaceMacroblock_NoDestruction(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
1999 Boolean PlaceMacroblock_NoDestruction(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2003 Boolean CanPlaceMacroblock_NoTerrain(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2007 Boolean PlaceMacroblock_NoTerrain(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2011 Boolean RemoveMacroblock(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2015 Boolean RemoveMacroblock_NoTerrain(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2019 CBlock GetBlock(Int3 Coord);
2023 CBlock GetBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir);
2027 Boolean IsBlockModelSkinnable(CBlockModel BlockModel);
2031 Integer GetNbBlockModelSkins(CBlockModel BlockModel);
2035 Text GetBlockModelSkin(CBlockModel BlockModel,Integer SkinIndex);
2039 Text GetSkinDisplayName(Text SkinFileName);
2043 Text GetBlockSkin(CBlock Block);
2047 Void SetBlockSkin(CBlock Block,Text SkinFileName);
2051 Boolean IsMacroblockModelSkinnable(CMacroblockModel BlockModel);
2055 Boolean SetMacroblockSkin(CMacroblockInstance Macroblock,Text SkinFileName);
2059 Boolean OpenBlockSkinDialog(CBlock Block);
2063 Boolean RemoveBlock(Int3 Coord);
2067 Boolean RemoveBlock(CBlockModel BlockModel,Int3 Coord,CardinalDirections Dir);
2071 Boolean RemoveTerrainBlocks(Int3 StartCoord,Int3 EndCoord);
2075 Integer GetBlockGroundHeight(CBlockModel BlockModel,Integer CoordX,Integer CoordZ,CardinalDirections Dir);
2079 Integer GetGroundHeight(Integer CoordX,Integer CoordZ);
2083 Int3 GetMouseCoordOnGround();
2087 Int3 GetMouseCoordAtHeight(Integer CoordY);
2091 CBlock GetStartLineBlock();
2095 Boolean RemoveItem(CAnchorData Item);
2099 Void CopyPaste_AddOrSubSelection(Int3 StartCoord,Int3 EndCoord);
2103 Boolean CopyPaste_Symmetrize();
2107 Void SaveMacroblock(CMacroblockModel MacroblockModel);
2111 CMacroblockModel GetMacroblockModelFromFilePath(Text MacroblockModelFilePath);
2115 CBlockModel GetTerrainBlockModelFromName(Text TerrainBlockModelName);
2119 CBlockModel GetBlockModelFromName(Text BlockModelName);
2123 CBlockClipList CreateFrameClipList();
2127 CBlockClipList CreateFixedClipList();
2131 Void UnvalidateMetadata();
2135 Void UnvalidateGameplayInfo();
2139 Void UnvalidatePlayfield();
2143 Boolean RemoveMacroblock_NoTerrain_NoUnvalidate(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2147 Boolean PlaceMacroblock_NoTerrain_NoUnvalidate(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2151 Void GetConnectResults(CBlock ExistingBlock,CBlockModel NewBlock);
2155 Void GetConnectResults(CBlock ExistingBlock,CMacroblockModel NewBlock);
2159 Void GetConnectResults(CMacroblockInstance ExistingBlock,CBlockModel NewBlock);
2163 Void GetConnectResults(CMacroblockInstance ExistingBlock,CMacroblockModel NewBlock);
2167 Integer GetStartBlockCount(Boolean IncludeMultilaps);
2171 Integer GetFinishBlockCount(Boolean IncludeMultilaps);
2175 Integer GetMultilapBlockCount();
2179 Integer GetCheckpointBlockCount();
2183 CMacroblockInstance CreateMacroblockInstance(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir);
2187 CMacroblockInstance CreateMacroblockInstance(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir,Integer UserData);
2191 CMacroblockInstance CreateMacroblockInstance(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir,CBlockClipList DefaultClipList);
2195 CMacroblockInstance CreateMacroblockInstance(CMacroblockModel MacroblockModel,Int3 Coord,CardinalDirections Dir,CBlockClipList DefaultClipList,Integer UserData);
2199 CMacroblockInstance GetMacroblockInstanceFromOrder(Integer Order);
2203 CMacroblockInstance GetMacroblockInstanceFromUnitCoord(Int3 Coord);
2207 CMacroblockInstance GetLatestMacroblockInstance();
2211 CMacroblockInstance GetLatestMacroblockInstance(Integer Offset);
2215 CMacroblockInstance GetMacroblockInstanceConnectedToClip(CBlockClip Clip);
2219 Boolean RemoveMacroblockInstance(CMacroblockInstance MacroblockInstance);
2223 Boolean RemoveMacroblockInstanceFromOrder(Integer Order);
2227 Boolean RemoveMacroblockInstanceFromUnitCoord(Integer Order);
2231 Boolean RemoveMacroblockInstancesByUserData(Integer UserData);
2235 Void ResetAllMacroblockInstances();
2239 Integer GetMaxOrder();
2243 Boolean SetMapType(Text MapType);
2247 Text GetMapType();
2251 Void SetMapStyle(Text MapStyle);
2255 Text GetMapStyle();
2259 Void SetMapIsCreatedWithPartyEditor(Boolean IsCreatedWithPartyEditor);
2263 Text GetAvailableMapName();
2267 Vec3 GetVec3FromCoord(Int3 Coord);
2271 const CMapEditorCamera Camera;
2275 const CMapEditorCursor Cursor;
2279 const CItemAnchor[] Items;
2283 const Text[] MediatrackIngameClips;
2287 Integer MediatrackIngameEditedClipIndex;
2291 const CBlock[] Blocks;
2295 const CBlockModel[] BlockModels;
2299 const CBlockModel[] TerrainBlockModels;
2303 const CMacroblockModel[] MacroblockModels;
2307 const CBlock[] ClassicBlocks;
2311 const CBlock[] TerrainBlocks;
2315 const CBlockClipList[] FixedClipLists;
2319 const CBlockClipList[] FrameClipLists;
2323 const CBlockClipList[] MacroblockInstanceClipLists;
2327 const CMacroblockInstance[] MacroblockInstances;
2331 const CMapEditorConnectResults[] ConnectResults;
2335 const CAnchorData[] AnchorData;
2339 Int3[] CustomSelectionCoords;
2343 Vec3 CustomSelectionRGB;
2347 Boolean EnableEditorInputsCustomProcessing;
2351 Boolean EnableCursorShowingWhenInterfaceIsFocused;
2355 Boolean HideEditorInterface;
2359 Boolean HideBlockHelpers;
2363 Boolean ShowPlacementGrid;
2367 const Boolean IsTesting;
2371 const Boolean IsValidating;
2375 const Boolean EditorInputIsDown_Menu;
2379 const Boolean EditorInputIsDown_SwitchToRace;
2383 const Boolean EditorInputIsDown_Undo;
2387 const Boolean EditorInputIsDown_Redo;
2391 const Boolean EditorInputIsDown_CursorUp;
2395 const Boolean EditorInputIsDown_CursorRight;
2399 const Boolean EditorInputIsDown_CursorDown;
2403 const Boolean EditorInputIsDown_CursorLeft;
2407 const Boolean EditorInputIsDown_CursorRaise;
2411 const Boolean EditorInputIsDown_CursorLower;
2415 const Boolean EditorInputIsDown_CursorTurn;
2419 const Boolean EditorInputIsDown_CursorPick;
2423 const Boolean EditorInputIsDown_CursorPlace;
2427 const Boolean EditorInputIsDown_CursorDelete;
2431 const Boolean EditorInputIsDown_CameraUp;
2435 const Boolean EditorInputIsDown_CameraRight;
2439 const Boolean EditorInputIsDown_CameraDown;
2443 const Boolean EditorInputIsDown_CameraLeft;
2447 const Boolean EditorInputIsDown_CameraZoomNext;
2451 const Boolean EditorInputIsDown_Camera0;
2455 const Boolean EditorInputIsDown_Camera1;
2459 const Boolean EditorInputIsDown_Camera3;
2463 const Boolean EditorInputIsDown_Camera7;
2467 const Boolean EditorInputIsDown_Camera9;
2471 const Boolean EditorInputIsDown_PivotChange;
2475 const Boolean EditorInputIsDown_CursorTurnSlightly;
2479 const Boolean EditorInputIsDown_CursorTurnSlightlyAntiClockwise;
2483 const Boolean EditorInputIsDown_IconUp;
2487 const Boolean EditorInputIsDown_IconRight;
2491 const Boolean EditorInputIsDown_IconDown;
2495 const Boolean EditorInputIsDown_IconLeft;
2499 const Boolean EditorInputIsDown_RemoveAll;
2503 const Boolean EditorInputIsDown_Save;
2507 const Boolean EditorInputIsDown_SaveAs;
2511 const Boolean EditorInputIsDown_MapStyle;
2515 const Boolean EditorInputIsDown_ClassicMapEditor;
2519 const Real CollectionSquareSize;
2523 const Real CollectionSquareHeight;
2527 const Integer CollectionGroundY;
2531 const ValidationStatus ValidationStatus;
2535 Text ManialinkText;
2539 const CMlPage ManialinkPage;
2540};
2541
2550 const CMapEditorPlugin Editor;
2551};
2552
2561 Void Leave();
2565 CBadge DisplayCurrentBadge;
2569 Vec2 DisplayPosN;
2573 Vec2 DisplaySize;
2577 Real DisplayFoV;
2593 Ident DisplayCurrentMeshId;
2597 const Ident[] MeshIds;
2601 Void MeshId_Next();
2605 Void MeshId_Previous();
2609 const CBadge[] Badges;
2613 CBadge BadgeCreate();
2617 Void BadgeDestroy(CBadge Badge);
2621 Void BadgeCopy(CBadge Source,CBadge Destination);
2625 Void BadgeReadFromProfile(CBadge Badge,Ident UserId);
2629 Void BadgeWriteToProfile(CBadge Badge,Ident UserId);
2630};
2631
2636struct CServerPlugin : public CNod {
2640 const CTitle LoadedTitle;
2644 const CMapInfo MapInfo;
2648 CClient GetClient(Text Login);
2652 CClient GetClient(CUIConfig UI);
2672 const CUser[] Users;
2676 const CTeam[] Teams;
2680 Text NeutralEmblemUrl;
2684 Text ForcedClubLinkUrl1;
2688 Text ForcedClubLinkUrl2;
2692 Void TweakTeamColorsToAvoidHueOverlap();
2696 const Integer Now;
2700 const CServerPluginEvent[] PendingEvents;
2704 Void TriggerModeScriptEvent(Text Type,Text[] Data);
2708 Void SendModeScriptCommand(Text CommandName,Boolean BoolVal);
2712 Void SendModeScriptCommand(Text CommandName,Integer IntVal);
2716 Void SendModeScriptCommand(Text CommandName,Real RealVal);
2720 Void SendModeScriptCommand(Text CommandName,Text TextVal);
2724 const Boolean MapLoaded;
2728 const Boolean MapUnloadRequested;
2732 const CMapInfo[] MapList;
2736 const Integer CurMapIndex;
2740 Integer NextMapIndex;
2744 Void RestartMap();
2748 Void NextMap();
2752 Boolean HoldMapUnloadRequest;
2760 const CUIConfigMgr UIManager;
2764 const CServerAdmin ServerAdmin;
2768 const CXmlRpc XmlRpc;
2772 const CParsingManager Xml;
2776 const CHttpManager Http;
2780 const CSystemPlatform System;
2784 Text Dbg_DumpDeclareForVariables(CNod Nod,Boolean StatsOnly);
2785};
2786
2791struct CSmMode : public CMode {
2792 enum EWeapon {
2793 Laser,
2794 Rocket,
2795 Nucleus,
2796 Arrow,
2797 Missile,
2798 };
2799 enum EActionSlot {
2800 Slot_A,
2801 Slot_B,
2802 Slot_C,
2803 Slot_D,
2804 Slot_E,
2805 Slot_F,
2806 Slot_G,
2807 Slot_H,
2808 };
2809 enum EActionInput {
2810 Weapon,
2811 Movement,
2812 Activable1,
2813 Activable2,
2814 Activable3,
2815 Activable4,
2816 Consumable1,
2817 Consumable2,
2818 None,
2819 };
2820 enum EGameplay {
2821 Default,
2822 Mp3Beta0,
2823 };
2827 Integer StartTime;
2831 Integer EndTime;
2835 Integer SpawnInvulnerabilityDuration;
2839 Boolean UseMultiClans;
2843 Boolean UseClans;
2847 Boolean UseForcedClans;
2851 Boolean UsePvPCollisions;
2855 Boolean UsePvPWeapons;
2859 Boolean UseInterractiveScreensIn3d;
2863 Boolean UseLaserVsBullets;
2867 Boolean UseLaserSkewering;
2871 Boolean UsePlayerTagging;
2875 Boolean UseBeaconsWithRecipients;
2879 Boolean UseAmmoBonusOnHit;
2883 Boolean UseSameWallJump;
2887 Boolean UseDefaultActionEvents;
2891 Boolean UseAllies;
2895 Boolean UseAutoSpawnBots;
2899 Boolean UseAutoRespawnBots;
2903 Boolean WalkOnWall;
2907 Boolean UseAutoDiscardBotEvents;
2911 Boolean ForceNavMapsComputation;
2915 Integer GameplayVersion;
2919 EGameplay Gameplay;
2923 Boolean UseProtectClanmates;
2927 Real OffZoneRadius;
2931 Real OffZoneRadiusSpeed;
2935 Ident OffZoneCenterLandmarkId;
2939 const Integer PlayersNbTotal;
2943 const Integer PlayersNbAlive;
2947 const Integer PlayersNbDead;
2951 const Integer ClansNbTotal;
2955 const Integer ClansNbAlive;
2959 const Integer ClansNbDead;
2963 const Integer[] ClansNbPlayers;
2967 const Integer[] ClansNbPlayersAlive;
2971 const CSmPlayer[] Players;
2975 const CSmPlayer[] BotPlayers;
2979 const CSmPlayer[] Spectators;
2983 const CSmPlayer[] AllPlayers;
2987 const CSmModeEvent[] PendingEvents;
2991 CSmPlayer GetPlayer(CUIConfig UI);
2995 CSmPlayer GetPlayer(Text Login);
2999 const CSmMapBase[] MapBases;
3003 const CSmMapLandmark[] MapLandmarks;
3007 const CSmMapLandmark[] MapLandmarks_PlayerSpawn;
3011 const CSmMapLandmark[] MapLandmarks_Gauge;
3015 const CSmMapLandmark[] MapLandmarks_Sector;
3019 const CSmMapLandmark[] MapLandmarks_BotPath;
3023 const CSmMapLandmark[] MapLandmarks_BotSpawn;
3027 const CSmMapLandmark[] MapLandmarks_ObjectAnchor;
3031 const CSmMapLandmark[] MapLandmarks_Gate;
3035 const CSmScore[] Scores;
3039 Integer[] ClanScores;
3043 Void PassOn(CSmModeEvent Event);
3047 Void Discard(CSmModeEvent Event);
3051 Void SpawnPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CMapSpawn PlayerSpawn,Integer ActivationDate);
3055 Void SpawnPlayer(CSmPlayer Player,Integer ClanNum,CModeTurret Turret,Integer ActivationDate);
3059 Void SpawnPlayer(CSmPlayer Player,Integer ClanNum,CModeVehicle Vehicle,Integer ActivationDate);
3063 Void SpawnPlayer(CSmPlayer Player,Integer ClanNum,CModeVehicle Vehicle,Integer SlotIndex,Integer ActivationDate);
3067 Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CMapSpawn PlayerSpawn,Integer ActivationDate);
3071 Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CMapBotPath BotPath,Integer ActivationDate);
3075 Void SpawnBotPlayer(CSmPlayer Player,Integer ClanNum,Integer Armor,CMapBotSpawn BotSpawn,Integer ActivationDate);
3079 Void SpawnBotPlayer(CSmPlayer Player,CSmPlayer Owner,Integer Armor,Vec3 Offset,Integer ActivationDate);
3083 Void UnspawnPlayer(CSmPlayer Player);
3087 Void ClearScores();
3091 Void SetPlayerClan(CSmPlayer Player,Integer ClanNum);
3095 Void SetPlayerWeapon(CSmPlayer Player,EWeapon DefaultWeapon,Boolean AutoSwitchWeapon);
3099 Void SetPlayerReloadAllWeapons(CSmPlayer Player,Boolean ReloadAllWeapons);
3103 Void SetPlayerAmmo(CSmPlayer Player,EWeapon Weapon,Integer Count);
3107 Integer GetPlayerAmmo(CSmPlayer Player,EWeapon Weapon);
3111 Void AddPlayerAmmo(CSmPlayer Player,EWeapon Weapon,Real DeltaCount);
3115 Void SetPlayerAmmoMax(CSmPlayer Player,EWeapon Weapon,Integer Count);
3119 Integer GetPlayerAmmoMax(CSmPlayer Player,EWeapon Weapon);
3123 Void AddArmor(CEntity Victim,Integer DeltaArmor,CEntity Shooter,Integer ShooterPoints);
3127 Void RemoveArmor(CEntity Victim,Integer DeltaArmor,CEntity Shooter,Integer ShooterPoints);
3131 Integer GetWeaponNum(EWeapon Weapon);
3135 Boolean CanRespawnPlayer(CSmPlayer Player);
3139 Void RespawnPlayer(CSmPlayer Player);
3143 Void RespawnPlayer(CSmPlayer Player,CMapWaypoint Waypoint);
3147 CSmPlayer CreateBotPlayer(Ident ModelId,Integer ClanNum);
3151 Void DestroyBotPlayer(CSmPlayer BotPlayer);
3155 Void DestroyAllBotPlayers();
3159 Void ScriptedBot_Move(CSmPlayer BotPlayer,Vec3 Goal);
3163 Void ScriptedBot_MoveDelta(CSmPlayer BotPlayer,Vec3 Delta);
3167 Void ScriptedBot_MoveAndAim(CSmPlayer BotPlayer,Vec3 Goal);
3171 Void ScriptedBot_MoveDeltaAndAim(CSmPlayer BotPlayer,Vec3 Delta);
3175 Void ScriptedBot_Aim(CSmPlayer BotPlayer,Vec3 Goal);
3179 Void ScriptedBot_AimDelta(CSmPlayer BotPlayer,Real DeltaYaw,Real DeltaPitch);
3183 Void ScriptedBot_RequestAction(CSmPlayer BotPlayer);
3187 Void ScriptedBot_RequestGunTrigger(CSmPlayer BotPlayer);
3191 Void ActionLoad(CSmPlayer Player,EActionSlot ActionSlot,Ident ModelId);
3195 Void ActionLoad(CModeVehicle Vehicle,Integer VehicleSlotIndex,EActionSlot ActionSlot,Ident ModelId);
3199 Void ActionLoad(CModeTurret Turret,EActionSlot ActionSlot,Ident ModelId);
3203 Integer Action_GetCooldown(CSmPlayer Player,EActionInput ActionInput);
3207 Integer Action_GetRemainingCooldown(CSmPlayer Player,EActionInput ActionInput);
3211 Void ActionBind(CSmPlayer Player,EActionSlot ActionSlot,EActionInput ActionInput);
3215 Void ActionSetVariant(CSmPlayer Player,EActionSlot ActionSlot,Integer ActionVariant);
3219 Void SetNbFakePlayers(Integer NbClan1,Integer NbClan2);
3223 const CSmObject[] Objects;
3227 CSmObject ObjectCreate(Ident ModelId);
3231 Void ObjectDestroy(CSmObject Object);
3235 Void ObjectDestroyAll();
3239 Void RemoveShieldArmor(Integer VictimShieldId,Integer Damage);
3243 Void Replay_SaveAttackScore(CSmPlayer Player,Integer Score);
3247 Void Replay_SaveDefenseScore(CSmPlayer Player,Integer Score);
3251 Void Replay_SaveTeamScore(Integer Team,Integer Score);
3255 Void Replay_SavePlayerOfInterest(CSmPlayer Player);
3259 Void Replay_SaveWinner(CSmPlayer Player);
3263 Void Replay_SaveInterface();
3264};
3265
3274 const Integer ArenaNow;
3278 const CSmPlayer InputPlayer;
3282 const CSmPlayer GUIPlayer;
3286 const CSmPlayer[] Players;
3290 const CModeVehicle[] Vehicles;
3294 const CSmScore[] Scores;
3298 const Integer[] ClanScores;
3302 Boolean HideResumePlayingButton;
3306 const CSmMapBase[] MapBases;
3310 const CSmMapLandmark[] MapLandmarks;
3314 const CSmMapLandmark[] MapLandmarks_PlayerSpawn;
3318 const CSmMapLandmark[] MapLandmarks_Gauge;
3322 const CSmMapLandmark[] MapLandmarks_Sector;
3326 const CSmMapLandmark[] MapLandmarks_BotPath;
3330 const CSmMapLandmark[] MapLandmarks_BotSpawn;
3334 const CSmMapLandmark[] MapLandmarks_ObjectAnchor;
3338 const CSmMapLandmark[] MapLandmarks_Gate;
3339};
3340
3345struct CSmAction : public CAction {
3349 const Integer Now;
3353 const Integer Variant;
3357 const CSmPlayer[] Players;
3361 const CSmPlayer Owner;
3365 const CModeVehicle OwnerVehicle;
3369 const Boolean IsActive;
3373 const Boolean IsBound;
3377 Integer Energy;
3381 Integer EnergyMax;
3385 Integer EnergyCost;
3389 Boolean EnergyReload;
3393 Real AmmoGain;
3397 Ident State_EntityId1;
3401 Integer State_Integer1;
3405 Integer State_Integer2;
3409 Boolean State_Boolean1;
3413 const CSmActionEvent[] PendingEvents;
3417 Boolean IsJumping;
3421 Boolean IsGliding;
3425 Boolean IsAttractor;
3429 Boolean IsFlying;
3433 Boolean IsSliding;
3437 Boolean IsRunning;
3441 Boolean IsFrozen;
3445 Boolean IsSneaking;
3449 Boolean IsFreeLooking;
3453 Boolean HasNoPlayerCollision;
3457 Void SendRulesEvent(Text Param1,Text[] Param2,CEntity Shooter,CEntity Victim);
3461 Ident Anim_GetModelId(Text ModelName);
3465 Ident Anim_PlayAtLocation(Ident AnimModelId,Vec3 Position,Vec3 Direction);
3469 Ident Anim_PlayOnPlayer(Ident AnimModelId,CSmPlayer Player);
3473 Void Anim_Stop(Ident AnimId);
3477 Ident Projectile_GetModelId(Text ModelName);
3481 Ident Projectile_CreateAtLocation(Ident ProjectileModelId,CSmPlayer PlayerToIgnore,Vec3 InitialPosition,Vec3 InitialDirection,Vec3 InitialVelocity);
3485 Ident Projectile_CreateOnPlayer(Ident ProjectileModelId,CSmPlayer Shooter);
3489 Integer Cooldown;
3493 Boolean Cooldown_IsReady();
3497 Void Cooldown_Start();
3501 Ident Shield_CreateAtLocation(Vec3 Position,Vec3 Direction);
3505 Ident Shield_CreateOnPlayer(CSmPlayer ShieldOwner);
3509 Void Shield_Destroy(Ident ShieldId);
3513 Boolean Shield_Exists(Ident ShieldId);
3517 Integer Shield_GetArmor(Ident ShieldId);
3521 Void Shield_SetArmor(Ident ShieldId,Integer ShieldArmor);
3525 Boolean Shield_GetIsActive(Ident ShieldId);
3529 Void Shield_SetIsActive(Ident ShieldId,Boolean ShieldIsActive);
3533 Integer Shield_GetArmorMax(Ident ShieldId);
3537 Integer Shield_GetTickReload(Ident ShieldId);
3541 Integer Shield_GetCooldown(Ident ShieldId);
3545 Integer GetPlayerAmmo(CSmPlayer Player);
3549 Integer GetPlayerAmmoMax(CSmPlayer Player);
3553 Void Vehicle_TriggerTurbo();
3557 Void Vehicle_TriggerTurboBrake();
3558};
3559
3564struct CSmMapType : public CMapType {
3568 const CSmMode Mode;
3572 const CSmPlayer[] AllPlayers;
3576 const CSmPlayer[] Players;
3577};
3578
3587 const CTmMlPlayer InputPlayer;
3591 const CTmMlPlayer GUIPlayer;
3595 const CTmRaceClientEvent[] RaceEvents;
3599 const Integer NbLaps;
3603 const Boolean IndependantLaps;
3607 const CTmMlPlayer[] Players;
3611 const CTmScore[] Scores;
3615 const Integer[] ClanScores;
3619 Integer CurPlayerCamera;
3627 const Vec3 MapStartLinePos;
3635 const Vec3[] MapFinishLinePos;
3639 const Boolean MapIsLapRace;
3643 const Integer MapNbLaps;
3647 Boolean ValidationGhost_IsVisible();
3651 Vec3 ValidationGhost_GetPosition();
3652};
3653
3658struct CTmMode : public CMode {
3659 enum ETmScoreSortOrder {
3660 TotalPoints,
3661 BestRace_Time,
3662 BestRace_Stunts,
3663 BestRace_NbRespawns,
3664 BestRace_CheckpointsProgress,
3665 PrevRace_Time,
3666 Name,
3667 LadderRankSortValue,
3668 };
3669 enum ETMRespawnBehaviour {
3670 Normal,
3671 DoNothing,
3672 GiveUpBeforeFirstCheckPoint,
3673 AlwaysGiveUp,
3674 };
3675 enum ETmRaceChronoBehaviour {
3676 Auto,
3677 Hidden,
3678 CountDown,
3679 Normal,
3680 };
3681 enum EPersonalGhost {
3682 Disabled,
3683 Latest,
3684 FastestRace,
3685 };
3689 const CTmPlayer[] AllPlayers;
3693 const CTmPlayer[] Spectators;
3697 const CTmPlayer[] Players;
3701 const CTmPlayer[] PlayersRacing;
3705 const CTmPlayer[] PlayersWaiting;
3709 CTmPlayer GetPlayer(CUIConfig UI);
3713 CTmPlayer GetPlayer(Text Login);
3717 const CTmScore[] Scores;
3721 Integer Clan1Score;
3725 Integer Clan2Score;
3729 Integer[] ClanScores;
3733 const Integer ClansNbTotal;
3737 const Integer[] ClansNbPlayers;
3741 const CTmModeEvent[] PendingEvents;
3745 Boolean PassOn(CTmModeEvent Event);
3749 Void Discard(CTmModeEvent Event);
3753 Void SpawnPlayer(CTmPlayer Player,Integer ClanNum,Integer RaceStartTime);
3757 Void UnspawnPlayer(CTmPlayer Player);
3761 Void SetPlayerClan(CTmPlayer Player,Integer ClanNum);
3765 Void Scores_Sort(ETmScoreSortOrder SortOrder);
3769 Void Scores_Clear();
3773 Void Ladder_ComputeRank(ETmScoreSortOrder SortOrder);
3777 Integer CutOffTimeLimit;
3781 Integer NbLaps;
3785 Boolean IndependantLaps;
3789 Boolean UseClans;
3793 Boolean UseForcedClans;
3797 ETMRespawnBehaviour RespawnBehaviour;
3801 Boolean UiRounds;
3805 Boolean UiLaps;
3809 Boolean UiStuntsMode;
3813 Boolean UiDisplayStuntsNames;
3817 Boolean UiDisableHelpMessage;
3821 Integer UiScoresPointsLimit;
3825 ETmRaceChronoBehaviour UiRaceChrono;
3829 Void Cheats_Reset();
3833 Boolean EnableCollisions;
3837 Boolean EnableScaleCar;
3841 Boolean EnableCheckpointBonus;
3845 Boolean EnableUniqueCamera;
3849 Boolean EnableBonusEvents;
3853 Boolean HideOpponents;
3857 Integer ForceMaxOpponents;
3861 Boolean EnableLegacyXmlRpcCallbacks;
3865 Boolean MedalGhost_ShowGold;
3869 Boolean MedalGhost_ShowSilver;
3873 Boolean MedalGhost_ShowBronze;
3877 EPersonalGhost PersonalGhost;
3881 Boolean ValidationGhost_Use;
3885 Boolean ValidationGhost_Visible;
3889 const Ident ValidationGhost_Id;
3893 Boolean StuntModel_EnableCustomisation;
3897 Boolean StuntModel_MP3Combo;
3901 Boolean StuntModel_MP3Points;
3905 Boolean StuntModel_UseStricterAngle;
3909 Integer StuntModel_MinStuntDuration;
3913 Integer StuntModel_RespawnPenalty;
3917 Integer StuntModel_InterComboDelay;
3921 Integer StuntModel_InterComboDelayExtendPerPoint;
3925 Real StuntModel_FigureRepeatMalus;
3929 Ident RaceGhost_Add(CGhost Ghost,Boolean DisplayAsPlayerBest);
3933 Ident RaceGhost_AddWithOffset(CGhost Ghost,Integer OffsetMs);
3937 Ident RaceGhost_Add(CGhost Ghost,Boolean DisplayAsPlayerBest,Ident ModelId);
3941 Void RaceGhost_Remove(Ident GhostInstId);
3945 Void RaceGhost_RemoveAll();
3949 Integer RaceGhost_GetStartTime(Ident GhostInstId);
3953 Integer RaceGhost_GetCurCheckpoint(Ident GhostInstId);
3957 Integer RaceGhost_GetCheckpointTime(Ident GhostInstId,Integer Checkpoint);
3961 Vec3 RaceGhost_GetPosition(Ident GhostInstId);
3965 Boolean RaceGhost_IsVisible(Ident GhostInstId);
3969 Boolean RaceGhost_IsReplayOver(Ident GhostInstId);
3973 const Vec3 MapStartLinePos;
3981 const Vec3[] MapFinishLinePos;
3985 const Boolean MapIsLapRace;
3989 const Integer MapNbLaps;
3990};
3991
3996struct CTmMapType : public CMapType {
4000 const CTmMode Mode;
4004 Void TMObjective_SetFromBestRace(CTmScore Score);
4008 const CTmPlayer[] AllPlayers;
4012 const CTmPlayer[] Players;
4013};
4014
4021
4025struct CNod {
4029 const Ident Id;
4030};
4031
4036struct CMlPage : public CNod {
4040 const CMlFrame MainFrame;
4044 CMlControl GetFirstChild(Text ControlId);
4048 const CMlControl FocusedControl;
4052 Boolean LinksInhibited;
4056 Void GetClassChildren(Text Class,CMlFrame Frame,Boolean Recursive);
4060 const CMlControl[] GetClassChildren_Result;
4064 Void ScrollToControl(CMlControl Control);
4065};
4066
4071struct CUser : public CNod {
4072 enum EEchelon {
4073 None,
4074 Bronze1,
4075 Bronze2,
4076 Bronze3,
4077 Silver1,
4078 Silver2,
4079 Silver3,
4080 Gold1,
4081 Gold2,
4082 Gold3,
4083 };
4084 enum ETagType {
4085 Bronze,
4086 Silver,
4087 Gold,
4088 Nadeo,
4089 };
4090 enum EStereoDisplayMode {
4091 None,
4092 Stereo,
4093 HMD,
4094 };
4095 enum EMuteSetting {
4096 Auto,
4097 Muted,
4098 NotMuted,
4099 };
4103 const Text Login;
4107 const Text Name;
4111 const Text AvatarUrl;
4115 const Text ZonePath;
4119 const Text ZoneFlagUrl;
4123 const Text CountryFlagUrl;
4127 const Text Language;
4131 const Text Description;
4135 const Vec3 Color;
4139 const Text ClubLink;
4143 const Text BroadcastTVLogin;
4147 const Text SteamUserId;
4151 const Integer FameStars;
4155 const EEchelon Echelon;
4159 const Integer NextEchelonPercent;
4163 const Boolean IsBeginner;
4167 const Integer LadderRank;
4171 const Integer LadderTotal;
4175 const Real LadderPoints;
4179 const Text LadderZoneName;
4183 const Text LadderZoneFlagUrl;
4187 const Real ReferenceScore;
4191 const Boolean IsFakeUser;
4195 const Integer[] Tags_Favored_Indices;
4199 const Text[] Tags_Id;
4203 const ETagType[] Tags_Type;
4207 const Text[] Tags_Comments;
4211 const Text[] Tags_Deliverer;
4215 const EStereoDisplayMode StereoDisplayMode;
4219 Boolean HackCamHmdDisabled;
4223 const Text AvatarDisplayName;
4227 const Text HornDisplayName;
4231 const Boolean VoiceChat_Supported;
4235 EMuteSetting VoiceChat_MuteSetting;
4239 const Boolean VoiceChat_IsSpeaking;
4243 const Boolean VoiceChat_IsMuted;
4247 const Boolean IsConnectedToMasterServer;
4251 const Text[] AlliesConnected;
4252};
4253
4258struct CTitle : public CNod {
4262 const Text TitleId;
4266 const Text AuthorLogin;
4270 const Text AuthorName;
4274 const Text Name;
4278 const Text Desc;
4282 const Text InfoUrl;
4286 const Text DownloadUrl;
4290 const Text TitleVersion;
4294 const Text MakerTitleId;
4298 const Text BaseTitleId;
4299};
4300
4306 enum Type {
4307 KeyPress,
4308 MouseClick,
4309 MouseOver,
4310 MouseOut,
4311 EntrySubmit,
4312 MenuNavigation,
4313 PluginCustomEvent,
4314 };
4315 enum EMenuNavAction {
4316 Up,
4317 Right,
4318 Left,
4319 Down,
4320 Select,
4321 Cancel,
4322 PageUp,
4323 PageDown,
4324 AppMenu,
4325 Action1,
4326 Action2,
4327 ScrollUp,
4328 ScrollDown,
4329 };
4333 const Type Type;
4337 const Integer KeyCode;
4341 const Text KeyName;
4345 const Text CharPressed;
4349 const Text ControlId;
4353 const CMlControl Control;
4357 const EMenuNavAction MenuNavAction;
4361 const Boolean IsActionAutoRepeat;
4365 const Text CustomEventType;
4369 const Text[] CustomEventData;
4370};
4371
4375struct CParsingManager : public CNod {
4379 CParsingDocument Create(Text Contents);
4383 CParsingDocument Create(Text Contents,Boolean GenerateText,Boolean GenerateTextRaw,Boolean GenerateTextResursive);
4387 Void Destroy(CParsingDocument Document);
4395 CParsingDocument Parse_Xml(Text Contents,Boolean GenerateText,Boolean GenerateTextRaw,Boolean GenerateTextResursive);
4399 Void Parse_Destroy(CParsingDocument Document);
4403 Integer DocumentsSlotsLimit;
4407 const CParsingDocument[] DocumentsXml;
4411 Ident Compose_Start_Xml(Boolean Compact);
4415 Ident Compose_Start_Json(Boolean Compact);
4419 Void Compose_End(Ident ComposerId);
4423 Void Compose_Destroy(Ident ComposerId);
4427 Void Compose_Node_Open(Ident ComposerId,Text Name);
4431 Void Compose_Node_Close(Ident ComposerId);
4435 Void Compose_Array_Open(Ident ComposerId,Text Name);
4439 Void Compose_Array_Close(Ident ComposerId);
4443 Void Compose_Attribute(Ident ComposerId,Text Name,Text Value);
4447 Void Compose_Attribute(Ident ComposerId,Text Name,Integer Value);
4451 Void Compose_Attribute(Ident ComposerId,Text Name,Real Value);
4455 Void Compose_Attribute(Ident ComposerId,Text Name,Boolean Value);
4459 Void Compose_Value(Ident ComposerId,Text Name,Text Value);
4463 Text Compose_GetResult(Ident ComposerId);
4464};
4465
4469struct CHttpManager : public CNod {
4477 CHttpRequest CreateGet(Text Url,Boolean UseCache);
4481 CHttpRequest CreateGet(Text Url,Boolean UseCache,Text AdditionalHeaders);
4485 CHttpRequest CreatePost(Text Url,Text Resource);
4489 CHttpRequest CreatePost(Text Url,Text Resource,Text AdditionalHeaders);
4493 CHttpRequest CreatePostFile(Text Url,Text FileName,Text AdditionalHeaders);
4497 Void Destroy(CHttpRequest Request);
4501 Boolean IsValidUrl(Text Url);
4505 const CHttpRequest[] Requests;
4509 const Integer SlotsAvailable;
4513 const CHttpEvent[] PendingEvents;
4517 Boolean AutomaticHeaders_Timezone;
4518};
4519
4523struct CVideoManager : public CNod {
4527 CVideo CreateVideo(Text Url,Boolean IsLooping,Boolean AutoProcessing);
4531 Void DestroyVideo(CVideo Video);
4535 const CVideo[] Videos;
4536};
4537
4541struct CAudioManager : public CNod {
4542 enum ELibSound {
4543 Alert,
4544 ShowDialog,
4545 HideDialog,
4546 ShowMenu,
4547 HideMenu,
4548 Focus,
4549 Valid,
4550 Start,
4551 Countdown,
4552 Victory,
4553 ScoreIncrease,
4554 Checkpoint,
4555 };
4559 CAudioSource CreateSound(Text Url);
4563 CAudioSource CreateSound(Text Url,Real VolumedB,Boolean IsMusic,Boolean IsLooping,Boolean IsSpatialized);
4567 Void DestroySound(CAudioSource Sound);
4571 const CAudioSource[] Sounds;
4575 CAudioSourceMusic CreateMusic(Text Url);
4579 Void DestroyMusic(CAudioSourceMusic Music);
4583 Void PlaySoundEvent(CAudioSource Sound,Real VolumedB);
4587 Void PlaySoundEvent(Text Url,Real VolumedB);
4591 Void PlaySoundEvent(ELibSound Sound,Integer SoundVariant,Real VolumedB);
4595 Void PlaySoundEvent(CAudioSource Sound,Real VolumedB,Integer Delay);
4599 Void PlaySoundEvent(Text Url,Real VolumedB,Integer Delay);
4603 Void PlaySoundEvent(ELibSound Sound,Integer SoundVariant,Real VolumedB,Integer Delay);
4607 Void PlaySoundEvent(CAudioSource Sound,Real VolumedB,Vec3 PanRadiusLfe);
4611 Void PlaySoundEvent(Text Url,Real VolumedB,Vec3 PanRadiusLfe);
4615 Void PlaySoundEvent(CAudioSource Sound,Real VolumedB,Vec3 PanRadiusLfe,Integer Delay);
4619 Void PlaySoundEvent(Text Url,Real VolumedB,Vec3 PanRadiusLfe,Integer Delay);
4623 Void ClearAllDelayedSoundsEvents();
4627 Boolean ForceEnableMusic;
4631 Real LimitMusicVolumedB;
4635 Real LimitSceneSoundVolumedB;
4639 Real LimitUiSoundVolumedB;
4640};
4641
4645struct CInputManager : public CNod {
4646 enum EButton {
4647 Left,
4648 Right,
4649 Up,
4650 Down,
4651 A,
4652 B,
4653 X,
4654 Y,
4655 L1,
4656 R1,
4657 LeftStick,
4658 RightStick,
4659 Menu,
4660 View,
4661 LeftStick_Left,
4662 LeftStick_Right,
4663 LeftStick_Up,
4664 LeftStick_Down,
4665 RightStick_Left,
4666 RightStick_Right,
4667 RightStick_Up,
4668 RightStick_Down,
4669 L2,
4670 R2,
4671 None,
4672 };
4676 const CInputEvent[] PendingEvents;
4680 const Integer Now;
4684 const Integer Period;
4688 const CInputPad[] Pads;
4692 const Vec2 MousePos;
4696 const Vec2 MouseKineticScrollVel;
4700 const Boolean MouseLeftButton;
4704 const Boolean MouseRightButton;
4708 const Boolean MouseMiddleButton;
4712 const Vec2[] TouchPoints_Cur;
4716 const Vec2[] TouchPoints_Init;
4720 Text GetPadButtonPlaygroundBinding(CInputPad Pad,EButton Button);
4724 Text GetPadButtonCurrentBinding(CInputPad Pad,EButton Button);
4728 Boolean ExclusiveMode;
4732 Boolean IsKeyPressed(Integer KeyCode);
4736 const Integer TimeSinceLatestMouseActivity;
4740 const Integer TimeSinceLatestTouchActivity;
4744 const Integer TimeSinceLatestKeyboardActivity;
4748 const Integer TimeSinceLatestPadActivity;
4749};
4750
4754struct CDataFileMgr : public CNod {
4755 enum EMediaType {
4756 Image,
4757 Sound,
4758 Script,
4759 MatchSettings,
4760 Module,
4761 Skins,
4762 };
4782 Void Map_RefreshFromDisk();
4794 CTaskResult_MapList Map_GetGameList(Text Path,Boolean Flatten,Boolean SortByNameElseByDate,Boolean SortOrderAsc);
4810 CTaskResult_Ghost Ghost_Download(Text FileName,Text Url);
4814 CTaskResult Ghost_Upload(Text Url,CGhost Ghost,Text AdditionalHeaders);
4818 Void Replay_RefreshFromDisk();
4826 CTaskResult_ReplayList Replay_GetGameList(Text Path,Boolean Flatten,Boolean SortByNameElseByDate,Boolean SortOrderAsc);
4846 CTaskResult_FileList Media_GetGameList(EMediaType Type,Text Path,Boolean Flatten,Boolean SortByNameElseByDate,Boolean SortOrderAsc);
4854 CTaskResult_GameModeList GameMode_GetGameList(Integer Scope,Text Path,Boolean Flatten);
4858 CTaskResult Pack_DownloadOrUpdate(Text DisplayName,Text Url);
4859};
4860
4864struct CScoreMgr : public CNod {
4865 enum ELocalScoreStatus {
4866 None,
4867 Loading,
4868 NotLoaded,
4869 Loaded,
4870 };
4871 enum EMasterServerScoreStatus {
4872 None,
4873 Synchronizing,
4874 NotSynchronized,
4875 Synchronized,
4876 };
4888 ELocalScoreStatus ScoreStatus_GetLocalStatus(Ident UserId);
4892 EMasterServerScoreStatus ScoreStatus_GetMasterServerStatus(Ident UserId);
4900 CTaskResult Map_SetNewRecord(Ident UserId,Text MapUid,Text Context,CGhost Ghost);
4904 Integer Map_GetRecord(Ident UserId,Text MapUid,Text Context);
4916 Integer Map_GetMultiAsyncLevelRecord(Text MapUid,Text Context,Integer MultiAsyncLevel);
4924 Integer Map_GetSkillPoints(Ident UserId,Text MapUid,Text Context);
4944 Integer Campaign_GetMultiAsyncLevelCount(Ident UserId,Text CampaignId,Integer MultiAsyncLevel);
4972 Integer CampaignLeaderBoard_GetPlayerRanking(Ident UserId,Text CampaignId,Text Zone,Boolean UseSkillPoints);
4984 Void Multiplayer_AddToScore(Ident UserId,Real ScoreDiff,Integer Timestamp);
5005};
5006
5010struct CAnimManager : public CNod {
5011 enum EAnimManagerEasing {
5012 Linear,
5013 QuadIn,
5014 QuadOut,
5015 QuadInOut,
5016 CubicIn,
5017 CubicOut,
5018 CubicInOut,
5019 QuartIn,
5020 QuartOut,
5021 QuartInOut,
5022 QuintIn,
5023 QuintOut,
5024 QuintInOut,
5025 SineIn,
5026 SineOut,
5027 SineInOut,
5028 ExpIn,
5029 ExpOut,
5030 ExpInOut,
5031 CircIn,
5032 CircOut,
5033 CircInOut,
5034 BackIn,
5035 BackOut,
5036 BackInOut,
5037 ElasticIn,
5038 ElasticOut,
5039 ElasticInOut,
5040 ElasticIn2,
5041 ElasticOut2,
5042 ElasticInOut2,
5043 BounceIn,
5044 BounceOut,
5045 BounceInOut,
5046 };
5050 Void Add(CMlControl Control,Text XmlTarget,Integer StartTime,Integer Duration,EAnimManagerEasing EasingFunc);
5054 Void AddChain(CMlControl Control,Text XmlTarget,Integer Duration,EAnimManagerEasing EasingFunc);
5058 Void Add(CMlControl Control,Text XmlTarget,Integer Duration,EAnimManagerEasing EasingFunc);
5062 Void Flush(CMlControl Control);
5063};
5064
5069struct CSystemPlatform : public CNod {
5070 enum ESystemPlatform {
5071 None,
5072 Steam,
5073 UPlay,
5074 PS4,
5075 XBoxOne,
5076 };
5077 enum ESystemSkuIdentifier {
5078 Unknown,
5079 EU,
5080 US,
5081 JP,
5082 };
5086 const ESystemPlatform Platform;
5090 const ESystemSkuIdentifier SkuIdentifier;
5094 const Text ExeVersion;
5098 const Integer CurrentLocalDate;
5102 const Text CurrentLocalDateText;
5106 const Text CurrentTimezone;
5110 const Text ExtraTool_Info;
5114 Text ExtraTool_Data;
5118 Void ClipboardSet(Text ClipboardText);
5119};
5120
5125struct CMlControl : public CNod {
5126 enum AlignHorizontal {
5127 Left,
5128 HCenter,
5129 Right,
5130 None,
5131 };
5132 enum AlignVertical {
5133 Top,
5134 VCenter,
5135 Bottom,
5136 None,
5137 VCenter2,
5138 };
5142 const CMlFrame Parent;
5146 const Text ControlId;
5150 const Text[] ControlClasses;
5154 Boolean HasClass(Text Class);
5158 Vec2 Size;
5162 AlignHorizontal HorizontalAlign;
5166 AlignVertical VerticalAlign;
5170 Boolean Visible;
5174 Vec2 RelativePosition_V3;
5178 Real ZIndex;
5182 Real RelativeScale;
5186 Real RelativeRotation;
5190 const Vec2 AbsolutePosition_V3;
5194 const Real AbsoluteScale;
5198 const Real AbsoluteRotation;
5202 Boolean DataAttributeExists(Text DataName);
5206 Text DataAttributeGet(Text DataName);
5210 Void DataAttributeSet(Text DataName,Text DataValue);
5214 Text ToolTip;
5218 Void Show();
5222 Void Hide();
5226 Void Focus();
5230 const Boolean IsFocused;
5231};
5232
5236struct CImage : public CPlug {
5237};
5238
5242struct CMlGraphCurve : public CNod {
5246 Vec2[] Points;
5250 Vec3 Color;
5254 Void SortPoints();
5258 Text Style;
5263};
5264
5273 const CManiaAppEvent[] PendingEvents;
5277 Void BrowserBack();
5281 Void BrowserQuit();
5285 Void BrowserHome();
5289 Void BrowserReload();
5293 Text BrowserFocusedFrameId;
5294};
5295
5300struct CMap : public CNod {
5304 const CMapInfo MapInfo;
5308 Text MapName;
5312 Text Comments;
5316 const Text AuthorZoneIconUrl;
5320 const Text CollectionName;
5324 const Text DecorationName;
5328 const Text AuthorLogin;
5332 const Text AuthorNickName;
5336 const Text AuthorZonePath;
5340 const Text MapType;
5344 const Text MapStyle;
5348 Integer TMObjective_AuthorTime;
5352 Integer TMObjective_GoldTime;
5356 Integer TMObjective_SilverTime;
5360 Integer TMObjective_BronzeTime;
5364 Integer TMObjective_NbLaps;
5368 Boolean TMObjective_IsLapRace;
5372 Text ObjectiveTextAuthor;
5376 Text ObjectiveTextGold;
5380 Text ObjectiveTextSilver;
5384 Text ObjectiveTextBronze;
5388 const Integer CopperPrice;
5392 const Int3 Size;
5396 const Boolean HasCustomIntro;
5400 const Boolean HasCustomMusic;
5401};
5402
5406struct CUILayer : public CNod {
5407 enum EUILayerType {
5408 Normal,
5409 ScoresTable,
5410 ScreenIn3d,
5411 AltMenu,
5412 Markers,
5413 CutScene,
5414 InGameMenu,
5415 EditorPlugin,
5416 ManiaplanetPlugin,
5417 ManiaplanetMenu,
5418 LoadingScreen,
5419 };
5420 enum EUILayerAnimation {
5421 None,
5422 DownFast,
5423 DownSlow,
5424 LeftFast,
5425 LeftSlow,
5426 RightFast,
5427 RightSlow,
5428 ScaleFast,
5429 ScaleSlow,
5430 UpFast,
5431 UpSlow,
5432 };
5436 Boolean IsVisible;
5440 const Boolean AnimInProgress;
5444 EUILayerType Type;
5448 EUILayerAnimation InAnimation;
5452 EUILayerAnimation OutAnimation;
5456 EUILayerAnimation InOutAnimation;
5460 Text AttachId;
5464 Text ManialinkPage;
5468 const CMlPage LocalPage;
5472 const Boolean IsLocalPageScriptRunning;
5473};
5474
5478struct CUserV2Manager : public CNod {
5482 const CUserV2Profile MainUserProfile;
5486 const CTaskResult[] TaskResults;
5490 Void TaskResult_Release(Ident TaskId);
5495};
5496
5500struct CTitleControl : public CNod {
5501 enum ESplitScreenLayout {
5502 Horizontal,
5503 Vertical,
5504 Four,
5505 };
5506 enum EResult {
5507 Success,
5508 Error_Internal,
5509 Error_DataMgr,
5510 Error_Net_ServerNotFound,
5511 Error_Net_ServerUnreachable,
5512 Error_Net_Disconnected,
5513 Error_Net_WrongPassword,
5514 Error_Network_OnlineExpired,
5515 Error_Network_ServerFull,
5516 Error_Abort,
5517 };
5518 enum EEditorType {
5519 ActionMaker,
5520 ChallengeEditor,
5521 ItemEditor,
5522 InterfaceDesigner,
5523 MeshModeler,
5524 ModuleStudio,
5525 PixelArt,
5526 EditorEditor,
5527 VehicleAssembler,
5528 MaterialEditor,
5529 };
5537 const EResult LatestResult;
5541 const Text CustomResultType;
5545 const Text[] CustomResultData;
5549 Void PlayMap(Text Map,Text Mode,Text SettingsXml);
5553 Void PlayCampaign(CCampaign Campaign,CMapInfo MapInfo,Text Mode,Text SettingsXml);
5557 Void PlayMapList(Text[] MapList,Text Mode,Text SettingsXml);
5561 Void PlayMatchSettings(CMatchSettings MatchSettings,Text OverrideMode,Text OverrideSettingsXml);
5565 Void PlaySplitScreen(ESplitScreenLayout LayoutType,Text[] MapList,Text Mode,Text SettingsXml);
5569 Void PlayMultiOnSameScreen(Text[] MapList,Text Mode,Text SettingsXml);
5573 Void PlaySplitScreen(ESplitScreenLayout LayoutType,CMatchSettings MatchSettings);
5577 Void PlayMultiOnSameScreen(CMatchSettings MatchSettings);
5581 Void ViewReplay(Text Replay);
5585 Void OpenEditor(Text EditorName,Text MainPluginSettings);
5589 Void OpenEditor(EEditorType EditorType);
5593 Void EditSkins();
5597 Void EditReplay(Text[] ReplayList);
5601 Void EditGhosts(Text Map);
5605 Void EditAsset(Text EditorName,Text MainPluginSettingsXml,Text RelativeFileName);
5609 Void EditMap(Text Map,Text EditorPluginScript,Text EditorPluginArgument);
5613 Void EditNewMap(Text Environment,Text Decoration,Text ModNameOrUrl,Text PlayerModel,Text MapType,Text EditorPluginScript,Text EditorPluginArgument);
5617 Void EditNewMap(Text Environment,Text Decoration,Text ModNameOrUrl,Text PlayerModel,Text MapType,Boolean UseSimpleEditor,Text EditorPluginScript,Text EditorPluginArgument);
5621 Void EditNewMapFromBaseMap(Text BaseMapName,Text ModNameOrUrl,Text PlayerModel,Text MapType,Text EditorPluginScript,Text EditorPluginArgument);
5625 Void EditBadges();
5629 const Boolean CanPublishFiles;
5637 Void ProcessManiaCodeXml(Text ManiaCodeXml);
5641 const CServerInfo[] LocalServers;
5645 const CServerInfo[] LocalServers_CurrentTitle;
5649 Void DiscoverLocalServers();
5653 Void CreateServer(Text ServerName,Text ServerComment,Integer MaxPlayerCount,Text Password,CMatchSettings MatchSettings,Text PasswordSpectators);
5657 Void CreateServer(Text ServerName,Text ServerComment,Integer MaxPlayerCount,Text Password,Text PasswordSpectators,CMatchSettings MatchSettings,Boolean LocalOnly);
5665 Void GetServerInfo(CServerInfo LocalServer);
5669 Void GetServerInfo_Abort();
5673 const CServerInfo GetServerInfo_Result;
5677 Void Join_GetServerInfo_Result(Boolean AsSpectator,Text Password);
5681 Void JoinServer(Text ServerLogin,Boolean AsSpectator,Text Password);
5685 Void Quit();
5686};
5687
5698
5702struct CTitleEdition : public CNod {
5703 enum EDrive {
5704 TitleReadable,
5705 Title,
5706 User,
5707 };
5711 const CTitle TitleMaker;
5719 const Text EditedTitleId;
5723 const CPackCreatorTitleInfo EditedTitleInfo;
5731 Void File_Move(Text OrigName,Text DestNameOrFolder,Boolean KeepOriginalCopy);
5735 Boolean File_Exists(Text FileName,EDrive InDrive);
5739 Void File_Delete(Text Name);
5743 Void File_WriteText(Text FileName,Text Text);
5747 Text File_ReadText(Text FileName);
5751 Void Dialog_ImportFiles();
5755 const Boolean Dialog_IsFinished;
5759 const Boolean Dialog_Success;
5763 const Boolean Dialog_Aborted;
5767 Void OpenTitleFolderInExplorer();
5771 Void ReloadTitleDesc();
5775 Void SaveTitleDesc();
5779 Void SetTitleCampaign(Integer CampaignNum,Text ScoreContext,Text MapsFolderNameOrPlayListName,Boolean OfficialRecordEnabled);
5783 Void SetTitleCampaign(Integer CampaignNum,Text ScoreContext,Text MapsFolderNameOrPlayListName,Boolean OfficialRecordEnabled,Boolean DisableUnlockSystem);
5784};
5785
5790 enum EFilterPriority {
5791 All,
5792 MoreThanMemo,
5793 MoreThanNotice,
5794 };
5806 const CNotificationsConsumerNotification[] FilteredNotifications;
5810 EFilterPriority Filter_Priority;
5811};
5812
5842
5846struct CBadgeManager : public CNod {
5850 const CBadge[] Badges;
5854 CBadge BadgeCreate();
5858 Void BadgeDestroy(CBadge Badge);
5862 Void BadgeCopy(CBadge Source,CBadge Destination);
5866 Void BadgeReadFromProfile(CBadge Badge,Ident UserId);
5870 Void BadgeWriteToProfile(CBadge Badge,Ident UserId);
5874 Boolean ProfileIsReady(Ident UserId);
5875};
5876
5896 CMatchSettings MatchSettings_SaveAs(Text FilePath,CMatchSettings MatchSettings);
5900 Void MatchSettings_EditScriptSettings(CMatchSettings MatchSettings);
5904 const Boolean MatchSettings_EditScriptSettings_Ongoing;
5909};
5910
5919 const CManiaAppPlaygroundEvent[] PendingEvents;
5923 const CPlaygroundClient Playground;
5927 const CMap Map;
5939 const Integer SplitScreenCount;
5944};
5945
5950struct CManiaAppBase : public CManiaApp {
5954 const CManiaAppEvent[] PendingEvents;
5955};
5956
5964 const Ident TitleId;
5968 const Ident MakerTitleId;
5972 Text DisplayName;
5976 Text Description;
5980 Text InfoUrl;
5984 Text DownloadUrl;
5988 Text TitleVersion;
5992 Text AllowedClientTitleVersion;
5996 Text BaseTitleIds;
6000 Text ForcedPlayerModel;
6004 Text Packaging_ImageFileName;
6008 Text Packaging_LogosFileName;
6012 Text Packaging_Group;
6020 Text Menus_BgReplayFileName;
6024 Text Menus_ManiaAppFileName;
6028 Text Menus_MusicFileName;
6036 Text Hud3dFontFileName;
6040 Text HudDefaultModuleScriptName;
6044 Text MusicFolder;
6045};
6046
6051struct CEditorPluginHandle : public CNod {
6052};
6053
6059 enum EModuleType {
6060 Undefined,
6061 Hud,
6062 Inventory,
6063 Store,
6064 ScoresTable,
6065 Equipment,
6066 MenuBase,
6067 MenuPage,
6068 Chrono,
6069 SpeedMeter,
6070 PlayerState,
6071 TeamState,
6072 };
6076 Void NewModule(EModuleType ModuleType);
6080 Void OpenModule(Text Path);
6084 Void Save();
6088 Void SaveAs(Text Path);
6092 Void SaveCopyAs(Text Path);
6096 Void ForceExit();
6100 const CModuleMenuModel EditedMenu;
6104 const CModuleMenuPageModel EditedMenuPage;
6108 const CModulePlaygroundHudModel EditedPlaygroundHud;
6112 Void EditedPlaygroundHud_SetPreviewContext(Ident ContextId);
6116 Void FileBrowser_Open();
6120 const Boolean FileBrowser_IsRunning;
6124 const Text FileBrowser_FilePath;
6128 const CEditorPluginModuleEvent[] PendingEvents;
6132 const Boolean IsPreviewMode;
6133};
6134
6139struct CEditorMesh : public CEditorAsset {
6140 enum EEdgesDisplay {
6141 Any,
6142 Borders,
6143 None,
6144 };
6145 enum EEdgesConstraint {
6146 Any,
6147 Adjacent,
6148 Closed,
6149 };
6150 enum EElemType {
6151 Vertex,
6152 Edge,
6153 Face,
6154 Any,
6155 };
6156 enum EInteraction {
6157 Creation,
6158 Pick,
6159 PickJoint,
6160 VoxelPickDrag_Base,
6161 VoxelPickDrag_Creation,
6162 VoxelPickDrag_Delete,
6163 VoxelPickDrag_Select,
6164 VoxelPickDrag_Pick,
6165 VoxelPickDrag_SelectTranslation,
6166 VoxelPickDrag_SelectRotation,
6167 VoxelPickDrag_Paste,
6168 Selection,
6169 Translation,
6170 PickTranslation,
6171 ExtrudeTranslation,
6172 Rotation,
6173 PickRotation,
6174 Scale,
6175 Curve2D,
6176 Merge,
6177 Split,
6178 Mirror,
6179 Paste,
6180 PasteMaterial,
6181 BlocTransformation,
6182 None,
6183 };
6184 enum ETexCoordLayer {
6185 Lightmap,
6186 };
6187 enum EMaterialFilterCriterion {
6188 IsAutomatic,
6189 IsBadForHorizontalFaces,
6190 IsBadForVerticalFaces,
6191 };
6192 enum EFilterKind {
6193 NoFilter,
6194 PassIfMatches,
6195 CutIfMatches,
6196 };
6197 enum EUVEditorMode {
6198 UV,
6199 Atlas_ApplyOnClic,
6200 Atlas_SelectOnClic,
6201 };
6202 enum EUVEditorProjectionType {
6203 Planar,
6204 Curve2D,
6205 Cylindrical2D,
6206 Cubic,
6207 Polyedric,
6208 Cylindrical,
6209 ApplyOnlyMaterial,
6210 };
6211 enum ELayerType {
6212 AddGeometry,
6213 SubdivideSmooth,
6214 Translation,
6215 Rotation,
6216 Scale,
6217 Mirror,
6218 MoveToGround,
6219 Extrude,
6220 Subdivide,
6221 Chaos,
6222 Smooth,
6223 BorderTransition,
6224 BlocTransfo,
6225 Voxels,
6226 TriggerShape,
6227 RespawnPos,
6228 Sector,
6229 None,
6230 };
6231 enum ETitleCoreType {
6232 TrackMania,
6233 ShootMania,
6234 };
6238 Boolean GoToMaterialEditor;
6242 Boolean IsCreateMaterial;
6246 Integer Layers_GetCount();
6250 Ident Layers_GetLayerIdFromIndex(Integer LayerIndex);
6254 Text Layers_GetLayerNameFromIndex(Integer LayerIndex);
6258 ELayerType Layers_GetLayerTypeFromIndex(Integer LayerIndex);
6262 Boolean Layers_GetLayerGeneratableFromIndex(Integer LayerIndex);
6266 Void Layers_SetLayerGeneratableFromIndex(Integer LayerIndex,Boolean LayerGeneratability);
6270 Void Layers_AddLayer(ELayerType LayerType);
6274 Ident Layers_GetLayerIdSelected();
6278 Void Layers_SetLayerIdSelected(Ident LayerId);
6282 ELayerType Layers_GetLayerSelectedType();
6286 Integer Layers_GetLayerSelectedIndex();
6290 ELayerType Layers_GetEditedLayerType();
6294 Text Layers_GetLayerSelectedName();
6298 Void Layers_EditMask(Integer LayerIndex);
6302 Void Layers_EditMaskValidate(Integer LayerIndex);
6306 Void Layers_MoveSelectedLayerUp();
6310 Void Layers_MoveSelectedLayerDown();
6314 Void Layers_EditSelectedLayer(Boolean RegenerateSolid);
6318 Void Layers_CloseEditSelectedLayer();
6322 Void Layers_DeleteSelectedLayer();
6326 Integer Transitions_GetCount();
6330 Void Transitions_AddTransition(Text TransitionName,Integer TransitionPosition,Real TransitionSize);
6334 Void Transitions_DeleteCurrentTransition();
6338 Integer Transitions_GetTransitionSelectedIndex();
6342 Void Transitions_SetTransitionSelectedIndex(Integer TransitionIndex);
6346 Integer Transitions_GetTransitionCurrentPage();
6350 Void Transitions_SetTransitionCurrentPage(Integer TransitionCurrentPage);
6354 Text Transitions_GetTransitionNameFromIndex(Integer TransitionIndex);
6358 Void Transitions_SetTransitionNameFromIndex(Integer TransitionIndex,Real TransitionName);
6362 Boolean Transitions_GetTransitionVisibilityFromIndex(Integer TransitionIndex);
6366 Void Transitions_SetTransitionVisibilityFromIndex(Integer TransitionIndex,Boolean TransitionVisibility);
6370 Real Transitions_GetTransitionSizeFromIndex(Integer TransitionIndex);
6374 Void Transitions_SetTransitionSizeFromIndex(Integer TransitionIndex,Real TransitionSize);
6378 Integer Transitions_GetTransitionPositionFromIndex(Integer TransitionIndex);
6382 Void Transitions_SetTransitionPositionFromIndex(Integer TransitionIndex,Integer TransitionPosition);
6386 Boolean IsEditingLayer;
6390 Integer SubdivideSmooth_NbSteps;
6394 Real LayerValueAxisX;
6398 Real LayerValueAxisY;
6402 Real LayerValueAxisZ;
6406 Boolean LayerIndep;
6410 Real LayerValueParam1;
6414 Real LayerValueParam2;
6418 Boolean LayerIndexAxisX;
6422 Boolean LayerIndexAxisY;
6426 Boolean LayerIndexAxisZ;
6430 Boolean Layer_IsVisible;
6434 Boolean Layer_IsCollidable;
6438 Text LayerName;
6442 Boolean LayerGeneratable;
6446 Boolean AddTransitionInProgress;
6450 Text NewTransitionName;
6454 Integer NewTransitionPosition;
6458 Real NewTransitionSize;
6462 Integer RotateAxis;
6466 const Boolean Tmp_UseParts;
6470 const Boolean IsDebug;
6474 Boolean CameraEatingInputsScript;
6478 const Integer VertexCount;
6482 const Integer EdgeCount;
6486 const Integer FaceCount;
6490 Void EditionBox_SetStep(Real Step);
6494 const Boolean EditionBox_IsPlaneOriented;
6498 const Real Scale;
6502 const Real Step;
6506 const Real Size;
6510 const Integer RotationStep;
6514 const Real RotationValue;
6518 const Real ScalingStep;
6522 const Real ScalingRatio;
6526 Boolean DisplayVertices;
6530 Boolean DisplayFaces;
6534 Boolean DisplayJoints;
6538 EEdgesDisplay DisplayEdges;
6542 Void EditedMesh_Clear();
6546 Void EditedMesh_Simplify();
6550 Void EditedMesh_Lod(Real Faces Ratio);
6554 Void UVUnwrap(Ident SetHandle,ETexCoordLayer ETexCoordLayer);
6558 Void Undo();
6562 Void Redo();
6566 Void SwitchPlane();
6570 Void GridSnap_SetActive(Boolean IsActive);
6574 const Boolean GridSnap_IsActive;
6578 Vec3 PickInfo_GetNormal();
6582 Vec3 PickInfo_GetPosition();
6586 Ident PickInfo_GetAnchorId();
6590 Real PickInfo_GetEdgeLength();
6594 Vec3 PickInfo_GetNextVertexPosition();
6598 Ident PickInfo_GetMaterial();
6602 Text PickInfo_GetError();
6606 Void Part_SetAnchorPos(Vec3 Position);
6610 Void Part_SetIsJoint(Boolean IsJoint);
6614 Void Part_ClearAnchor();
6618 Void Joint_Add(Vec3 Position);
6622 Void Joint_Link(Ident IdChild,Ident IdParent);
6626 Void Anchor_Remove(Ident Id);
6630 Boolean IsUsingPhysicMatLib;
6634 const Integer MaterialsUpdateId;
6638 const Ident[] MaterialIds;
6642 const Ident[] MaterialPhysicsIds;
6646 const Text[] MaterialNames;
6650 const Text[] MaterialPhysicsNames;
6654 Ident Material_GetMaterialIdSelected();
6658 Void Material_SetMaterialIdSelected(Ident MaterialEditorId);
6662 Integer Material_GetSubTexIndexSelected();
6666 Integer Material_MaterialLibGetCount();
6670 Void Material_SetDefault(Ident MaterialId);
6674 Ident Material_GetDefault();
6678 Ident MaterialPhysic_GetDefault();
6682 CImage Material_GetBitmapBase(Ident MaterialId);
6686 CImage Material_GetBitmap(Ident MaterialId);
6690 Boolean Material_MatchesCriterion(Ident MaterialId,EMaterialFilterCriterion ResultSetHandle);
6694 Void Material_SetFilter(EMaterialFilterCriterion Criterion,EFilterKind FilterKind);
6698 EFilterKind Material_GetFilter(EMaterialFilterCriterion Criterion);
6702 Void Material_ClearFilters();
6706 Void Material_UVEditor_SetIsRotation(Boolean IsRotation);
6710 Void Material_UVEditor_SetIsScale(Boolean IsScale);
6714 Void Material_UVEditor_SetIsScale1D(Boolean IsScale);
6718 Void Material_UVEditor_Open(Ident MaterialId,CMlQuad LocationQuad);
6722 Void Material_UVEditor_Close();
6726 Boolean Material_UVEditor_IsRunning();
6730 Void Material_UVEditor_SetMode(EUVEditorMode Mode);
6734 EUVEditorMode Material_UVEditor_GetMode();
6738 Void Material_UVEditor_SetProjectionType(EUVEditorProjectionType ProjectionType);
6742 Boolean Material_IsGameMaterial();
6746 Boolean Material_IsCustomLinkFull(Ident MaterialId);
6750 Void Material_UVEditor_Apply();
6754 Void Material_CopyMaterial(Ident SetHandle);
6758 Void Material_PasteMaterial(Ident SetHandle);
6762 const Integer Material_Atlas_SelectedSubTexIndex;
6766 const EInteraction CurrentInteraction;
6770 Void Interaction_Close();
6774 Void Interaction_SetPreview(Ident SetToPreview);
6778 const Integer CreationElemsCount;
6782 Boolean Interaction_StartCreation(Ident CreationSetHandle,EElemType ElemType,Ident SetToPickFromHandle);
6786 Void Interaction_Creation_GetElems(Ident ResultSetHandle);
6790 Void Interaction_Creation_ClearParams();
6794 Void Interaction_Creation_SetEdgesConstraint(EEdgesConstraint EdgesConstraint);
6798 Void Interaction_Creation_SetAutoMerge(Boolean AutoMerge);
6802 Boolean Interaction_StartPaste();
6806 Boolean Interaction_StartBlocTransformation(Ident TransformationSetHandle);
6810 Boolean Interaction_StartCurve2D(Ident BordersSetHandle);
6814 Void Interaction_CloseCurve2D(Boolean CanDoCurve2D);
6818 Boolean Interaction_StartPick(EElemType ElemType,Ident SetToPickFrom);
6822 Boolean Interaction_StartPickJoint();
6826 Boolean Interaction_StartVoxelPickDrag_Base(EElemType ElemType);
6830 Boolean Interaction_StartVoxelPickDrag_Creation();
6834 Boolean Interaction_StartVoxelPickDrag_Delete();
6838 Boolean Interaction_StartVoxelPickDrag_Select(Ident SelectionSetHandle);
6842 Void Interaction_CloseVoxelPickDrag_Select();
6846 Boolean Interaction_StartVoxelPickDrag_Pick();
6850 Void Interaction_CloseVoxelPickDrag_Pick();
6854 Boolean Interaction_StartVoxelPickDrag_SelectTranslation();
6858 Boolean Interaction_StartVoxelPickDrag_SelectRotation();
6862 Boolean Interaction_StartVoxelPickDrag_Paste();
6866 Void CutVoxels();
6870 Void CopyVoxels();
6874 Boolean Interaction_StartMerge(Ident MergeSetHandle);
6878 Boolean Interaction_StartMirror(Ident SetHandle);
6882 Void Interaction_Selection_ClearParams();
6886 Void Interaction_Selection_SetUseParts(Boolean UseParts);
6890 Void Interaction_Selection_SetCanEnterLeaf(Boolean CanEnterLeaf);
6894 Boolean Interaction_StartSelection(Ident SelectionSetHandle,EElemType ElemType,Ident SelectionSetToPickFrom,Boolean IsFromALayer,Boolean AllowDoubleClick);
6898 Void Interaction_CloseSelection();
6902 Boolean Interaction_StartTranslation(Ident TranslationSetHandle);
6906 Boolean Interaction_StartPickTranslation(Ident TranslationSetHandle);
6910 Boolean Interaction_StartRotation(Ident RotationSetHandle);
6914 Boolean Interaction_StartPickRotation(Ident RotationSetHandle);
6918 Void Interaction_Rotation_SetStep(Real RotationStep);
6922 Boolean Interaction_StartPickScale(Ident ScalingSetHandle);
6926 Void Interaction_Scale_SetStep(Real ScalingStep);
6930 Boolean Interaction_StartSplit();
6934 Void Display_HighlightSet(Ident SetHandle);
6938 Void Display_ClearHighlighting();
6942 const Boolean Display_HideElemsByDistance_IsActive;
6946 Integer Display_HideElemsByDistance_Distance;
6950 Real Display_HideElemsByDistance_Opacity;
6954 Void Display_HideElemsByDistance_Start(Ident SetHandle);
6958 Void Display_HideElemsByDistance_Stop();
6962 Void Display_HideMap();
6966 Void Display_ShowMap();
6970 Void MergeAllSuperposedElements(Ident SetHandle);
6974 const Ident SelectionSet;
6978 Void Selection_Undo();
6982 Void Selection_Redo();
6986 Void Selection_Invert();
6990 Void Selection_SelectAllByMaterial();
6994 Ident SetOfElements_Create();
6998 Void SetOfElements_CopyFrom(Ident DestinationSet,Ident SourceSet);
7002 Void SetOfElements_Append(Ident DestinationSet,Ident SourceSet);
7006 Void SetOfElements_Destroy(Ident SetHandle);
7010 Void SetOfElements_Empty(Ident SetHandle);
7014 Void SetOfElements_SetAllElements(Ident SetHandle);
7018 Void SetOfElements_SetAllFaces(Ident SetHandle);
7022 Void SetOfElements_DeleteElements(Ident SetHandle);
7026 Void SetOfElements_DeleteElements(Ident SetHandle,Boolean Spread);
7030 Boolean SetOfElements_HasHorizontalFaces(Ident SetHandle);
7034 Boolean SetOfElements_HasVerticalFaces(Ident SetHandle);
7038 Integer SetOfElements_GetElemsCount(Ident SetHandle);
7042 Integer SetOfElements_GetVerticesCount(Ident SetHandle);
7046 Integer SetOfElements_GetEdgesCount(Ident SetHandle);
7050 Integer SetOfElements_GetFacesCount(Ident SetHandle);
7054 Void ExtendSelectedSet(Ident SetHandle);
7058 Boolean GetBordersSet(Ident SetHandle,Ident SetBordersHandle);
7062 Void GetBordersVertexs(Ident SetHandle,Ident SetVertexHandle);
7066 Void SelectionSet_SelectAll();
7070 Void Curve2DPolygon(Ident FourVertexSetHandle,Ident Sethandle,Integer SubTexIndex);
7074 Void Preview_Clear();
7078 Void VoxelSpace_SetVec3(Vec3 Pos);
7082 Integer VoxelSpace_GetVoxelsCount();
7086 Void VoxelSpace_SelectAll();
7090 Void VoxelSpace_DeleteOneVoxel();
7094 Void VoxelSpace_DeleteSelection();
7098 Void VoxelSpace_ApplyMaterialToVoxel();
7102 Void VoxelSpace_GenerateMesh();
7106 Vec3 VoxelSpaceCenter;
7110 Real VoxelSpaceStep;
7114 Boolean VoxelSpaceIsInteractive;
7118 Void SetOfElements_ProjectOnPlane(Ident SetHandle);
7122 Void SetOfElements_ProjectOnGround(Ident SetHandle,Real Height);
7126 Void SetOfElements_SplitEdgeWithVertex(Ident SetHandle);
7130 Void SetOfElements_CollapseEdgeWithVertex(Ident SetHandle);
7134 Void SetOfElements_Subdivide(Ident SetHandle);
7138 Void SetOfElements_Subdivide_Interpolation(Ident SetHandle);
7142 Void SetOfVertices_DrawCircle(Ident InputSetHandle,Ident ResultSetHandle);
7146 Void SetOfVertices_DrawDisc(Ident InputSetHandle,Ident ResultSetHandle);
7150 Void SetOfVertices_DrawCircle(Ident CenterSetHandle,Vec3 PointOnCircle,Ident ResultSetHandle);
7154 Void SetOfVertices_DrawIcosahedron(Ident InputSetHandle,Ident ResultSetHandle);
7158 Void SetOfVertices_DrawIcosahedron(Ident CenterSetHandle,Vec3 PointOnCircle,Ident ResultSetHandle);
7162 Void SetOfVertices_DrawIcosahedricSphere(Ident InputSetHandle,Ident ResultSetHandle);
7166 Void SetOfVertices_DrawPoly(Ident InputSetHandle,Ident ResultSetHandle,Integer VerticesCount);
7170 Void SetOfVertices_DrawPoly(Ident CenterSetHandle,Vec3 PointOnPoly,Ident ResultSetHandle,Integer VerticesCount);
7174 Void SetOfVertices_DrawSpline(Ident ControlSetHandle,Ident ResultSetHandle);
7178 Void SetOfVertices_Weld(Ident VerticesSetHandle);
7182 Void SetOfVertices_DrawBox(Ident ControlSetHandle,Ident ResultSetHandle);
7186 Void SetOfEdges_Fill(Ident SetHandle);
7190 Void SetOfEdges_Flip(Ident SetHandle,Ident ResultSetHandle);
7194 Void SetOfEdges_BorderExpand(Ident SetHandle);
7198 Void SetOfOneEdge_FaceLoopExpand(Ident SetHandle);
7202 Void SetOfOneEdge_EdgeLoopExpand(Ident SetHandle);
7206 Void SetOfOneFace_CutHole(Ident FaceSetHandle,Ident EdgesSetHandle);
7210 Void SetOfFaces_Extrude(Ident SetHandle,Ident ResultSetHandle);
7214 Void SetOfFaces_QuadsToTriangles(Ident SetHandle,Ident ResultSetHandle);
7218 Void SetOfFaces_ApplyMaterial(Ident SetHandle,Ident MaterialId);
7222 Void SetOfFaces_PlanarExpand(Ident FacesSetHandle);
7226 Void SetOfFaces_ChangeOrientation(Ident FacesSetHandle);
7230 const Text[] PrefabNames;
7234 const Integer PrefabNamesUpdateId;
7238 Integer PrefabListCurrentPage;
7242 Integer Prefab_TotalNb;
7246 Void Prefabs_Reload();
7250 Void Prefab_Export();
7254 Void Prefab_Import(Integer PrefabIndex);
7258 Boolean Parts_CanMergeParts();
7262 Boolean Parts_CanGroupParts();
7266 Boolean Parts_CanUngroupParts();
7270 Int3 Parts_GetOpsState();
7274 Void Parts_MergeSelectedParts();
7278 Void Parts_Group();
7282 Void Parts_UngroupSelectedParts();
7286 Void Cut();
7290 Void Copy();
7294 Void AddUndoState();
7298 Boolean AutoSave(Text FileName);
7302 const CEditorEvent[] PendingEvents;
7306 Boolean MustClearLastSaveBuffer;
7310 const Boolean IsExperimental;
7314 ETitleCoreType GetTitleCoreType();
7315};
7316
7325 Void Bindings_AddContext(Text ContextName);
7329 Void Bindings_AddBinding(Text ContextName,Text BindingScriptId,Text BindingDisplayName);
7333 Void Bindings_RemoveContext(Text ContextName);
7337 Void Bindings_RemoveBinding(Text ContextName,Text BindingName);
7341 Void Bindings_RequestInput(Text ContextName,Text BindingName);
7345 const Boolean Bindings_RequestInput_Done;
7349 Void Bindings_SetBindingScriptId(Text ContextName,Text BindingScriptId,Text NewBindingScriptId);
7353 Void Bindings_SetBindingDisplayName(Text ContextName,Text BindingScriptId,Text BindingDisplayName);
7357 Void Bindings_SetContextName(Text ContextName,Text NewContextName);
7361 const Text[] BindingContexts;
7365 Void Bindings_GetContextBindings(Text ContextName);
7369 const Text[] RequestedContextBindings;
7373 Text Bindings_GetBindingActionName(Text ContextName,Text BindingName);
7377 Text Bindings_GetBindingDisplayName(Text ContextName,Text BindingName);
7381 const CEditorEvent[] PendingEvents;
7382};
7383
7389 enum Type {
7390 LayerCustomEvent,
7391 KeyPress,
7392 (reserved),
7393 MenuNavigation,
7394 CursorSelectionBegin,
7395 CursorSelectionEnd,
7396 CursorChange,
7397 MapModified,
7398 EditorInput,
7399 MapSavedOrSaveCancelled,
7400 EditAnchor,
7401 EditObjectives,
7402 StartValidation,
7403 StartTest,
7404 };
7405 enum EInput {
7406 Unknown,
7407 Menu,
7408 SwitchToRace,
7409 Undo,
7410 Redo,
7411 CursorUp,
7412 CursorRight,
7413 CursorDown,
7414 CursorLeft,
7415 CursorRaise,
7416 CursorLower,
7417 CursorTurn,
7418 CursorPick,
7419 CursorPlace,
7420 CursorDelete,
7421 CameraUp,
7422 CameraRight,
7423 CameraDown,
7424 CameraLeft,
7425 CameraZoomNext,
7426 Camera0,
7427 Camera1,
7428 Camera3,
7429 Camera7,
7430 Camera9,
7431 PivotChange,
7432 CursorTurnSlightly,
7433 CursorTurnSlightlyAntiClockwise,
7434 IconUp,
7435 IconRight,
7436 IconDown,
7437 IconLeft,
7438 RemoveAll,
7439 Save,
7440 SaveAs,
7441 MapStyle,
7442 ClassicMapEditor,
7443 };
7447 const Type Type;
7451 const EInput Input;
7455 const Ident EditedAnchorDataId;
7459 const Boolean IsFromPad;
7463 const Boolean IsFromMouse;
7467 const Boolean IsFromKeyboard;
7471 const Boolean OnlyScriptMetadataModified;
7475 const Boolean MapSavedOrSaveCancelled;
7476};
7477
7481struct CMapEditorInventory : public CNod {
7485 const CMapEditorInventoryDirectory CurrentRootNode;
7489 const CMapEditorInventoryDirectory CurrentDirectory;
7493 const CMapEditorInventoryNode CurrentSelectedNode;
7497 CMapEditorInventoryNode[] RootNodes;
7501 Void EnterDirectory();
7505 Void LeaveDirectory();
7509 Void SelectArticle(CMapEditorInventoryArticle NodeArticle);
7513 Void OpenDirectory(CMapEditorInventoryDirectory NodeDirectory);
7517 Void SelectNode(CMapEditorInventoryNode Node);
7521 Void OpenBrotherDirectory(Boolean NextOrElsePrevious);
7525 Void SelectBrotherArticle(Boolean NextOrElsePrevious);
7529 Void SelectBrotherNode(Boolean NextOrElsePrevious);
7546};
7547
7551struct CBlock : public CNod {
7552 enum CardinalDirections {
7553 North,
7554 East,
7555 South,
7556 West,
7557 };
7561 const Integer BlockScriptId;
7565 const Boolean CanHaveAnchor;
7569 Void UseDefaultAnchor();
7573 Void UseCustomAnchor();
7577 const Int3 Coord;
7581 const CMapEditorPlugin::CardinalDirections Dir;
7585 const CardinalDirections Direction;
7589 const CBlockUnit[] BlockUnits;
7593 const CBlockModel BlockModel;
7594};
7595
7604 const Boolean IsGround;
7608 const Boolean HasStart;
7612 const Boolean HasFinish;
7616 const Boolean HasCheckpoint;
7620 const Boolean HasMultilap;
7624 const CBlockModel GeneratedBlockModel;
7628 Void ClearScriptMetadata();
7632 const Text Name;
7633};
7634
7638struct CBlockModel : public CCollector {
7639 enum EWayPointType {
7640 Start,
7641 Finish,
7642 Checkpoint,
7643 None,
7644 StartFinish,
7645 Dispenser,
7646 };
7650 const Text Name;
7654 const Boolean IsRoad;
7658 const Boolean IsTerrain;
7662 const Boolean IsPodium;
7666 const EWayPointType WaypointType;
7670 const Boolean NoRespawn;
7674 const Boolean IsClip;
7678 const CBlockModelVariantGround VariantGround;
7682 const CBlockModelVariantAir VariantAir;
7683};
7684
7688struct CBlockClipList : public CNod {
7692 const CBlockClip[] Clips;
7696 const Int3 Size;
7700 Boolean SetClipListFromMacroblock(CMacroblockModel MacroblockModel,Int3 Coord,CMapEditorPlugin::CardinalDirections Dir);
7704 Boolean SetClipListFromMacroblock(CMacroblockModel MacroblockModel);
7708 Boolean SetClipListFromBlock(CBlockModel BlockModel,Int3 Coord,CMapEditorPlugin::CardinalDirections Dir);
7712 Boolean SetClipListFromBlock(CBlockModel BlockModel);
7716 Void CreateAndAddClip(Text Name,Int3 Coord,Int3 Offset,CMapEditorPlugin::CardinalDirections Dir,Integer ClipId);
7720 Boolean SetFromClipList(CBlockClipList ClipList,Int3 Coord,CMapEditorPlugin::CardinalDirections Dir);
7724 Void RemoveClip(CBlockClip Clip);
7728 Void ClearClips();
7732 Void Destroy();
7733};
7734
7738struct CMacroblockInstance : public CNod {
7742 const CMacroblockModel MacroblockModel;
7746 const CBlockClipList ClipList;
7750 CMapEditorPlugin::CardinalDirections Dir;
7754 const Int3 Coord;
7758 Integer Order;
7762 Integer UserData;
7766 const Int3[] UnitCoords;
7770 Int3 GetSize();
7771};
7772
7776struct CMapEditorCamera : public CNod {
7777 enum EZoomLevel {
7778 Close,
7779 Medium,
7780 Far,
7781 };
7782 enum ECameraVStep {
7783 Low,
7784 MediumLow,
7785 Medium,
7786 MediumHigh,
7787 High,
7788 };
7792 Void ReleaseLock();
7796 Void CenterOnCursor();
7800 Void WatchStart();
7804 Void WatchClosestFinishLine();
7808 Void WatchClosestCheckpoint();
7812 Void WatchWholeMap();
7816 Void WatchCustomSelection();
7820 Void MoveToMapCenter();
7824 Boolean GetLock();
7828 Boolean CanUse();
7832 Void TurnH(Boolean Clockwise);
7836 Void TurnH(Boolean Clockwise,Boolean HalfSteps);
7840 Void TurnH(Boolean Clockwise,Boolean HalfSteps,Boolean Smooth);
7844 Void TurnV(Boolean UpOrElseDown);
7848 Void TurnV(Boolean UpOrElseDown,Boolean Smooth);
7852 Void Move(CMapEditorPlugin::RelativeDirections RelativeDir);
7856 Void FollowCursor(Boolean Follow);
7860 Void CenterOnCursor(Boolean Smooth);
7864 Void MoveToMapCenter(Boolean Smooth);
7868 Void Watch(CBlock Block);
7872 Void Watch(CBlock Block,Boolean Smooth);
7876 Void Watch(CMacroblockInstance Macroblock);
7880 Void Watch(CMacroblockInstance Macroblock,Boolean Smooth);
7884 Void Watch(CBlockClip Clip);
7888 Void Watch(CBlockClip Clip,Boolean Smooth);
7892 Void WatchStart(Boolean Smooth);
7896 Void WatchClosestFinishLine(Boolean Smooth);
7900 Void WatchClosestCheckpoint(Boolean Smooth);
7904 Void WatchWholeMap(Boolean Smooth);
7908 Void WatchMacroblocks(Integer UserData);
7912 Void WatchMacroblocks(Integer UserData,Boolean Smooth);
7916 Void ZoomIn(Boolean Loop);
7920 Void ZoomIn(Boolean Loop,Boolean Smooth);
7924 Void ZoomOut(Boolean Loop);
7928 Void ZoomOut(Boolean Loop,Boolean Smooth);
7932 Void Zoom(EZoomLevel Level);
7936 Void Zoom(EZoomLevel Level,Boolean Smooth);
7940 Void Look(CMapEditorPlugin::CardinalDirections8 Direction);
7944 Void Look(CMapEditorPlugin::CardinalDirections8 Direction,Boolean Smooth);
7948 Void Look(CMapEditorPlugin::CardinalDirections Direction);
7952 Void Look(CMapEditorPlugin::CardinalDirections Direction,Boolean Smooth);
7956 Void SetVStep(ECameraVStep Step);
7960 Void WatchCustomSelection(Boolean WatchCustomSelection);
7961};
7962
7966struct CMapEditorCursor : public CNod {
7970 Void ReleaseLock();
7974 Int3 Coord;
7978 CMapEditorPlugin::CardinalDirections Dir;
7982 CBlockModel BlockModel;
7986 CBlockModel TerrainBlockModel;
7990 CMacroblockModel MacroblockModel;
7994 Real Brightness;
7998 Boolean HideDirectionalArrow;
8002 Void MoveToCameraTarget();
8006 Void ResetCustomRGB();
8010 Boolean GetLock();
8014 Boolean CanUse();
8018 Boolean Raise();
8022 Boolean Lower();
8026 Void FollowCameraTarget(Boolean Follow);
8030 Void Rotate(Boolean CWOrCCW);
8034 Void Move(CMapEditorPlugin::CardinalDirections CardinalDir);
8038 Void Move(CMapEditorPlugin::CardinalDirections8 CardinalDir8);
8042 Void Move(CMapEditorPlugin::RelativeDirections RelativeDir);
8046 Void DisableMouseDetection(Boolean Disable);
8050 Boolean CanPlace();
8054 Boolean IsCustomRGBActivated();
8058 Void SetCustomRGB(Vec3 Color);
8059};
8060
8064struct CItemAnchor : public CNod {
8068 const Vec3 Position;
8069};
8070
8078 Boolean CanPlace;
8082 Int3 Coord;
8086 CMapEditorPlugin::CardinalDirections Dir;
8087};
8088
8093struct CAnchorData : public CNod {
8094 enum EWaypointType {
8095 Start,
8096 Finish,
8097 Checkpoint,
8098 None,
8099 StartFinish,
8100 Dispenser,
8101 };
8105 const Text DefaultTag;
8109 const Integer DefaultOrder;
8113 Text Tag;
8117 Integer Order;
8121 const EWaypointType WaypointType;
8125 const Vec3 Position;
8126};
8127
8131struct CBadge : public CNod {
8135 Vec3 PrimaryColor;
8139 Text SkinName;
8143 Text StickerSlot_Get(Text Slot);
8147 Void StickerSlot_Set(Text Slot,Text Sticker);
8151 Void StickerSlot_Clear();
8155 Text[] Layers;
8156};
8157
8161struct CMapInfo : public CNod {
8165 const Text MapUid;
8169 const Text Comments;
8173 const Integer CopperPrice;
8177 const Text CollectionName;
8181 const Text AuthorLogin;
8185 const Text AuthorNickName;
8189 const Text AuthorZonePath;
8193 const Text AuthorZoneFlagUrl;
8197 const Text AuthorCountryFlagUrl;
8201 const Text MapType;
8205 const Text MapStyle;
8209 const Boolean Unlocked;
8213 const Boolean IsPlayable;
8217 const Boolean CreatedWithSimpleEditor;
8221 const Boolean CreatedWithPartyEditor;
8225 const Integer TMObjective_AuthorTime;
8229 const Integer TMObjective_GoldTime;
8233 const Integer TMObjective_SilverTime;
8237 const Integer TMObjective_BronzeTime;
8241 const Integer TMObjective_NbLaps;
8245 const Boolean TMObjective_IsLapRace;
8249 const Text Name;
8253 const Text Path;
8257 const Text FileName;
8258};
8259
8264struct CClient : public CNod {
8268 const CUser User;
8272 const CUIConfig UI;
8280 const Text ClientVersion;
8284 const Text ClientTitleVersion;
8288 const Boolean IsSpectator;
8293};
8294
8299struct CScore : public CNod {
8303 const CUser User;
8307 const Boolean IsRegisteredForLadderMatch;
8311 const Real LadderScore;
8315 Integer LadderRankSortValue;
8319 Real LadderMatchScoreValue;
8323 Integer LadderClan;
8324};
8325
8330struct CTeam : public CNod {
8334 Text Name;
8338 Text ZonePath;
8342 Text City;
8346 Text EmblemUrl;
8350 Text PresentationManialinkUrl;
8354 Text ClubLinkUrl;
8358 Vec3 ColorPrimary;
8362 Vec3 ColorSecondary;
8366 const Text ColorText;
8370 const Text ColorizedName;
8371};
8372
8378 enum EType {
8379 Unknown,
8380 ClientConnected,
8381 ClientDisconnected,
8382 MapLoaded,
8383 BeginMatch,
8384 BeginRound,
8385 EndRound,
8386 EndMatch,
8387 MapUnloadRequested,
8388 MapUnloaded,
8389 ChatCommand,
8390 ChatMessage,
8391 ModeCallback,
8392 };
8396 const EType Type;
8400 const CClient Client;
8404 const Text ChatText;
8408 const Text ChatCommandType;
8412 const Text[] ChatCommandData;
8416 const Text ModeCallbackType;
8420 const Text[] ModeCallbackData;
8424 const CScore[] EndMatchScores;
8428 const Integer[] EndMatchRanks;
8429};
8430
8434struct CUIConfigMgr : public CNod {
8438 Void ResetAll();
8442 const CUIConfig UIAll;
8446 const CUIConfig[] UI;
8450 CUIConfig GetUI(CPlayer Player);
8454 CUIConfig GetUI(CUser User);
8458 CUIConfig GetUI(CClient Client);
8462 const CUILayer[] UILayers;
8466 CUILayer UILayerCreate();
8470 Void UILayerDestroy(CUILayer Layer);
8474 Void UILayerDestroyAll();
8478 const CUILayer[] UIReplayLayers;
8482 Integer UISequenceMaxDuration;
8486 Boolean HoldLoadingScreen;
8490 const CUIConfigEvent[] PendingEvents;
8491};
8492
8496struct CServerAdmin : public CNod {
8497 enum ESpecMode {
8498 Selectable,
8499 SpectatorForced,
8500 PlayerForced,
8501 SpectatorSelectable,
8502 PlayerSelectable,
8503 };
8511 Void AutoTeamBalance();
8515 Boolean Kick(CUser User,Text Reason);
8519 Boolean Kick(CClient Client,Text Reason);
8523 Boolean Ban(CUser User,Text Reason);
8527 Boolean Ban(CClient Client,Text Reason);
8531 Boolean ForceSpectator(CUser User,ESpecMode SpecMode);
8535 Boolean ForceSpectator(CClient Client,ESpecMode SpecMode);
8539 Boolean ForcePlayerRequestedTeam(CUser User,Integer Team);
8551 Void SetLobbyInfo(Boolean IsLobby,Integer LobbyPlayerCount,Integer LobbyMaxPlayerCount,Real LobbyPlayersLevel);
8555 Void SendToServerAfterMatch(Text ServerUrl);
8559 Void CustomizeQuitDialog(Text ManialinkPage,Text SendToServerUrl,Boolean ProposeAddToFavorites,Integer ForceDelay);
8567 const Boolean Authentication_GetTokenResponseReceived;
8571 const Integer Authentication_ErrorCode;
8575 const Text Authentication_Token;
8576};
8577
8582struct CXmlRpc : public CNod {
8586 const CXmlRpcEvent[] PendingEvents;
8590 Void SendCallback(Text Param1,Text Param2);
8594 Void SendCallbackArray(Text Type,Text[] Data);
8598 Void SendCallback_BeginRound();
8602 Void SendCallback_EndRound();
8603};
8604
8609struct CMode : public CNod {
8610 enum EMedal {
8611 None,
8612 Finished,
8613 Bronze,
8614 Silver,
8615 Gold,
8616 Author,
8617 };
8621 Text ModeStatusMessage;
8625 const CTitle LoadedTitle;
8629 const Text ServerLogin;
8633 const Text ServerName;
8637 const Text ServerModeName;
8641 const Text MapName;
8645 const CMap Map;
8649 const Text MapPlayerModelName;
8653 const CUser[] Users;
8657 const CTeam[] Teams;
8661 Text NeutralEmblemUrl;
8665 const Text ForcedClubLinkUrl1;
8669 const Text ForcedClubLinkUrl2;
8673 Void TweakTeamColorsToAvoidHueOverlap();
8677 Text ClientManiaAppUrl;
8681 const Integer Now;
8685 const Integer Period;
8689 Boolean MatchEndRequested;
8693 const Boolean ServerShutdownRequested;
8697 const Boolean MapLoaded;
8701 Void RequestLoadMap();
8705 Void RequestUnloadMap();
8709 const CMapInfo[] MapList;
8713 Integer NextMapIndex;
8717 const CUIConfigMgr UIManager;
8721 Void Hud_Load(Text ModuleName);
8725 const CModulePlaygroundHud Hud;
8729 Void PassOn(CUIConfigEvent EventToPassOn);
8733 Void Discard(CUIConfigEvent EventToDiscard);
8737 Void Ladder_OpenMatch_Request();
8741 Void Ladder_AddPlayer(CScore PlayerScore);
8745 Void Ladder_OpenMatch_BeginRequest();
8749 Void Ladder_OpenMatch_AddPlayer(CScore PlayerScore);
8753 Void Ladder_OpenMatch_EndRequest();
8757 Void Ladder_CloseMatchRequest();
8761 Void Ladder_CancelMatchRequest();
8765 const Boolean Ladder_RequestInProgress;
8769 Void Ladder_SetResultsVersion(Integer Version);
8773 Void Ladder_SetMatchMakingMatchId(Integer MatchId);
8777 Void Ladder_EnableChallengeMode(Boolean Enable);
8781 const CServerAdmin ServerAdmin;
8785 Void AutoTeamBalance();
8789 Void Solo_SetNewRecord(CScore PlayerScore,EMedal PlayerScore);
8793 const Boolean Solo_NewRecordSequenceInProgress;
8797 const CXmlRpc XmlRpc;
8801 const CParsingManager Xml;
8805 const CHttpManager Http;
8817 const CScoreMgr ScoreMgr;
8821 const CSystemPlatform System;
8825 Integer Synchro_AddBarrier();
8829 Boolean Synchro_BarrierReached(Integer Barrier);
8833 Boolean Users_AreAllies(CUser User1,CUser User2);
8837 Void Users_RequestSwitchToSpectator(CUser User);
8841 CUser Users_CreateFake(Text NickName,Integer RequestedTeam);
8845 Void Users_DestroyFake(CUser User);
8849 Void Users_SetNbFakeUsers(Integer NbTeam1,Integer NbTeam2);
8853 Void Users_DestroyAllFakes();
8857 Void ItemList_Begin();
8861 Boolean ItemList_Begin();
8865 Ident ItemList_Add(Text ModelName);
8869 Ident ItemList_AddWithSkin(Text ModelName,Text SkinNameOrUrl);
8873 Void ItemList_End();
8877 Void DemoToken_StartUsingToken();
8881 Void DemoToken_StopUsingToken();
8885 Void DemoToken_GetAndUseToken(CUser User);
8889 Void ActionList_Begin();
8893 Boolean ActionList_Begin();
8897 Ident ActionList_Add(Text ActionName);
8901 Void ActionList_End();
8905 Boolean UseMinimap;
8909 Boolean Replay_AutoStart;
8913 Void Replay_Start();
8917 Void Replay_Stop();
8921 const CAchievementsManager AchievementsManager;
8925 const CModeTurretManager TurretsManager;
8929 const CModeVehicleManager VehiclesManager;
8933 const CActionManager ActionsManager;
8937 Text Dbg_DumpDeclareForVariables(CNod Nod,Boolean StatsOnly);
8938};
8939
8944struct CSmPlayer : public CPlayer {
8945 enum ESpawnStatus {
8946 NotSpawned,
8947 Spawning,
8948 Spawned,
8949 };
8953 const CSmScore Score;
8957 const ESpawnStatus SpawnStatus;
8961 const Integer StartTime;
8965 Integer EndTime;
8977 const Boolean AutoSwitchWeapon;
8981 const Integer CurWeapon;
8985 const Integer CurAmmo;
8989 const Integer CurAmmoMax;
8993 const Integer CurAmmoUnit;
8997 Integer Armor;
9001 Integer ArmorMax;
9005 Integer ArmorGain;
9009 Integer ArmorReplenishGain;
9017 Integer Stamina;
9021 const Integer StaminaMaxValue;
9045 Boolean AllowWallJump;
9049 Boolean AllowProgressiveJump;
9053 Boolean UseAlternateWeaponVisual;
9057 Boolean IsHighlighted;
9065 Vec3 ForceColor;
9073 Real ForceLinearHue;
9077 Ident ForceModelId;
9081 Boolean HasShield;
9085 const Boolean IsInVehicle;
9093 const Integer CurrentClan;
9097 const Integer IdleDuration;
9101 const Vec3 Position;
9105 const Real AimYaw;
9109 const Real AimPitch;
9113 const Vec3 AimDirection;
9117 const Vec3 Velocity;
9121 const Real Speed;
9125 const Boolean IsUnderground;
9129 const Boolean IsTouchingGround;
9133 const Boolean IsInAir;
9137 const Boolean IsInWater;
9141 const Boolean IsInOffZone;
9145 const Boolean IsOnTech;
9149 const Boolean IsOnTechGround;
9153 const Boolean IsOnTechLaser;
9157 const Boolean IsOnTechArrow;
9161 const Boolean IsOnTechNucleus;
9165 const Boolean IsOnTechArmor;
9169 const Boolean IsOnTechSafeZone;
9173 const Boolean IsOnTechTeleport;
9177 const Boolean IsOnTechNoWeapon;
9181 const Boolean IsPowerJumpActivable;
9185 const Boolean IsTeleportActivable;
9189 const Boolean IsAttractorActivable;
9193 const Integer NbActiveAttractors;
9197 const Boolean IsCapturing;
9201 const CSmMapLandmark CapturedLandmark;
9205 const CSmObject[] Objects;
9209 const CModeVehicle Vehicle;
9213 const Boolean IsFakePlayer;
9217 const Boolean IsBot;
9221 const CSmPlayerDriver Driver;
9222};
9223
9228struct CSmModeEvent : public CBaseEvent {
9229 enum EType {
9230 Unknown,
9231 OnShoot,
9232 OnHit,
9233 OnNearMiss,
9234 OnArmorEmpty,
9235 OnCapture,
9236 OnShotDeny,
9237 OnFallDamage,
9238 OnCommand,
9239 OnPlayerAdded,
9240 OnPlayerRemoved,
9241 OnPlayerRequestRespawn,
9242 OnActionCustomEvent,
9243 OnActionEvent,
9244 OnPlayerTouchesObject,
9245 OnPlayerThrowsObject,
9246 OnPlayerTriggersSector,
9247 OnPlayerTriggersWaypoint,
9248 OnPlayerRequestActionChange,
9249 OnVehicleArmorEmpty,
9250 OnVehicleCollision,
9251 OnVehicleVsVehicleCollision,
9252 OnVehicleLanding,
9253 };
9254 enum EActionSlot {
9255 Slot_A,
9256 Slot_B,
9257 Slot_C,
9258 Slot_D,
9259 Slot_E,
9260 Slot_F,
9261 Slot_G,
9262 Slot_H,
9263 };
9264 enum EActionInput {
9265 Weapon,
9266 Movement,
9267 Activable1,
9268 Activable2,
9269 Activable3,
9270 Activable4,
9271 Consumable1,
9272 Consumable2,
9273 None,
9274 };
9278 const EType Type;
9282 const CSmPlayer Player;
9286 Integer Damage;
9290 const Integer VictimShield;
9294 const CEntity VictimEntity;
9298 Integer ShooterPoints;
9302 const CEntity ShooterEntity;
9306 const Integer ShooterClan;
9310 const Real Height;
9314 const Real MissDist;
9318 const Integer WeaponNum;
9322 const Boolean ShooterUsedAction;
9326 const Integer ShooterWeaponNum;
9330 const EActionSlot ShooterActionSlot;
9334 const Text ShooterActionId;
9338 const Boolean VictimUsedAction;
9342 const Integer VictimWeaponNum;
9346 const EActionSlot VictimActionSlot;
9350 const Text VictimActionId;
9354 const EActionSlot Action_Slot;
9358 const EActionInput ActionInput;
9362 const Text ActionId;
9366 const Text Param1;
9370 const Text[] Param2;
9374 const CSmObject Object;
9378 const Integer WaypointTime;
9382 const CSmBlockPole BlockPole;
9386 const CSmMapLandmark Landmark;
9390 const CUser User;
9394 const Boolean PlayerWasSpawned;
9398 const Boolean PlayerWasInLadderMatch;
9402 const Vec3 PlayerLastPosition;
9406 const Vec3 PlayerLastAimDirection;
9410 const Boolean GiveUp;
9414 const Text CommandName;
9418 const Boolean CommandValueBoolean;
9422 const Integer CommandValueInteger;
9426 const Real CommandValueReal;
9430 const Text CommandValueText;
9434 const Integer ActionChange;
9435};
9436
9440struct CSmMapBase : public CNod {
9444 Integer Clan;
9448 Boolean IsActive;
9452 const Integer NumberOfCollectors;
9453};
9454
9463 const CSmMapBase Base;
9467 const CSmMapGate Gate;
9471 const CSmMapGauge Gauge;
9472};
9473
9478struct CSmScore : public CScore {
9482 const Integer TeamNum;
9486 Integer Points;
9490 Integer RoundPoints;
9494 const Integer NbEliminationsInflicted;
9498 const Integer NbEliminationsTaken;
9502 const Integer NbRespawnsRequested;
9506 const Integer DamageInflicted;
9510 const Integer DamageTaken;
9514 Void Clear();
9515};
9516
9521struct CSmObject : public CEntity {
9522 enum EStatus {
9523 OnPlayer,
9524 OnAnchor,
9525 InWorld,
9526 Unspawned,
9527 };
9531 const EStatus Status;
9535 const Ident ModelId;
9539 Void SetAnchor(CMapObjectAnchor ObjectAnchor);
9543 Void SetPlayer(CSmPlayer Player);
9547 Void SetPosition(Vec3 Position);
9551 Void SetPositionAndVel(Vec3 Position,Vec3 Vel);
9555 Void SetUnspawned();
9563 const CSmMapLandmark AnchorLandmark;
9567 const Vec3 Position;
9571 const Vec3 Vel;
9575 Integer MachineState;
9579 Boolean Throwable;
9583 const Ident ThrowLatestPlayerId;
9584};
9585
9591 enum EUISound {
9592 Default,
9593 Silence,
9594 StartMatch,
9595 EndMatch,
9596 StartRound,
9597 EndRound,
9598 PhaseChange,
9599 TieBreakPoint,
9600 TiePoint,
9601 VictoryPoint,
9602 Capture,
9603 TimeOut,
9604 Notice,
9605 Warning,
9606 PlayerEliminated,
9607 PlayerHit,
9608 Checkpoint,
9609 Finish,
9610 Record,
9611 ScoreProgress,
9612 RankChange,
9613 Bonus,
9614 FirstHit,
9615 Combo,
9616 PlayersRemaining,
9617 Custom1,
9618 Custom2,
9619 Custom3,
9620 Custom4,
9621 };
9622 enum EInGameMenuResult {
9623 Resume,
9624 Quit,
9625 NormalMenu,
9626 AdvancedMenu,
9627 ServerSettings,
9628 };
9632 const Integer GameTime;
9636 const CPlaygroundClient Playground;
9656 const Boolean UseClans;
9660 const Boolean UseForcedClans;
9668 const CMap Map;
9672 Void ShowCurChallengeCard();
9676 Void ShowModeHelp();
9680 Void CopyServerLinkToClipBoard();
9684 Void JoinTeam1();
9688 Void JoinTeam2();
9692 const CTeam[] Teams;
9704 Void ShowProfile(Text Player);
9708 Void ShowInGameMenu();
9712 Void CloseInGameMenu(EInGameMenuResult Result);
9716 Void CloseScoresTable();
9720 const Boolean IsInGameMenuDisplayed;
9724 const Text CurrentServerLogin;
9728 const Text CurrentServerName;
9732 const Text CurrentServerDesc;
9736 const Text CurrentServerJoinLink;
9740 const Text CurrentServerModeName;
9744 const Integer SplitScreenNum;
9748 const Integer SplitScreenCount;
9752 Void PlayUiSound(EUISound Sound,Integer SoundVariant,Real Volume);
9756 const CAchievementsManager AchievementsManager;
9757};
9758
9763struct CModeVehicle : public CEntity {
9767 Integer Armor;
9771 Integer ArmorMax;
9775 const Vec3 Position;
9779 const Real Pitch;
9783 const Real Roll;
9787 const Vec3 Left;
9791 const Vec3 Up;
9795 const Vec3 Dir;
9799 const Vec3 Velocity;
9803 const Real Altitude;
9807 Integer Clan;
9811 Real AccelCoef;
9815 const Real AccelInput;
9819 Void SetEngineActivated(Boolean IsActivated);
9820};
9821
9825struct CAction : public CNod {
9826};
9827
9833 enum EType {
9834 OnHitPlayer,
9835 OnProjectileEnd,
9836 OnProjectileDestroyed,
9837 OnActiveChange,
9838 OnHitObject,
9839 OnHitShield,
9840 OnHitVehicle,
9841 OnShieldEnd,
9842 OnHitTurret,
9843 };
9847 const EType Type;
9851 const Ident ProjectileModelId;
9855 const Integer Damage;
9859 const Integer ContextId;
9863 const Vec3 Position;
9867 const Vec3 Direction;
9871 const Vec3 Normal;
9875 const CEntity Victim;
9879 const Integer Shield;
9880};
9881
9887 enum ValidationStatus {
9888 NotValidable,
9889 Validable,
9890 Validated,
9891 };
9895 Boolean CustomEditAnchorData;
9899 Void ClearMapMetadata();
9903 ValidationStatus ValidationStatus;
9907 Text ValidabilityRequirementsMessage;
9911 Boolean ValidationEndRequested;
9915 Boolean ValidationEndNoConfirm;
9919 Void RequestEnterPlayground();
9923 Void RequestLeavePlayground();
9927 const Boolean IsSwitchedToPlayground;
9931 const CUIConfigMgr UIManager;
9935 const CUser[] Users;
9936};
9937
9942struct CTmMlPlayer : public CPlayer {
9943 enum ERaceState {
9944 BeforeStart,
9945 Running,
9946 Finished,
9947 Eliminated,
9948 };
9949 enum ETmBonusModeEventType {
9950 None,
9951 Bumps,
9952 LowGravity,
9953 FreeWheeling,
9954 LockedDirections,
9955 };
9956 enum ESceneVehiclePhyStuntFigure {
9957 None,
9958 StraightJump,
9959 Flip,
9960 BackFlip,
9961 Spin,
9962 Aerial,
9963 AlleyOop,
9964 Roll,
9965 Corkscrew,
9966 SpinOff,
9967 Rodeo,
9968 FlipFlap,
9969 Twister,
9970 FreeStyle,
9971 SpinningMix,
9972 FlippingChaos,
9973 RollingMadness,
9974 WreckNone,
9975 WreckStraightJump,
9976 WreckFlip,
9977 WreckBackFlip,
9978 WreckSpin,
9979 WreckAerial,
9980 WreckAlleyOop,
9981 WreckRoll,
9982 WreckCorkscrew,
9983 WreckSpinOff,
9984 WreckRodeo,
9985 WreckFlipFlap,
9986 WreckTwister,
9987 WreckFreeStyle,
9988 WreckSpinningMix,
9989 WreckFlippingChaos,
9990 WreckRollingMadness,
9991 TimePenalty,
9992 RespawnPenalty,
9993 Grind,
9994 Reset,
9995 };
9999 const Integer CurrentClan;
10003 const ERaceState RaceState;
10007 const Boolean IsSpawned;
10011 const CTrackManiaScore Score;
10015 const Integer RaceStartTime;
10019 const Integer LapStartTime;
10023 CTmResult CurRace;
10027 CTmResult CurLap;
10031 const Integer CurrentNbLaps;
10035 const Integer CurTriggerIndex;
10039 const Integer CurCheckpointRaceTime;
10043 const Integer CurCheckpointLapTime;
10047 const Integer CoopSymbiosysPercentTotal;
10051 const Integer CoopCheckpointCurController;
10055 const Real AccelCoef;
10059 const Real ControlCoef;
10063 const Real GravityCoef;
10067 const Vec3 Position;
10071 const Vec3 AimDirection;
10075 const Real AimYaw;
10079 const Real AimPitch;
10083 const Real Upwardness;
10087 const Integer CurRaceContinuousRank;
10091 const Real Distance;
10095 const Real Speed;
10099 const Integer DisplaySpeed;
10103 const Real InputSteer;
10107 const Real InputGasPedal;
10111 const Boolean InputIsBraking;
10115 const Real EngineRpm;
10119 const Integer EngineCurGear;
10123 const Real EngineTurboRatio;
10127 const Integer WheelsContactCount;
10131 const Integer WheelsSkiddingCount;
10135 const Real DamageHullRatio;
10139 const Real DamageWindowRatio;
10143 const Integer InWaterDuration;
10151 const Integer FlyingDuration;
10155 const Integer SparklingDuration;
10159 const Integer LightTrailsDuration;
10163 const Integer SkiddingDuration;
10167 const Real SkiddingDistance;
10171 const Real FlyingDistance;
10175 const Integer HandicapNoGasDuration;
10179 const Integer HandicapFullGasDuration;
10183 const Integer HandicapNoBrakesDuration;
10187 const Integer HandicapNoSteeringDuration;
10191 const Integer HandicapNoGripDuration;
10195 const Integer StuntLastTime;
10199 const ESceneVehiclePhyStuntFigure StuntLast;
10203 const Integer StuntAngle;
10207 const Integer StuntPoints;
10211 const Integer StuntCombo;
10215 const Real StuntFactor;
10219 const Boolean StuntStraightLanding;
10223 const Boolean StuntReverseLanding;
10227 const Boolean StuntPerfectLanding;
10231 const Boolean StuntMasterJump;
10235 const Boolean StuntMasterLanding;
10239 const Boolean StuntEpicLanding;
10243 const Boolean StuntIsInFigure;
10247 const Boolean StuntCurFigureMasterJump;
10259 const Boolean StuntCurComboChainCounter;
10263 const Integer TimeLeftForStuntCombo;
10267 const Integer TimeElapsedSinceLastStunt;
10271 const Boolean BonusModeIsJump;
10275 const Boolean BonusModeIsTurbo;
10279 const Boolean BonusModeIsMiniCar;
10283 const Boolean BonusModeIsBigCar;
10287 const Boolean BonusModeIsEmptyCars;
10291 const Boolean BonusModeIsSpeedyCars;
10295 const Boolean BonusModeIsGold;
10299 const Integer BonusModeEmptyCarsStock;
10303 const Integer BonusModeTurboStock;
10307 const Integer BonusModeJumpStock;
10311 const Integer BonusBumpCooldown;
10315 const Boolean BonusIsPossible;
10319 const Integer BonusModeTimeTillEvent;
10323 const Integer BonusModeTimeTillEndEvent;
10327 const Integer BonusModeTimeTillEventWarning;
10331 const ETmBonusModeEventType BonusModeEventType;
10335 const Boolean BonusModeEventIsGold;
10339 const Integer UniqueCameraRespawnCount;
10343 const Integer UniqueCameraAvailableRespawnLeft;
10347 const Integer TimeTillSmashRespawn;
10351 const Integer TimeTillSmashGiveUp;
10355 const Boolean SmashNeedHelp;
10359 const Integer TimeBeforeDeadlyZone;
10363 const Boolean IsDeadlyZoneActive;
10364};
10365
10369struct CTmRaceClientEvent : public CNod {
10370 enum EType {
10371 Unknown,
10372 WayPoint,
10373 Respawn,
10374 Turbo,
10375 Horn,
10376 Impact,
10377 WaterSplash,
10378 GlassSmash,
10379 PartDetached,
10380 StopEngine,
10381 StartEngine,
10382 AirSpawnRelease,
10383 };
10387 const EType Type;
10391 const CTmMlPlayer Player;
10395 const Integer CheckpointInRace;
10399 const Integer CheckpointInLap;
10403 const Boolean IsEndRace;
10407 const Boolean IsEndLap;
10411 const Integer RaceTime;
10415 const Integer LapTime;
10419 const Integer StuntsScore;
10423 const Integer NbRespawns;
10424};
10425
10430struct CTmScore : public CScore {
10434 const Integer TeamNum;
10438 Integer Points;
10442 CTmResult BestRace;
10446 CTmResult BestLap;
10450 Integer PrevRaceDeltaPoints;
10454 CTmResult PrevRace;
10458 CTmResult TempResult;
10462 Void Clear();
10463};
10464
10469struct CTmPlayer : public CPlayer {
10473 const Integer CurrentClan;
10477 const CTmScore Score;
10481 Integer RaceStartTime;
10485 Boolean IsSpawned;
10489 CTmResult CurRace;
10493 CTmResult CurLap;
10497 Integer CurrentNbLaps;
10501 const Integer CurTriggerIndex;
10529 Ident ForceModelId;
10533 const Integer IdleDuration;
10537 Real AccelCoef;
10541 Real ControlCoef;
10545 Real GravityCoef;
10546};
10547
10551struct CTmModeEvent : public CNod {
10552 enum EType {
10553 Unknown,
10554 StartLine,
10555 WayPoint,
10556 GiveUp,
10557 Respawn,
10558 Stunt,
10559 OnPlayerAdded,
10560 OnPlayerRemoved,
10561 OnCommand,
10562 };
10563 enum EStuntFigure {
10564 None,
10565 StraightJump,
10566 Flip,
10567 BackFlip,
10568 Spin,
10569 Aerial,
10570 AlleyOop,
10571 Roll,
10572 Corkscrew,
10573 SpinOff,
10574 Rodeo,
10575 FlipFlap,
10576 Twister,
10577 FreeStyle,
10578 SpinningMix,
10579 FlippingChaos,
10580 RollingMadness,
10581 WreckNone,
10582 WreckStraightJump,
10583 WreckFlip,
10584 WreckBackFlip,
10585 WreckSpin,
10586 WreckAerial,
10587 WreckAlleyOop,
10588 WreckRoll,
10589 WreckCorkscrew,
10590 WreckSpinOff,
10591 WreckRodeo,
10592 WreckFlipFlap,
10593 WreckTwister,
10594 WreckFreeStyle,
10595 WreckSpinningMix,
10596 WreckFlippingChaos,
10597 WreckRollingMadness,
10598 TimePenalty,
10599 RespawnPenalty,
10600 Grind,
10601 Reset,
10602 };
10606 const EType Type;
10610 const CTmPlayer Player;
10614 Integer RaceTime;
10618 const Integer CheckpointInRace;
10622 const Integer CheckpointInLap;
10626 const Boolean IsEndLap;
10630 const Boolean IsEndRace;
10634 Integer LapTime;
10638 Integer StuntsScore;
10642 Integer NbRespawns;
10646 const Ident BlockId;
10650 Real Speed;
10654 Real Distance;
10658 Real Damages;
10662 const EStuntFigure StuntFigure;
10666 const Integer Angle;
10670 const Integer Points;
10674 const Real Factor;
10678 const Integer Combo;
10682 const Boolean IsStraight;
10686 const Boolean IsReverse;
10690 const Boolean IsPerfectLanding;
10694 const Boolean IsMasterJump;
10698 const Boolean IsMasterLanding;
10702 const Boolean IsEpicLanding;
10706 const CUser User;
10710 const Boolean PlayerWasSpawned;
10714 const Boolean PlayerWasInLadderMatch;
10718 const Text CommandName;
10722 const Boolean CommandValueBoolean;
10726 const Integer CommandValueInteger;
10730 const Real CommandValueReal;
10734 const Text CommandValueText;
10735};
10736
10741struct CMlFrame : public CMlControl {
10745 const CMlControl[] Controls;
10749 CMlControl GetFirstChild(Text ControlId);
10753 Boolean ClipWindowActive;
10757 Vec2 ClipWindowRelativePosition;
10761 Vec2 ClipWindowSize;
10765 Boolean ScrollActive;
10769 Vec2 ScrollOffset;
10773 const Vec2 ScrollAnimOffset;
10777 Vec2 ScrollMax;
10781 Vec2 ScrollMin;
10785 Boolean ScrollGridSnap;
10789 Vec2 ScrollGrid;
10793 Void Scroll(Vec2 DeltaInGridUnits);
10797 Void ScrollBumpTop();
10801 Void ScrollBumpBottom();
10805 Void ScrollBumpLeft();
10809 Void ScrollBumpRight();
10813 Boolean DisablePreload;
10814};
10815
10819struct CParsingDocument : public CNod {
10823 const Text TextContents;
10827 const CParsingNode Root;
10831 const CParsingNode[] Nodes;
10835 CParsingNode GetFirstChild(Text Name);
10836};
10837
10842struct CHttpRequest : public CNod {
10846 const Text Url;
10858 const Boolean IsCompleted;
10859};
10860
10864struct CHttpEvent : public CNod {
10865 enum EType {
10866 RequestComplete,
10867 };
10871 const EType Type;
10876};
10877
10881struct CVideo : public CNod {
10882 enum ETextureFilter {
10883 Default,
10884 Point,
10885 };
10889 const CImage Image;
10893 Boolean IsLooping;
10897 const Boolean DownloadInProgress;
10901 const Real PlayLength;
10905 Void BeginProcessing();
10909 Void EndProcessing();
10913 const Boolean IsProcessing;
10921 Void Play();
10925 Void Pause();
10929 Void Stop();
10933 const Boolean IsPlaying;
10937 Real PlayCursor;
10941 ETextureFilter TextureFilter;
10942};
10943
10947struct CAudioSource : public CNod {
10951 Void Play();
10955 Void Stop();
10959 const Boolean IsPlaying;
10963 const Boolean DownloadInProgress;
10967 Real Volume;
10971 Real FadeDuration;
10975 Real VolumedB;
10979 Real Pitch;
10983 Vec3 RelativePosition;
10987 Vec3 PanRadiusLfe;
10991 Real PlayCursor;
10995 const Real PlayLength;
10996};
10997
11002 enum EUpdateMode {
11003 Cut,
11004 OnNextBar,
11005 OnNextHalfBar,
11006 OnNextBeat,
11007 };
11011 Real[] Tracks_Volume;
11015 Real[] Tracks_VolumedB;
11019 const Text[] Tracks_Name;
11023 const Real[] Tracks_Length;
11027 const Integer Tracks_Count;
11031 const Real BeatsPerMinute;
11035 const Real BeatDuration;
11039 const Integer BeatsPerBar;
11043 EUpdateMode UpdateMode;
11047 Boolean Dbg_ForceIntensity;
11051 Boolean Dbg_ForceSequential;
11055 Boolean Dbg_ForceRandom;
11075 Real FadeTracksDuration;
11079 Real FadeFiltersDuration;
11083 Void MuteAllTracks();
11087 Void UnmuteAllTracks();
11091 Void NextVariant();
11095 Void NextVariant(Boolean IsIntensityDecreasing);
11099 Void EnableSegment(Text SegmentName);
11103 Boolean UseNewImplem;
11104};
11105
11109struct CInputEvent : public CNod {
11110 enum EType {
11111 PadButtonPress,
11112 };
11113 enum EButton {
11114 Left,
11115 Right,
11116 Up,
11117 Down,
11118 A,
11119 B,
11120 X,
11121 Y,
11122 L1,
11123 R1,
11124 LeftStick,
11125 RightStick,
11126 Menu,
11127 View,
11128 LeftStick_Left,
11129 LeftStick_Right,
11130 LeftStick_Up,
11131 LeftStick_Down,
11132 RightStick_Left,
11133 RightStick_Right,
11134 RightStick_Up,
11135 RightStick_Down,
11136 L2,
11137 R2,
11138 None,
11139 };
11143 const EType Type;
11147 const CInputPad Pad;
11151 const EButton Button;
11155 const Boolean IsAutoRepeat;
11159 const Integer KeyCode;
11163 const Text KeyName;
11164};
11165
11169struct CInputPad : public CNod {
11170 enum EButton {
11171 Left,
11172 Right,
11173 Up,
11174 Down,
11175 A,
11176 B,
11177 X,
11178 Y,
11179 L1,
11180 R1,
11181 LeftStick,
11182 RightStick,
11183 Menu,
11184 View,
11185 LeftStick_Left,
11186 LeftStick_Right,
11187 LeftStick_Up,
11188 LeftStick_Down,
11189 RightStick_Left,
11190 RightStick_Right,
11191 RightStick_Up,
11192 RightStick_Down,
11193 L2,
11194 R2,
11195 None,
11196 };
11197 enum EPadType {
11198 Keyboard,
11199 Mouse,
11200 Generic,
11201 XBox,
11202 PlayStation,
11203 Vive,
11204 };
11208 const Integer ControllerId;
11212 const Ident UserId;
11216 const EPadType Type;
11220 const Text ModelName;
11224 const Integer IdleDuration;
11228 const Integer Left;
11232 const Integer Right;
11236 const Integer Up;
11240 const Integer Down;
11244 const Integer A;
11248 const Integer B;
11252 const Integer X;
11256 const Integer Y;
11260 const Integer L1;
11264 const Integer R1;
11268 const Integer LeftStickBut;
11272 const Integer RightStickBut;
11276 const Integer Menu;
11280 const Integer View;
11300 const Real L2;
11304 const Real R2;
11308 const EButton[] ButtonEvents;
11312 Void ClearRumble();
11316 Void AddRumble(Integer Duration,Real LargeMotor,Real SmallMotor);
11321};
11322
11326struct CTaskResult : public CNod {
11330 const Ident Id;
11362 Void Cancel();
11363};
11364
11368struct CCampaign : public CNod {
11372 const Text CampaignId;
11376 CMapGroup[] MapGroups;
11380 Integer GetMapGroupCount();
11384 CMapGroup GetMapGroup(Integer Index);
11388 CMapInfo GetNextMap(CMapInfo CurrentMapInfo);
11392 Text ScoreContext;
11396 Boolean OfficialRecordEnabled;
11397};
11398
11410 const Text Path;
11419};
11420
11424struct CGhost : public CNod {
11428 const Ident Id;
11437};
11438
11447};
11448
11470
11479};
11480
11492 const Text Path;
11496 const Text[] Files;
11501};
11502
11512
11530
11540
11574
11608
11646
11664
11668struct CPlug : public CNod {
11669};
11670
11674struct CUserV2Profile : public CNod {
11675 enum EMapEditorMode {
11676 Ask,
11677 Advanced,
11678 };
11679 enum ECustomPlayerModels {
11680 All,
11681 OnlyTextures,
11682 None,
11683 };
11684 enum EInputMouseReleaseKey {
11685 LeftAlt,
11686 RightAlt,
11687 LeftCtrl,
11688 RightCtrl,
11689 };
11693 const Boolean CanChangePassword;
11697 const Boolean CanChangeNickName;
11705 const Boolean CanChangeSkin;
11709 const Boolean CanChangeZone;
11713 const Boolean CanChangeGroups;
11717 Void Account_ResetChanges();
11721 Text Account_Name;
11725 Text Account_EMail;
11729 Boolean Account_AcceptNews;
11733 Boolean Account_EnableAutoConnect;
11745 Text User_Description;
11749 Text User_ClubLinkUrl;
11753 Boolean Custom_EnableAvatars;
11757 Boolean Custom_EnableChat;
11761 ECustomPlayerModels Custom_PlayerModels;
11765 Boolean Custom_EnableUnlimitedHorns;
11773 Boolean Online_AutoSaveReplay;
11777 Boolean Online_SaveRoundReplaysSeparately;
11781 Boolean Title_IsForbiddenWithParentalLock;
11785 Boolean Steam_OpenLinksInSteam;
11789 Boolean Steam_SynchonizeWorkshopFiles;
11801 Boolean Audio_DontMuteWhenAppUnfocused;
11805 Boolean Interface_CrosshairEnableCustomColor;
11825 Text Interface_CrosshairName;
11833 Boolean Interface_AllyEnableCustomColor;
11841 Boolean Interface_OppoEnableCustomColor;
11849 Boolean Interface_BeaconUseProfileColor;
11865 Boolean Inputs_MouseLookInvertY;
11869 EInputMouseReleaseKey Inputs_MouseReleaseKey;
11893 Real Inputs_MouseSensitivityDefault_Raw;
11897 Real Inputs_MouseSensitivityLaser_Raw;
11901 CVehicleSettings[] Inputs_Vehicles;
11902};
11903
11911 const Text[] Values;
11912};
11913
11917struct CServerInfo : public CNod {
11921 const Text ServerName;
11925 const Text ServerLogin;
11929 const Text JoinLink;
11933 const Text Comment;
11937 const Text ServerVersionBuild;
11941 const Integer PlayerCount;
11945 const Integer MaxPlayerCount;
11949 const Integer SpectatorCount;
11953 const Integer MaxSpectatorCount;
11957 const Real PlayersLevelMin;
11961 const Real PlayersLevelAvg;
11965 const Real PlayersLevelMax;
11969 const Integer ServerLevel;
11973 const Text ServerLevelText;
11977 const Text ModeName;
11981 const Real LadderServerLimitMax;
11985 const Real LadderServerLimitMin;
11989 const Text[] PlayerNames;
11993 const Text[] ChallengeNames;
11997 const Integer NbChallenges;
12001 const Boolean HasBuddies;
12005 const Boolean IsFavourite;
12009 const Boolean IsLobbyServer;
12013 const Boolean IsPrivate;
12017 const Boolean IsPrivateForSpectator;
12021 const Text SendToServerAfterMatchUrl;
12022};
12023
12027struct CPackCreator : public CNod {
12035 const Boolean RegisterPack_IsInProgess;
12039 const CPackCreatorPack CurrentPack;
12047 Void Build_AddFile(Ident BuildId,Text FileName);
12051 Void Build_AddFolder(Ident BuildId,Text FolderName);
12055 Void Build_AddFile(Ident BuildId,Text FileName,Boolean IsPublic,Boolean IsInternal,Boolean NoAutomaticDeps);
12059 Void Build_AddFolder(Ident BuildId,Text FolderName,Boolean IsPublic,Boolean IsInternal,Boolean NoRecursion,Boolean NoAutomaticDeps);
12063 Void Build_Generate(Ident BuildId,Boolean Upload);
12067 Boolean Build_IsGenerated(Ident BuildId);
12071 Text Build_ErrorMessage(Ident BuildId);
12075 Void Build_End(Ident BuildId);
12076};
12077
12082 enum EType {
12083 NewNotification,
12084 NotificationChanged,
12085 };
12089 const EType Type;
12094};
12095
12100 enum ENotificationPriority {
12101 Memo,
12102 Notice,
12103 Alarm,
12104 };
12108 const Text Title;
12112 const Text Description;
12116 const Text ImageUrl;
12120 const ENotificationPriority Priority;
12124 const Boolean HasBeenRead;
12128 const Boolean HasBeenActivated;
12137};
12138
12144 enum EType {
12145 NewAchievement,
12146 };
12150 const EType Type;
12155};
12156
12170
12188
12196 const Text TitleId;
12204 const Text Description;
12208 const Text IconUrl;
12209};
12210
12218 const Text TitleId;
12226 const Text Description;
12227};
12228
12232struct CMatchSettings : public CNod {
12236 const Text Name;
12240 const Text FileName;
12244 Text ScriptModeName;
12248 Boolean ScriptModeName_Check(Text ScriptModeName);
12252 Void ScriptModeName_Set(Text ScriptModeName);
12256 const CMatchSettingsPlaylistItem[] Playlist;
12260 Boolean Playlist_FileExists(Text File);
12264 Boolean Playlist_FileMatchesMode(Text File);
12268 Void Playlist_Add(Text File);
12272 Void Playlist_Remove(Integer Index);
12276 Void Playlist_SwapUp(Integer Index);
12280 Void Playlist_SwapDown(Integer Index);
12281};
12282
12291 const Text PlaygroundScriptEventType;
12295 const Text[] PlaygroundScriptEventData;
12296};
12297
12302struct CPlaygroundClient : public CNod {
12306 const CMap Map;
12310 const Integer GameTime;
12314 const CUser LocalUser;
12318 const CUIConfig UI;
12322 const CServerInfo ServerInfo;
12326 const Ident SettingsPlayerModelId;
12338 const Boolean UseClans;
12342 const Boolean UseForcedClans;
12346 const Boolean IsLoadingScreen;
12350 Void QuitServer(Boolean Silent);
12354 Void QuitServerAndSetResult(Boolean Silent,Text Type,Text[] Data);
12358 const Boolean IsInGameMenuDisplayed;
12362 Void JoinTeam1();
12366 Void JoinTeam2();
12370 const CTeam[] Teams;
12378 Void SetSpectateTarget(Text Player);
12382 Void ShowProfile(Text Player);
12386 Boolean DisablePlayingStateTracking;
12387};
12388
12393struct CUIConfig : public CNod {
12394 enum EUISequence {
12395 None,
12396 Playing,
12397 Intro,
12398 Outro,
12399 Podium,
12400 CustomMTClip,
12401 EndRound,
12402 PlayersPresentation,
12403 UIInteraction,
12404 RollingBackgroundIntro,
12405 CustomMTClip_WithUIInteraction,
12406 };
12407 enum EUIStatus {
12408 None,
12409 Normal,
12410 Warning,
12411 Error,
12412 Official,
12413 };
12414 enum EVisibility {
12415 None,
12416 Normal,
12417 Manual,
12418 ForcedHidden,
12419 ForcedVisible,
12420 };
12421 enum ELabelsVisibility {
12422 None,
12423 Never,
12424 Always,
12425 WhenInFrustum,
12426 WhenVisible,
12427 WhenInMiddleOfScreen,
12428 };
12429 enum EAvatarVariant {
12430 Default,
12431 Sad,
12432 Happy,
12433 };
12434 enum EUISound {
12435 Default,
12436 Silence,
12437 StartMatch,
12438 EndMatch,
12439 StartRound,
12440 EndRound,
12441 PhaseChange,
12442 TieBreakPoint,
12443 TiePoint,
12444 VictoryPoint,
12445 Capture,
12446 TimeOut,
12447 Notice,
12448 Warning,
12449 PlayerEliminated,
12450 PlayerHit,
12451 Checkpoint,
12452 Finish,
12453 Record,
12454 ScoreProgress,
12455 RankChange,
12456 Bonus,
12457 FirstHit,
12458 Combo,
12459 PlayersRemaining,
12460 Custom1,
12461 Custom2,
12462 Custom3,
12463 Custom4,
12464 };
12465 enum ENoticeLevel {
12466 Default,
12467 PlayerInfo,
12468 PlayerWarning,
12469 MapInfo,
12470 MapWarning,
12471 MatchInfo,
12472 MatchWarning,
12473 };
12474 enum EMessageDisplay {
12475 Chat,
12476 Small,
12477 Status,
12478 Big,
12479 };
12480 enum EObserverMode {
12481 Default,
12482 Forced,
12483 Forbidden,
12484 Manual,
12485 };
12486 enum EHudVisibility {
12487 Nothing,
12488 Everything,
12489 MarkersOnly,
12490 Default,
12491 };
12495 EUISequence UISequence;
12499 const Boolean UISequenceIsCompleted;
12503 Text UISequence_CustomMTClip;
12507 Integer UISequence_CustomMTRefTime;
12511 Boolean UISequence_CanSkipIntroMT;
12515 Text UISequence_PodiumPlayersWin;
12519 Text UISequence_PodiumPlayersLose;
12523 Text ManialinkPage;
12527 Text BigMessage;
12531 Text BigMessageAvatarLogin;
12535 EAvatarVariant BigMessageAvatarVariant;
12539 EUISound BigMessageSound;
12543 Integer BigMessageSoundVariant;
12547 Text StatusMessage;
12551 Text GaugeMessage;
12555 Real GaugeRatio;
12559 Integer GaugeClan;
12567 const CUILayer[] UILayers;
12571 Boolean OverlayHideNotices;
12575 Boolean OverlayHideMapInfo;
12579 Boolean OverlayHideOpponentsInfo;
12583 Boolean OverlayHideChat;
12587 Boolean OverlayHideCheckPointList;
12591 Boolean OverlayHideRoundScores;
12595 Boolean OverlayHideCountdown;
12599 Boolean OverlayHideCrosshair;
12603 Boolean OverlayHideGauges;
12607 Boolean OverlayHideConsumables;
12611 Boolean OverlayHide321Go;
12615 Boolean OverlayHideBackground;
12619 Boolean OverlayHideChrono;
12623 Boolean OverlayHideSpeedAndDist;
12627 Boolean OverlayHidePersonnalBestAndRank;
12631 Boolean OverlayHidePosition;
12635 Boolean OverlayHideCheckPointTime;
12639 Boolean OverlayHideEndMapLadderRecap;
12643 Boolean OverlayHideMultilapInfos;
12647 Boolean OverlayHideSpectatorControllers;
12651 Boolean OverlayHideSpectatorInfos;
12655 Boolean OverlayChatHideAvatar;
12663 Vec2 OverlayChatOffset;
12667 Vec2 CountdownCoord;
12671 Boolean NoticesFilter_HidePlayerInfo;
12675 Boolean NoticesFilter_HidePlayerWarning;
12679 Boolean NoticesFilter_HidePlayerInfoIfNotMe;
12683 Boolean NoticesFilter_HidePlayerWarningIfNotMe;
12687 Boolean NoticesFilter_HideMapInfo;
12691 Boolean NoticesFilter_HideMapWarning;
12695 Boolean NoticesFilter_HideMatchInfo;
12699 Boolean NoticesFilter_HideMatchWarning;
12703 ENoticeLevel NoticesFilter_LevelToShowAsBigMessage;
12707 Text ScoreTable;
12711 EVisibility ScoreTableVisibility;
12715 Text SmallScoreTable;
12719 EVisibility SmallScoreTableVisibility;
12723 Boolean ScoreTableOnlyManialink;
12727 Boolean AltMenuNoDefaultScores;
12731 Boolean AltMenuNoCustomScores;
12735 Boolean OverlayScoreSummary;
12739 Ident ScoreSummary_Player1;
12743 Integer ScoreSummary_Points1;
12747 Integer ScoreSummary_RoundPoints1;
12751 Integer ScoreSummary_MatchPoints1;
12755 Real ScoreSummary_Gauge1;
12759 Ident ScoreSummary_Player2;
12763 Integer ScoreSummary_Points2;
12767 Integer ScoreSummary_RoundPoints2;
12771 Integer ScoreSummary_MatchPoints2;
12775 Real ScoreSummary_Gauge2;
12779 Boolean ScreenIn3dHideScoreSummary;
12783 Boolean ScreenIn3dHideVersus;
12787 Integer CountdownEndTime;
12791 EUIStatus UIStatus;
12795 EHudVisibility LabelsVisibility;
12799 ELabelsVisibility AlliesLabelsVisibility;
12803 EVisibility AlliesLabelsShowGauges;
12807 EVisibility AlliesLabelsShowNames;
12815 ELabelsVisibility TeamLabelsVisibility;
12819 EVisibility TeamLabelsShowGauges;
12823 EVisibility TeamLabelsShowNames;
12827 ELabelsVisibility OpposingTeamLabelsVisibility;
12831 EVisibility OpposingTeamLabelsShowGauges;
12835 EVisibility OpposingTeamLabelsShowNames;
12839 Boolean ForceSpectator;
12843 Integer SpectatorForceCameraType;
12847 Ident SpectatorAutoTarget;
12851 Ident SpectatorForcedTarget;
12855 Integer SpectatorForcedClan;
12859 Real SpectatorCamAutoLatitude;
12863 Real SpectatorCamAutoLongitude;
12867 Real SpectatorCamAutoRadius;
12875 Void SendChat(Text Text);
12879 Void SendNotice(Text Text,ENoticeLevel Level,CUser Avatar,EAvatarVariant AvatarVariant,EUISound Sound,Integer SoundVariant);
12883 Text GetLayerManialinkAction(CUILayer Layer);
12887 Void ClearLayerManialinkAction(CUILayer Layer);
12891 Void QueueMessage(Integer Duration,Integer Priority,EMessageDisplay Level,Text Message,CUser Avatar,EAvatarVariant AvatarVariant,EUISound Sound,Integer SoundVariant);
12895 Void QueueMessage(Integer Duration,Integer Priority,EMessageDisplay Level,Text Message,EUISound Sound,Integer SoundVariant);
12899 Void QueueMessage(Integer Duration,Integer Priority,EMessageDisplay Level,Text Message);
12903 Void ClearMessages();
12904};
12905
12910struct CEditorBase : public CNod {
12911};
12912
12916struct CModuleMenuModel : public CNod {
12920 CModuleMenuPageModel[] Pages;
12924 CModuleMenuPageModel AddPage(Text PageUrl);
12928 Void AddLink(CModuleMenuPageModel ParentPage,CModuleMenuPageModel ChildPage);
12932 Text MenuScript;
12933};
12934
12942 Text ManialinkText;
12943};
12944
12952 Ident SubModuleAdd(Text ModulePath,Text ModuleName);
12956 Ident SubModuleSetNameAndId(Ident ModuleId,Text NewModuleName);
12960 Void SubModuleRemove(Ident ModuleId);
12964 Boolean SubModuleIsContextActive(Ident ModuleId,Ident ContextId);
12968 Void SubModuleSetContextIsActive(Ident ModuleId,Ident ContextId,Boolean IsActive);
12972 Ident ContextAdd(Text ContextName);
12976 Ident ContextSetId(Ident ContextId,Text NewContextName);
12980 Void ContextRemove(Ident ContextId);
12984 const Ident[] ContextsIds;
12988 const Ident[] SubModuleIds;
12992 Void SubModuleRetrieve(Ident ModuleId);
12996 SHudModule SubModule;
13000 const Integer EditorContextIndex;
13001};
13002
13008 enum Type {
13009 LayerCustomEvent,
13010 KeyPress,
13011 (reserved),
13012 MenuNavigation,
13013 Exit,
13014 FileNew,
13015 FileOpen,
13016 FileSave,
13017 FileSaveAs,
13018 };
13022 const Type Type;
13026 Void Eat();
13027};
13028
13033struct CEditorAsset : public CEditorBase {
13034};
13035
13041 enum Type {
13042 LayerCustomEvent,
13043 KeyPress,
13044 (reserved),
13045 MenuNavigation,
13046 FileChanged,
13047 Exit,
13048 FileSave,
13049 OnUndo,
13050 OnRedo,
13051 OnSwitchedBack,
13052 CameraButtonOn,
13053 CameraButtonOff,
13054 VoxelUpdateMaterial,
13055 OpenUVEditor,
13056 CloseUVEditor,
13057 EnableUndo,
13058 DisableUndo,
13059 EnableRedo,
13060 DisableRedo,
13061 };
13065 const Type Type;
13066};
13067
13075 const CMapEditorInventoryNode[] Children;
13079 const Boolean HasChildDirectory;
13083 const Boolean HasChildArticle;
13084};
13085
13093 const Text NodeName;
13097 const Boolean IsDirectory;
13101 const CMapEditorInventoryDirectory ParentNode;
13105 CNod GetCollectorNod();
13106};
13107
13113
13117struct CBlockUnit : public CNod {
13121 const Int3 AbsoluteOffset;
13125 const CBlockUnitModel BlockUnitModel;
13129 const CBlock Block;
13130};
13131
13135struct CCollector : public CNod {
13139 const Text Name;
13143 Text PageName;
13147 Integer InterfaceNumber;
13151 const CImage Icon;
13155 const Text SkinDirectory;
13156};
13157
13163
13169
13173struct CBlockClip : public CNod {
13177 const Text Name;
13181 CMapEditorPlugin::CardinalDirections Dir;
13185 const Int3 Coord;
13189 const Int3 Offset;
13193 Integer ClipId;
13197 Int3 GetConnectableCoord();
13198};
13199
13205 enum EType {
13206 Unknown,
13207 OnModuleCustomEvent,
13208 OnModuleShowRequest,
13209 OnModuleHideRequest,
13210 OnModuleStorePurchase,
13211 OnModuleInventoryDrop,
13212 OnModuleInventoryEquip,
13213 OnLayerCustomEvent,
13214 };
13215 enum EModuleType {
13216 Undefined,
13217 Hud,
13218 Inventory,
13219 Store,
13220 ScoresTable,
13221 Equipment,
13222 MenuBase,
13223 MenuPage,
13224 Chrono,
13225 SpeedMeter,
13226 PlayerState,
13227 TeamState,
13228 };
13232 const EType Type;
13236 const CUIConfig UI;
13240 const EModuleType ModuleType;
13244 const Text Param1;
13248 const Text[] Param2;
13252 const CUILayer CustomEventLayer;
13256 const Text CustomEventType;
13260 const Text[] CustomEventData;
13264 const Text ItemUrl;
13268 const Integer Quantity;
13269};
13270
13276 enum EType {
13277 Unknown,
13278 Callback,
13279 CallbackArray,
13280 };
13284 const EType Type;
13288 const Text Param1;
13292 const Text Param2;
13296 const Text ParamArray1;
13300 const Text[] ParamArray2;
13301};
13302
13318 CModulePlaygroundScoresTable ScoresTable;
13326 CModulePlaygroundSpeedMeter SpeedMeter;
13330 CModulePlaygroundPlayerState PlayerState;
13338 const CModulePlayground[] Modules;
13342 Void SwitchContext(CPlayer Player,Text ContextName);
13346 Void SetDefaultContext(CPlayer Player);
13350 Ident RetrieveModuleId(Text ModuleName);
13351};
13352
13356struct CModeTurretManager : public CNod {
13360 Void MapTurrets_Reset();
13364 CModeTurret Turret_Create(Ident ModelId,Vec3 Position,Vec3 Direction,Integer Clan,CPlayer OwnerPlayer);
13368 CModeTurret Turret_CreateWithOwner(Ident ModelId,Vec3 Position,Vec3 Direction,Vec3 Up,Integer Clan,Ident OwnerId);
13372 CModeTurret Turret_CreateWithOwner(Ident ModelId,Vec3 Position,Vec3 Direction,Vec3 Up,Integer Clan,Ident OwnerId,Boolean AutoAimOn,Boolean AutoTriggerOn);
13376 Vec3 Turret_GetPosition(CModeTurret Turret);
13380 Void Turret_Destroy(CModeTurret Turret);
13384 Void Turret_DestroyAll();
13388 Void Turret_Activate(CModeTurret Turret);
13392 Void Turret_Deactivate(CModeTurret Turret);
13396 Void Turret_SetIsAutomatic(CModeTurret Turret,Boolean IsAuto);
13400 Void Turret_Auto_SetAimAnticipation(CModeTurret Turret,Real AimAnticipationMs);
13404 Void Turret_Auto_SetFirePeriod(CModeTurret Turret,Integer FirePeriodMs);
13408 Void Turret_Auto_SetTargetDetectionFov(CModeTurret Turret,Real DectectionFOVDeg);
13412 Void Turret_Auto_SetTargetDetectionRadius(CModeTurret Turret,Real DetectionRadius);
13416 CEntity Turret_Auto_GetTarget(CModeTurret Turret);
13420 Void Turret_Manual_SetTargetPos(CModeTurret Turret,Vec3 TargetPos);
13424 Void Turret_Manual_Fire(CModeTurret Turret);
13428 CModeTurret[] Turrets;
13429};
13430
13434struct CModeVehicleManager : public CNod {
13435 enum EArmorUse {
13436 Self,
13437 Group,
13438 Owner,
13439 Children,
13440 Mine,
13441 };
13442 enum ESlotType {
13443 Driver,
13444 Passenger,
13445 };
13449 Void MapVehicles_Reset();
13453 Void DestroyAllVehicles();
13457 CModeVehicle Vehicle_Create(Ident ModelId,Integer Clan,Integer Armor,EArmorUse ArmorUse,CMapSpawn Spawn);
13461 CModeVehicle Vehicle_Create(Ident ModelId,Vec3 Offset,Integer Armor,EArmorUse ArmorUse,CModeVehicle Owner);
13465 Void Vehicle_Destroy(CModeVehicle Vehicle);
13469 Void Vehicle_Assign_AutoPilot(CModeVehicle Vehicle,Text ModelName);
13473 Void Vehicle_Assign_AutoPilot(CModeVehicle Vehicle,Text ModelName,Boolean LoopPath);
13477 Void Vehicle_SetTrailVisible(CModeVehicle Vehicle,Boolean IsVisible);
13481 Void Vehicle_SetShieldVisible(CModeVehicle Vehicle,Boolean IsVisible);
13485 Integer VehicleModel_GetSlotsCount(Ident ModelId,ESlotType SlotType);
13489 CModeVehicle[] Vehicles;
13490};
13491
13495struct CActionManager : public CNod {
13496 enum EActionSlot {
13497 Slot_A,
13498 Slot_B,
13499 Slot_C,
13500 Slot_D,
13501 Slot_E,
13502 Slot_F,
13503 Slot_G,
13504 Slot_H,
13505 };
13509 CActionInterface Action_GetState(CPlayer Player,EActionSlot Slot);
13513 CActionInterface Action_GetState(CModeVehicle Vehicle,Integer VehicleSlotIndex,EActionSlot Slot);
13517 CActionInterface Action_GetState(CModeTurret Turret,EActionSlot Slot);
13521 CActionInterface[] Actions;
13522};
13523
13528struct CPlayer : public CEntity {
13532 const CUser User;
13536 const Integer RequestedClan;
13540 const Boolean RequestsSpectate;
13541};
13542
13546struct CSmPlayerDriver : public CNod {
13547 enum ESmDriverBehaviour {
13548 Static,
13549 Turret,
13550 Scripted,
13551 IA,
13552 Patrol,
13553 Escape,
13554 Saunter,
13555 };
13556 enum ESmDriverPatrolMode {
13557 OneTrip,
13558 BackAndForth,
13559 Loop,
13560 };
13561 enum ESmAttackFilter {
13562 All,
13563 AllPlayers,
13564 AllBots,
13565 AllOpposite,
13566 OppositePlayers,
13567 OppositeBots,
13568 Nobody,
13569 };
13573 ESmDriverBehaviour Behaviour;
13577 Real AggroRadius;
13581 Real ShootRadius;
13585 Real TargetMinDistance;
13589 Real DisengageDistance;
13593 Real PathSpeedCoef;
13597 Real Accuracy;
13601 Integer ReactionTime;
13605 Integer ShootPeriodMin;
13609 Integer ShootPeriodMax;
13613 Boolean RocketAnticipation;
13617 Real Fov;
13621 ESmAttackFilter AttackFilter;
13625 const CSmPlayer Target;
13629 const Boolean IsStuck;
13633 Boolean IsFlying;
13637 const CSmPlayer Owner;
13641 Integer PathOffset;
13645 Real Agressivity;
13649 Boolean UseOldShootingSystem;
13653 ESmDriverPatrolMode Patrol_Mode;
13657 Vec3 Escape_AnchorPoint;
13661 Real Escape_DistanceSafe;
13665 Real Escape_DistanceMinEscape;
13669 Real Escape_DistanceMaxEscape;
13673 Vec3 Saunter_AnchorPoint;
13677 Integer Saunter_BaseChillingTime;
13681 Integer Saunter_ChillingTimeDelta;
13685 Real Saunter_Radius;
13689 Boolean Scripted_ForceAimInMoveDir;
13693 CSmPlayer ForcedTarget;
13697 CSmPlayer[] TargetsToAvoid;
13698};
13699
13708 const Boolean HasBeenPassed;
13712 const Boolean HasBeenDiscarded;
13713};
13714
13718struct CEntity : public CNod {
13719};
13720
13725struct CSmBlockPole : public CSmBlock {
13729 Boolean Captured;
13733 const CSmSector Sector;
13737 const CSmGauge Gauge;
13738};
13739
13744struct CMapLandmark : public CNod {
13748 const Text Tag;
13752 const Integer Order;
13756 const Vec3 Position;
13760 const CMapSector Sector;
13764 const CMapWaypoint Waypoint;
13768 const CMapSpawn PlayerSpawn;
13772 const CMapBotPath BotPath;
13776 const CMapBotSpawn BotSpawn;
13780 const CMapObjectAnchor ObjectAnchor;
13781};
13782
13786struct CSmMapGate : public CNod {
13790 Integer Clan;
13794 Boolean Automatic;
13798 Boolean ManualClosed;
13802 const Boolean AutoClosed;
13806 Boolean AutoIsActive;
13810 Integer AutoCloseDelay;
13814 Integer AutoOpenSpeed;
13815};
13816
13820struct CSmMapGauge : public CNod {
13824 Integer Clan;
13832 Integer Value;
13836 Integer Max;
13840 Integer Speed;
13844 Boolean Captured;
13845};
13846
13852};
13853
13857struct CTmResult : public CNod {
13858 enum ETmRaceResultCriteria {
13859 Time,
13860 Stunts,
13861 NbRespawns,
13862 CheckpointsProgress,
13863 None,
13864 };
13868 Integer Time;
13872 Integer Score;
13876 Integer NbRespawns;
13880 Integer[] Checkpoints;
13884 Integer Compare(CTmResult Other,ETmRaceResultCriteria Criteria);
13885};
13886
13890struct CParsingNode : public CNod {
13894 const Text Name;
13898 const Text TextContents;
13902 const Text TextRawContents;
13906 const Text TextRecursiveContents;
13910 const CParsingNode[] Children;
13914 Text GetAttributeText(Text Name,Text DefaultValue);
13918 Integer GetAttributeInteger(Text Name,Integer DefaultValue);
13922 Real GetAttributeReal(Text Name,Real DefaultValue);
13926 Boolean GetAttributeBoolean(Text Name,Boolean DefaultValue);
13930 CParsingNode GetFirstChild(Text Name);
13931};
13932
13936struct CMapGroup : public CNod {
13940 Void IsUnlocked();
13944 const CMapInfo[] MapInfos;
13945};
13946
13950struct CReplayInfo : public CNod {
13954 const Text MapUid;
13958 const Text Name;
13962 const Text Path;
13966 const Text FileName;
13967};
13968
13976 const Text Name;
13980 const Text Path;
13984 const Text Description;
13988 const Text Version;
13992 const Text[] CompatibleMapTypes;
13993};
13994
13999};
14000
14034
14040
14090
14098 const CMapInfo MapInfo;
14102 const Text Login;
14106 const Integer RecordScore;
14110 const Integer RecordTime;
14114 const Integer RecordRespawnCount;
14118 const Integer RecordDate;
14122 const Text RecordDateString;
14126 const Integer RecordElapsedTime;
14130 const Integer RecordCount;
14134 const Text OpponentLogin;
14138 const Text OpponentDisplayName;
14142 const Text OpponentRecordUrl;
14146 const Integer OpponentRecordScore;
14150 const Integer OpponentRecordTime;
14154 const Integer OpponentRecordRespawnCount;
14158 const Integer OpponentRecordDate;
14162 const Text OpponentRecordDateString;
14166 const Integer OpponentRecordElapsedTime;
14170 const Integer OpponentRecordCount;
14171};
14172
14180 const Text Login;
14184 const Integer BestRecordCount;
14188 const Integer BestRecordLastDate;
14192 const Text BestRecordLastDateString;
14196 const Integer BestRecordElapsedTime;
14200 const Text OpponentLogin;
14204 const Text OpponentDisplayName;
14208 const Integer OpponentBestRecordCount;
14212 const Integer OpponentBestRecordLastDate;
14216 const Text OpponentBestRecordLastDateString;
14220 const Integer OpponentBestRecordElapsedTime;
14221};
14222
14227};
14228
14261};
14262
14266struct CVehicleSettings : public CNod {
14270 const Text ModelDisplayName;
14274 const Text ModelName;
14290 Boolean AnalogSteerV2;
14299};
14300
14304struct CPackCreatorPack : public CNod {
14312 const Ident CreatorId;
14316 const Boolean IsTitlePack;
14320 Void Recipients_Add(Text Login,Integer UseCost,Integer GetCost);
14324 Void Recipients_Remove(Text Login);
14328 const CPackCreatorRecipient[] Recipients;
14329};
14330
14338 const Text Name;
14343};
14344
14352 Text ModuleName;
14356 Real PosX;
14360 Real PosY;
14364 Real ZIndex;
14368 Real Scale;
14369};
14370
14374struct CBlockUnitModel : public CNod {
14378 const Int3 RelativeOffset;
14382 const CBlockModelClip[] Clips;
14383};
14384
14388struct CBlockModelVariant : public CNod {
14392 Text Name;
14396 const Boolean IsAllUnderground;
14400 const Boolean IsPartUnderground;
14404 const Int3 Size;
14408 const Int3 OffsetBoundingBoxMin;
14412 const Int3 OffsetBoundingBoxMax;
14416 const CBlockUnitModel[] BlockUnitModels;
14417};
14418
14423struct CModeTurret : public CEntity {
14427 Integer Armor;
14431 Integer ArmorMax;
14435 const CPlayer Owner;
14436};
14437
14441struct CActionInterface : public CNod {
14445 const Integer Cooldown;
14449 const Integer CooldownStartTime;
14453 const Integer Energy;
14457 const Integer EnergyCost;
14461 const Integer EnergyMax;
14462};
14463
14468struct CSmBlock : public CSmLandmark {
14472 const CSmBase Base;
14473};
14474
14478struct CSmSector : public CNod {
14482 const Ident[] PlayersIds;
14483};
14484
14488struct CSmGauge : public CNod {
14492 Integer Clan;
14500 Integer Value;
14504 Integer Max;
14508 Integer Speed;
14509};
14510
14514struct CMapSector : public CNod {
14518 const Ident[] PlayersIds;
14522 const Text Tag;
14523};
14524
14528struct CMapWaypoint : public CNod {
14532 const Boolean IsFinish;
14536 const Boolean IsMultiLap;
14537};
14538
14542struct CMapSpawn : public CNod {
14543};
14544
14548struct CMapBotPath : public CNod {
14552 const Integer Clan;
14556 const Vec3[] Path;
14560 const Boolean IsFlying;
14561};
14562
14566struct CMapBotSpawn : public CNod {
14570 const Boolean IsFlying;
14574 const Ident BotModelId;
14575};
14576
14580struct CMapObjectAnchor : public CNod {
14584 const Text ItemName;
14588 const Ident ItemModelId;
14589};
14590
14607};
14608
14613};
14614
14619struct CSmLandmark : public CNod {
14623 const Text Tag;
14627 const Integer Order;
14631 const Vec3 Position;
14635 const Vec3 DirFront;
14636};
14637
14641struct CSmBase : public CNod {
14645 Integer Clan;
14649 Boolean IsActive;
14653 const Integer NumberOfCollectors;
14654};
14655
14659namespace MathLib {
14660
14664 Integer Abs(Integer Argument1);
14668 Real Abs(Real Argument1);
14672 Real ToReal(Integer Argument1);
14676 Real DegToRad(Real Argument1);
14680 Real RadToDeg(Real Argument1);
14684 Real Sin(Real Argument1);
14688 Real Cos(Real Argument1);
14692 Real Tan(Real Argument1);
14696 Real Atan2(Real Argument1, Real Argument2);
14700 Real Exp(Real Argument1);
14704 Real Rand(Real Argument1, Real Argument2);
14708 Real Rand(Real Argument1, Real Argument2, Integer Argument3);
14712 Integer Rand(Integer Argument1, Integer Argument2);
14716 Integer Rand(Integer Argument1, Integer Argument2, Integer Argument3);
14720 Real NearestReal(Integer Argument1);
14724 Integer NearestInteger(Real Argument1);
14728 Integer FloorInteger(Real Argument1);
14732 Integer TruncInteger(Real Argument1);
14736 Integer CeilingInteger(Real Argument1);
14740 Real Distance(Real Argument1, Real Argument2);
14744 Real Distance(Vec2 Argument1, Vec2 Argument2);
14748 Real Distance(Vec3 Argument1, Vec3 Argument2);
14752 Real DotProduct(Vec3 Argument1, Vec3 Argument2);
14756 Vec3 CrossProduct(Vec3 Argument1, Vec3 Argument2);
14760 Real Angle(Vec3 Argument1, Vec3 Argument2);
14764 Real OrientedAngle(Vec3 Argument1, Vec3 Argument2);
14770 Real Angle(Real _Radian1, Real _Radian2);
14774 Real Angle(Vec2 Argument1, Vec2 Argument2);
14778 Real OrientedAngle(Vec2 Argument1, Vec2 Argument2);
14782 Real PI();
14786 Real Asin(Real Argument1);
14790 Real Acos(Real Argument1);
14794 Real Pow(Real Argument1, Real Argument2);
14798 Real Ln(Real Argument1);
14802 Real Sqrt(Real Argument1);
14838 Real Clamp(Real _X, Real _Min, Real _Max);
14844 Real Mod(Real _X, Real _Min, Real _Max);
14845};
14846
14850namespace TextLib {
14851
14886 Text SubString(Text _Text, Integer _Start, Integer _Length);
14897 Text SubText(Text _Text, Integer _Start, Integer _Length);
14950 Text TimeToText(Integer _Time, Boolean _IncludeCentiSeconds);
14969 Text FormatInteger(Integer Argument1, Integer Argument2);
14979 Text FormatReal(Real _Value, Integer _FPartLength, Boolean _HideZeroes, Boolean _HideDot);
14985 Text ToUpperCase(Text _TextToChange);
14991 Text ToLowerCase(Text _TextToChange);
15006 Boolean CompareWithoutFormat(Text _Text1, Text _Text2, Boolean _IsCaseSensitive);
15018 Boolean Find(Text _TextToFind, Text _TextToSearchIn, Boolean _IsFormatSensitive, Boolean _IsCaseSensitive);
15026 Boolean EndsWith(Text _TextToFind, Text _TextToSearchIn);
15036 Boolean EndsWith(Text _TextToFind, Text _TextToSearchIn, Boolean _IsFormatSensitive, Boolean _IsCaseSensitive);
15044 Boolean StartsWith(Text _TextToFind, Text _TextToSearchIn);
15054 Boolean StartsWith(Text _TextToFind, Text _TextToSearchIn, Boolean _IsFormatSensitive, Boolean _IsCaseSensitive);
15058 Text Compose(Text Argument1);
15062 Text Compose(Text Argument1, Text Argument2);
15066 Text Compose(Text Argument1, Text Argument2, Text Argument3);
15070 Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4);
15074 Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5);
15078 Text Compose(Text Argument1, Text Argument2, Text Argument3, Text Argument4, Text Argument5, Text Argument6);
15082 Text MLEncode(Text Argument1);
15086 Text URLEncode(Text Argument1);
15090 Text StripFormatting(Text Argument1);
15098 Text[Void] Split(Text _Separators, Text _Text);
15106 Text Join(Text _Separator, Text[Void] _Texts);
15110 Text Trim(Text Argument1);
15114 Text ReplaceChars(Text Argument1, Text Argument2, Text Argument3);
15123 Text Replace(Text _Text, Text _ToReplace, Text _Replacement);
15132 Text[Void] RegexFind(Text _Pattern, Text _Text, Text _Flags);
15141 Text[Void] RegexMatch(Text _Pattern, Text _Text, Text _Flags);
15151 Text RegexReplace(Text _Pattern, Text _Text, Text _Flags, Text _Replacement);
15159};
15160
15164namespace MapUnits {
15165
15169 CardinalDirections GetNextDir(CardinalDirections Argument1);
15173 CardinalDirections GetPreviousDir(CardinalDirections Argument1);
15177 CardinalDirections GetOpposedDir(CardinalDirections Argument1);
15181 CardinalDirections AddDirs(CardinalDirections Argument1, CardinalDirections Argument2);
15185 CardinalDirections SubDirs(CardinalDirections Argument1, CardinalDirections Argument2);
15189 Int3 GetNeighbourCoord(Int3 Argument1, CardinalDirections Argument2);
15193 Int3 GetRotatedOffset(Int3 Argument1, CardinalDirections Argument2);
15197 Int3 GetRotatedOffsetPositive(Int3 Argument1, CardinalDirections Argument2, Int3 Argument3);
15198};
15199
15203namespace AnimLib {
15204
15216 Real Ease(Text _Function, Real _T, Real _Base, Real _Change, Real _Duration);
15222 Real EaseLinear(Integer _T, Real _Base, Real _Change, Integer _Duration);
15228 Real EaseInQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
15234 Real EaseOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
15240 Real EaseInOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration);
15246 Real EaseInCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
15252 Real EaseOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
15258 Real EaseInOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration);
15264 Real EaseInQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
15270 Real EaseOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
15276 Real EaseInOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration);
15282 Real EaseInQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
15288 Real EaseOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
15294 Real EaseInOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration);
15300 Real EaseInSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
15306 Real EaseOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
15312 Real EaseInOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration);
15318 Real EaseInExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
15324 Real EaseOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
15330 Real EaseInOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration);
15336 Real EaseInCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
15342 Real EaseOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
15348 Real EaseInOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration);
15354 Real EaseInBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
15360 Real EaseOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
15366 Real EaseInOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration);
15372 Real EaseInElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
15378 Real EaseOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
15384 Real EaseInOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration);
15390 Real EaseInElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
15396 Real EaseOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
15402 Real EaseInOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration);
15408 Real EaseInBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
15414 Real EaseOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
15420 Real EaseInOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration);
15421};
15422
15426namespace TimeLib {
15427
15431 enum EDateFormats {
15432 Full,
15433 Date,
15434 DateShort,
15435 Time,
15436 TimeShort,
15437 Relative,
15438 RelativeShort,
15439 };
15443 enum EDurationFormats {
15444 Full,
15445 Abbreviated,
15446 Chrono,
15447 };
15455 Text FormatDate(Text _Timestamp, EDateFormats _Format);
15464 Text FormatDelta(Text _Timestamp1, Text _Timestamp2, EDurationFormats _Format);
15472 Text FormatDelta(Text _Delta, EDurationFormats _Format);
15480 Integer Compare(Text _Timestamp1, Text _Timestamp2);
15489 Real Clamp01(Text _Boundary1, Text _Boundary2, Text _Timestamp);
15503 Integer GetDelta(Text _Timestamp1, Text _Timestamp2);
15504};
15505
15509namespace ColorLib {
15510
15514 Vec3 HsvToRgb(Vec3 __Hsv);
15518 Vec3 RgbToHsv(Vec3 __Rgb);
15522 Text RgbToHex(Vec3 __Rgb);
15531};
15532
Definition doc.h:4
Definition doc.h:9
Definition doc.h:8
Definition doc.h:2
Definition doc.h:3
Definition doc.h:5
Definition doc.h:6
Definition doc.h:7
Definition doc.h:1
(undocumented)
Definition doc.h:15203
Real EaseInBounce(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInSine(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInQuart(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutElastic(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInCubic(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseLinear(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutQuint(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutBack(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInElastic(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real SmoothStep(Real _X)
Returns the value smoothly transitionning from 0 to 1.
Real EaseInCirc(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutCubic(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutSine(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real Ease(Text _Function, Real _T, Real _Base, Real _Change, Real _Duration)
Returns the value animated from Base to Base+Delta using Robert Penner easing functions....
Real EaseInOutExp(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInBack(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutBounce(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInQuint(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInOutQuart(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInQuad(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutCirc(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInElastic2(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseOutQuad(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
Real EaseInExp(Integer _T, Real _Base, Real _Change, Integer _Duration)
Returns the value animated from Base to Base+Delta using R. Penner easing functions.
(undocumented)
Definition doc.h:15509
Vec3 HexToRgb(Text _Text)
Returns the RGB color corresponding to _Text.
(undocumented)
Definition doc.h:15164
(undocumented)
Definition doc.h:14659
Integer Clamp(Integer _X, Integer _Min, Integer _Max)
Returns the value X clamped to the range Min..Max.
Integer Max(Integer _A, Integer _B)
Returns the maximum between A and B.
Integer Min(Integer _A, Integer _B)
Returns the minimum between A and B.
Real Mod(Real _X, Real _Min, Real _Max)
Returns the modulus of X in the range Min..Max.
(undocumented)
Definition doc.h:14850
Vec3 ToColor(Text _Text)
Returns the RGB color corresponding to _Text.
Text SubString(Text _Text, Integer _Start, Integer _Length)
Returns a substring of _Text.
Boolean EndsWith(Text _TextToFind, Text _TextToSearchIn)
Return True if the Text ends with the TextToFind.
Real ToReal(Text _Text)
Returns the Real corresponding to _Text.
Text[Void] Split(Text _Separators, Text _Text)
Splits a given text based on a given separators set.
Text RegexReplace(Text _Pattern, Text _Text, Text _Flags, Text _Replacement)
Replace the _Pattern in the matching text with _Replacement.
Text ToLowerCase(Text _TextToChange)
Changes upper case characters to lower case characters.
Integer Length(Text _Text)
Returns the length of _Text.
Text[Void] RegexMatch(Text _Pattern, Text _Text, Text _Flags)
Captures the groups of the _Pattern in the matching _Text. group[0] is the whole pattern match.
Text ToText(Integer _Integer)
Returns the Text corresponding to _Integer.
Text ColorToText(Vec3 _Color)
Returns the Text corresponding to _Color.
Text TimeToText(Integer _Time, Boolean _IncludeCentiSeconds)
Returns the Text corresponding to _Time.
Text GetTranslatedText(Text _Text)
Lookup the text in the current translation dictionary.
Boolean StartsWith(Text _TextToFind, Text _TextToSearchIn)
Return True if the Text starts with the TextToFind.
Boolean Find(Text _TextToFind, Text _TextToSearchIn, Boolean _IsFormatSensitive, Boolean _IsCaseSensitive)
Returns True if the searched text is found in the text to search in.
Text Replace(Text _Text, Text _ToReplace, Text _Replacement)
Replaces occurences of _ToReplace in _Text with _Replacement.
Text Join(Text _Separator, Text[Void] _Texts)
Joins a set of texts with the given separator.
Text ToUpperCase(Text _TextToChange)
Changes lower case characters to upper case characters.
Text FormatReal(Real _Value, Integer _FPartLength, Boolean _HideZeroes, Boolean _HideDot)
Returns the Text corresponding to a Real. With formatting.
Boolean CompareWithoutFormat(Text _Text1, Text _Text2, Boolean _IsCaseSensitive)
Compares texts without taking format characters in account.
Text CloseStyleTags(Text _String)
Return a string where the previously unclosed $< tags have their $> counterpart.
Text[Void] RegexFind(Text _Pattern, Text _Text, Text _Flags)
Find occurences of the _Pattern in the _Text.
Integer ToInteger(Text _Text)
Returns the Integer corresponding to _Text.
Text SubText(Text _Text, Integer _Start, Integer _Length)
Returns a substring of _Text.
(undocumented)
Definition doc.h:15426
Text GetCurrent()
Gets current timestamp.
Integer GetDelta(Text _Timestamp1, Text _Timestamp2)
Returns the duration in seconds between 2 timestamps. May be clamped if huge.
Real Clamp01(Text _Boundary1, Text _Boundary2, Text _Timestamp)
Returns a Real between 0 and 1, given an interval and a timestamp.
Text FormatDelta(Text _Timestamp1, Text _Timestamp2, EDurationFormats _Format)
Returns the duration between 2 timestamps, formatted according to the locale. Not available on server...
Integer Compare(Text _Timestamp1, Text _Timestamp2)
Compares 2 timestamps.
Text FormatDate(Text _Timestamp, EDateFormats _Format)
Returns the date corresponding to a timestamp, formatted according to the locale. Not available on se...
Definition doc.h:12192
const Text DisplayName
Definition doc.h:12200
Definition doc.h:12160
const CAchievementsAchievementDesc AchievementDesc
Definition doc.h:12168
const Ident UserId
Definition doc.h:12164
Definition doc.h:12143
const CAchievementsAchievement Achievement
Definition doc.h:12154
const EType Type
Definition doc.h:12150
Definition doc.h:5816
const CAchievementsStat[] Stats
Definition doc.h:5828
const CAchievementsAchievementDesc[] AchievementDescriptions
Definition doc.h:5832
const CAchievementsEvent[] PendingEvents
Definition doc.h:5820
const CAchievementsAchievement[] Achievements
Definition doc.h:5824
const CAchievementsStatDesc[] StatDescriptions
Definition doc.h:5836
Definition doc.h:12214
const Text DisplayName
Definition doc.h:12222
Definition doc.h:12174
const CAchievementsStatDesc StatDesc
Definition doc.h:12182
const Integer Value
Definition doc.h:12186
const Ident UserId
Definition doc.h:12178
Definition doc.h:9825
Definition doc.h:14441
Definition doc.h:13495
Definition doc.h:8093
Definition doc.h:5010
Definition doc.h:1590
Definition doc.h:4541
Definition doc.h:10947
Definition doc.h:11001
Real LPF_Q
Definition doc.h:11063
Real LPF_CutoffRatio
Definition doc.h:11059
Real HPF_CutoffRatio
Definition doc.h:11067
Real HPF_Q
Definition doc.h:11071
Definition doc.h:2557
Real CameraTransitionDuration
Definition doc.h:2581
Real MeshRotation_Acceleration
Definition doc.h:2589
Real MeshRotation_MaxSpeed
Definition doc.h:2585
Definition doc.h:8131
Definition doc.h:5846
Definition doc.h:5692
Boolean HasBeenProcessed
Definition doc.h:5696
Definition doc.h:13704
Definition doc.h:13173
Definition doc.h:7688
Definition doc.h:7551
Definition doc.h:14612
Definition doc.h:7638
Definition doc.h:13167
Definition doc.h:13161
Definition doc.h:14388
Definition doc.h:13117
Definition doc.h:14374
Definition doc.h:11368
Definition doc.h:8264
const Integer IdleDuration
Definition doc.h:8292
const Boolean IsConnectedToMasterServer
Definition doc.h:8276
Definition doc.h:13135
Definition doc.h:4754
CTaskResult_ReplayList Replay_GetGameList(Text Path, Boolean Flatten)
const CCampaign[] Campaigns
Definition doc.h:4774
CTaskResult_FileList Media_GetGameList(EMediaType Type, Text Path, Boolean Flatten)
Void Ghost_Release(Ident GhostId)
CTaskResult_MapList Map_GetGameList(Text Path, Boolean Flatten)
Void TaskResult_Release(Ident TaskId)
CTaskResult_FileList Media_GetGameList(EMediaType Type, Text Path, Boolean Flatten, Boolean SortByNameElseByDate, Boolean SortOrderAsc)
CTaskResult Replay_Save(Text Path, CMap Map, CGhost Ghost)
CTaskResult_ReplayList Replay_GetFilteredGameList(Integer Scope, Text Path, Boolean Flatten)
CTaskResult_MapList Map_GetGameList(Text Path, Boolean Flatten, Boolean SortByNameElseByDate, Boolean SortOrderAsc)
CCampaign Campaign_Get(Text CampaignId)
const CGhost[] Ghosts
Definition doc.h:4802
CTaskResult_MapList Map_GetFilteredGameList(Integer Scope, Text Path, Boolean Flatten)
CTaskResult_ReplayList Replay_GetGameList(Text Path, Boolean Flatten, Boolean SortByNameElseByDate, Boolean SortOrderAsc)
CTaskResult_FileList Media_GetFilteredGameList(EMediaType Type, Integer Scope, Text Path, Boolean Flatten)
CTaskResult_GhostList Replay_Load(Text Path)
CTaskResult_MapList Map_GetUserList(Ident UserId)
const CTaskResult[] TaskResults
Definition doc.h:4766
Definition doc.h:13033
Definition doc.h:12910
Definition doc.h:7321
Definition doc.h:13040
Definition doc.h:1533
Definition doc.h:6139
Definition doc.h:6058
Definition doc.h:6051
Definition doc.h:13007
Definition doc.h:13718
Definition doc.h:11424
const CTmResult Result
Definition doc.h:11432
Text Nickname
Definition doc.h:11436
Definition doc.h:14094
Definition doc.h:14176
Definition doc.h:10864
const CHttpRequest Request
Definition doc.h:10875
Definition doc.h:4469
CHttpRequest CreateGet(Text Url)
Definition doc.h:10842
const Text Result
Definition doc.h:10850
const Integer StatusCode
Definition doc.h:10854
const Text Url
Definition doc.h:10846
Definition doc.h:5236
Definition doc.h:11109
Definition doc.h:4645
Definition doc.h:11169
const Real R2
Definition doc.h:11304
const Real LeftStickY
Definition doc.h:11288
const Real RightStickY
Definition doc.h:11296
const Real L2
Definition doc.h:11300
Void SetColor(Vec3 Color)
Void AddRumble(Integer Duration, Real LargeMotor, Real SmallMotor)
const Real LeftStickX
Definition doc.h:11284
const Real RightStickX
Definition doc.h:11292
Definition doc.h:8064
Definition doc.h:7738
Definition doc.h:7600
Definition doc.h:5950
Definition doc.h:5269
Definition doc.h:843
Definition doc.h:713
Boolean OpenFileInExplorer(Text FileName)
Definition doc.h:5915
CUIConfig UI
Definition doc.h:5931
CUIConfig ClientUI
Definition doc.h:5935
Void SplitScreenAssignLayer(CUILayer UILayer, Integer ScreenNum)
Definition doc.h:12287
Definition doc.h:1010
Void SendCustomEvent(Text Type, Text[] Data)
Definition doc.h:1021
Void Maker_EditNewTitle(Text EditedTitleName)
Definition doc.h:911
Void ExternalRequest_Clear()
const CTitleEdition TitleEdition
Definition doc.h:959
Definition doc.h:828
const CManiaAppTitle ParentApp
Definition doc.h:832
Definition doc.h:14548
Definition doc.h:14566
Definition doc.h:7776
Definition doc.h:8074
Definition doc.h:7966
Definition doc.h:13111
Definition doc.h:13071
Definition doc.h:7481
Definition doc.h:13089
Definition doc.h:7388
Definition doc.h:1622
Definition doc.h:2546
Definition doc.h:13936
Definition doc.h:5300
Definition doc.h:8161
Definition doc.h:13744
Definition doc.h:14580
Definition doc.h:14514
Definition doc.h:14542
Definition doc.h:9886
Definition doc.h:14528
Definition doc.h:12232
const Text Name
Definition doc.h:12236
Definition doc.h:5880
Void MatchSettings_Save(CMatchSettings MatchSettings)
CMatchSettings MatchSettings_Create(Text FilePath)
const CMatchSettings[] MatchSettings
Definition doc.h:5908
Definition doc.h:14334
const Text Name
Definition doc.h:14338
const Boolean FileExists
Definition doc.h:14342
Definition doc.h:653
const CManiaAppBrowser ParentApp
Definition doc.h:662
Definition doc.h:646
Definition doc.h:5125
Definition doc.h:202
Definition doc.h:251
Definition doc.h:10741
Definition doc.h:533
Real Ratio
Definition doc.h:549
Real GradingRatio
Definition doc.h:553
Definition doc.h:5242
Real Width
Definition doc.h:5262
Definition doc.h:580
Definition doc.h:335
Definition doc.h:414
Definition doc.h:607
Real ZoomFactor
Definition doc.h:623
Definition doc.h:4036
Definition doc.h:453
Definition doc.h:4305
Definition doc.h:15
Void SendCustomEvent(Text Type, Text[] Data)
const CUser LocalUser
Definition doc.h:51
Definition doc.h:9590
Void RequestSpectatorClient(Boolean Spectator)
Void SetSpectateTarget(Text Player)
CUIConfig UI
Definition doc.h:9640
const CManiaAppPlaygroundCommon ParentApp
Definition doc.h:9664
const Boolean IsSpectator
Definition doc.h:9648
CUIConfig ClientUI
Definition doc.h:9644
const Boolean IsSpectatorClient
Definition doc.h:9652
Definition doc.h:1514
const CManiaAppStation ParentApp
Definition doc.h:1518
Definition doc.h:278
Definition doc.h:8609
const CInputManager Input
Definition doc.h:8809
const CDataFileMgr DataFileMgr
Definition doc.h:8813
Ident ItemList_AddWithSkin(Text ModelName, Text SkinNameOrUrl)
Definition doc.h:14423
Definition doc.h:13356
Definition doc.h:9763
Definition doc.h:13434
Definition doc.h:1361
Definition doc.h:1394
Definition doc.h:1339
Definition doc.h:1380
Definition doc.h:12916
Definition doc.h:12938
Definition doc.h:1238
Definition doc.h:1047
Definition doc.h:13306
Definition doc.h:12948
Definition doc.h:1073
Definition doc.h:1318
Definition doc.h:1153
Definition doc.h:1260
Definition doc.h:1107
Definition doc.h:1328
Definition doc.h:14004
const Integer Score
Definition doc.h:14024
const Text FileName
Definition doc.h:14028
const Integer Rank
Definition doc.h:14008
const Text DisplayName
Definition doc.h:14020
const Text ReplayUrl
Definition doc.h:14032
const Ident UserId
Definition doc.h:14012
const Text Login
Definition doc.h:14016
Definition doc.h:4025
Definition doc.h:12081
const CNotificationsConsumerNotification Notification
Definition doc.h:12093
const EType Type
Definition doc.h:12089
Definition doc.h:5789
const CNotificationsConsumerEvent[] Events
Definition doc.h:5798
const CNotificationsConsumerNotification[] Notifications
Definition doc.h:5802
Definition doc.h:12027
Void RegisterPackForEditedTitle()
Ident Build_Begin(CPackCreatorPack Pack, CPackCreatorTitleInfo TitleInfo)
Definition doc.h:14304
const Ident PackId
Definition doc.h:14308
Definition doc.h:14594
const Text Login
Definition doc.h:14598
const Integer UseCost
Definition doc.h:14606
const Integer GetCost
Definition doc.h:14602
Definition doc.h:5960
Text Station_ManialinkUrl
Definition doc.h:6016
const Boolean Solo_HasCampaign
Definition doc.h:6032
Definition doc.h:10819
Definition doc.h:4375
CParsingDocument Parse_Xml(Text Contents)
CParsingDocument Parse_Xml(Text Contents, Boolean GenerateText, Boolean GenerateTextRaw, Boolean GenerateTextResursive)
Definition doc.h:13890
Definition doc.h:13528
Definition doc.h:12302
const CMap Map
Definition doc.h:12306
const Boolean IsSpectatorClient
Definition doc.h:12334
Void RequestSpectatorClient(Boolean Spectator)
const Boolean IsSpectator
Definition doc.h:12330
Definition doc.h:11668
Definition doc.h:14232
const Text DisplayName
Definition doc.h:14248
const Real Score
Definition doc.h:14252
const Text ReplayUrl
Definition doc.h:14260
const Ident UserId
Definition doc.h:14240
const Text FileName
Definition doc.h:14256
const Integer Rank
Definition doc.h:14236
const Text Login
Definition doc.h:14244
Definition doc.h:13950
Definition doc.h:8299
Definition doc.h:4864
Integer MapLeaderBoard_GetPlayerRanking(Ident UserId, Text MapUid, Text Context, Text Zone)
Integer Campaign_GetMultiAsyncLevel(Ident UserId, Text CampaignId)
ELocalScoreStatus ScoreStatus_GetLocalStatus(Ident UserId)
Integer MultiplayerLeaderBoard_GetPlayerCount(Text Zone)
Integer MapLeaderBoard_GetPlayerCount(Text MapUid, Text Context, Text Zone)
Integer CampaignLeaderBoard_GetPlayerCount(Text CampaignId, Text Zone, Boolean UseSkillPoints)
Integer MultiplayerLeaderBoard_GetPlayerRanking(Ident UserId, Text Zone)
const CTaskResult[] TaskResults
Definition doc.h:4880
CTaskResult_BuddyChallengeRecordsComparison Campaign_GetBuddyMapRecordsComparison(Ident UserId, Text OpponentLogin, Text CampaignId)
Integer GlobalLeaderBoard_GetPlayerCount(Text Zone)
Integer Map_GetRecord(Ident UserId, Text MapUid, Text Context)
Integer Map_GetMultiAsyncLevelRecord(Text MapUid, Text Context, Integer MultiAsyncLevel)
CTaskResult_NaturalLeaderBoardInfoList MapLeaderBoard_GetPlayerList(Ident UserId, Text MapUid, Text Context, Text Zone, Integer FromIndex, Integer Count)
Integer GlobalLeaderBoard_GetPlayerRanking(Ident UserId, Text Zone)
Integer Campaign_GetMultiAsyncLevelCount(Ident UserId, Text CampaignId, Integer MultiAsyncLevel)
Integer CampaignLeaderBoard_GetPlayerRanking(Ident UserId, Text CampaignId, Text Zone, Boolean UseSkillPoints)
CTaskResult_MapRecordList Campaign_GetOpponentRecords(Ident UserId, Text CampaignId, Text OpponentLogin)
CTaskResult_Ghost Map_GetRecordGhost(Ident UserId, Text MapUid, Text Context)
CGhost Playground_GetPlayerGhost(CPlayer GamePlayer)
Integer Map_GetMultiAsyncLevel(Ident UserId, Text MapUid, Text Context)
CTaskResult_NaturalLeaderBoardInfoList CampaignLeaderBoard_GetPlayerList(Ident UserId, Text CampaignId, Text Zone, Boolean UseSkillPoints, Integer FromIndex, Integer Count)
EMasterServerScoreStatus ScoreStatus_GetMasterServerStatus(Ident UserId)
CTaskResult_RealLeaderBoardInfoList GlobalLeaderBoard_GetPlayerList(Ident UserId, Text Zone, Integer FromIndex, Integer Count)
Integer Map_GetSkillPoints(Ident UserId, Text MapUid, Text Context)
CTaskResult_Ghost Map_GetMultiAsyncLevelRecordGhost(Text MapUid, Text Context, Integer MultiAsyncLevel)
Integer Campaign_GetSkillPoints(Ident UserId, Text CampaignId)
Void Multiplayer_AddToScore(Ident UserId, Real ScoreDiff, Integer Timestamp)
Void TaskResult_Release(Ident TaskId)
CTaskResult_BuddiesChallengeRecordsComparison Campaign_GetBuddiesMapRecordsComparison(Ident UserId, Text CampaignId)
CTaskResult Map_SetNewRecord(Ident UserId, Text MapUid, Text Context, CGhost Ghost)
Boolean Campaign_IsBuddiesMapRecordDirty(Ident UserId, Text CampaignId, Text MapUid)
CTaskResult_BuddiesChallengeRecord Campaign_GetBuddiesMapRecord(Ident UserId, Text CampaignId, Text MapUid)
Definition doc.h:8496
Boolean IsDisableChangeTeams
Definition doc.h:8547
Boolean ForcePlayerRequestedTeam(CClient Client, Integer Team)
Void Authentication_GetToken(Ident UserId, Text AppLogin)
const CServerInfo ServerInfo
Definition doc.h:8507
Definition doc.h:11917
Definition doc.h:8377
const EType Type
Definition doc.h:8396
Definition doc.h:2636
Boolean Client_ComputeMinimap
Definition doc.h:2756
const CClient[] Players
Definition doc.h:2664
const CClient[] Spectators
Definition doc.h:2660
const CClient[] Clients
Definition doc.h:2656
const CScore[] Scores
Definition doc.h:2668
Definition doc.h:9832
Definition doc.h:3345
Definition doc.h:14641
Definition doc.h:14468
Definition doc.h:13725
Definition doc.h:14488
Real ValueReal
Definition doc.h:14496
Definition doc.h:14619
Definition doc.h:9440
Definition doc.h:13786
Definition doc.h:13820
Real ValueReal
Definition doc.h:13828
Definition doc.h:9459
Definition doc.h:3564
Definition doc.h:3270
Definition doc.h:9228
Definition doc.h:2791
Definition doc.h:9521
const CSmPlayer Player
Definition doc.h:9559
Definition doc.h:13546
Definition doc.h:8944
Real AmmoPower
Definition doc.h:8973
Real EnergyLevel
Definition doc.h:9061
Real StaminaGain
Definition doc.h:9029
Real SpeedPower
Definition doc.h:9037
Real AmmoGain
Definition doc.h:8969
Real ArmorPower
Definition doc.h:9013
Real StaminaMax
Definition doc.h:9025
Real StaminaPower
Definition doc.h:9033
Real JumpPower
Definition doc.h:9041
Real ThrowSpeed
Definition doc.h:9089
const Real GetLinearHue
Definition doc.h:9069
Definition doc.h:9478
Definition doc.h:14478
Definition doc.h:1435
const Boolean IsEditable
Definition doc.h:1507
Definition doc.h:5069
const Text Login
Definition doc.h:11548
const CHighScoreComparisonSummary[] BuddiesComparison
Definition doc.h:11586
const Text Login
Definition doc.h:11582
const Text Login
Definition doc.h:11616
const Text BuddyLogin
Definition doc.h:11620
const CHighScoreComparison[] BuddyBestRecordsComparison
Definition doc.h:11628
const CHighScoreComparison[] PlayerBestRecordsComparison
Definition doc.h:11624
Definition doc.h:11484
const Text ParentPath
Definition doc.h:11488
const Text[] SubFolders
Definition doc.h:11500
const Text Path
Definition doc.h:11492
const Text[] Files
Definition doc.h:11496
Definition doc.h:11506
const CTaskResult_ModeInfo[] GameModes
Definition doc.h:11510
Definition doc.h:11442
const CGhost Ghost
Definition doc.h:11446
Definition doc.h:11474
const CGhost[] Ghosts
Definition doc.h:11478
Definition doc.h:11402
const Text Path
Definition doc.h:11410
const Text ParentPath
Definition doc.h:11406
const CMapInfo[] MapInfos
Definition doc.h:11414
const Text[] SubFolders
Definition doc.h:11418
Definition doc.h:14044
const Integer Timestamp
Definition doc.h:14072
const Text MapUid
Definition doc.h:14052
const Text FileName
Definition doc.h:14084
const Text Context
Definition doc.h:14048
const Text ReplayUrl
Definition doc.h:14088
const Integer RespawnCount
Definition doc.h:14068
const Integer MultiAsyncLevel
Definition doc.h:14076
const Text MapName
Definition doc.h:14056
const Integer SkillPoints
Definition doc.h:14080
const Integer Score
Definition doc.h:14060
const Integer Time
Definition doc.h:14064
Definition doc.h:11534
const CTaskResult_MapRecord[] MapRecordList
Definition doc.h:11538
Definition doc.h:13972
const Text Name
Definition doc.h:13976
const Integer Count
Definition doc.h:11524
const CNaturalLeaderBoardInfo[] LeaderBoardInfo
Definition doc.h:11528
const Integer FromIndex
Definition doc.h:11520
Definition doc.h:14038
const Integer Count
Definition doc.h:11658
const Integer FromIndex
Definition doc.h:11654
const CRealLeaderBoardInfo[] LeaderBoardInfo
Definition doc.h:11662
Definition doc.h:11452
const Text ParentPath
Definition doc.h:11456
const Text[] SubFolders
Definition doc.h:11468
const CReplayInfo[] ReplayInfos
Definition doc.h:11464
const Text Path
Definition doc.h:11460
Definition doc.h:11907
Definition doc.h:11326
const Text ErrorDescription
Definition doc.h:11358
const Boolean HasSucceeded
Definition doc.h:11338
const Text ErrorType
Definition doc.h:11350
const Text ErrorCode
Definition doc.h:11354
const Boolean IsProcessing
Definition doc.h:11334
const Boolean IsCanceled
Definition doc.h:11346
const Boolean HasFailed
Definition doc.h:11342
Definition doc.h:8330
Definition doc.h:5500
Void GetServerInfo(Text ServerLogin)
Void PublishFile(Text FileName)
const Boolean IsReady
Definition doc.h:5533
const EResult LatestResult
Definition doc.h:5537
Void JoinServer(Text ServerLogin, Boolean AsSpectator, Text Password)
Definition doc.h:5702
Void SetTitleCampaign(Integer CampaignNum, Text ScoreContext, Text MapsFolderNameOrPlayListName, Boolean OfficialRecordEnabled)
const CPackCreator PackCreator
Definition doc.h:5715
Void File_Move(Text OrigName, Text DestNameOrFolder, Boolean KeepOriginalCopy)
Void File_ImportFromUser(Text FileName)
Definition doc.h:4258
Definition doc.h:3996
Definition doc.h:9942
const Integer FreeWheelingDuration
Definition doc.h:10147
const Real StuntCurFigureMasterGauge
Definition doc.h:10251
const Real StuntCurFigureEpicGauge
Definition doc.h:10255
Definition doc.h:3583
Integer SpectatorTimeshift
Definition doc.h:3623
const Vec3[] MapCheckpointPos
Definition doc.h:3631
Definition doc.h:10551
Definition doc.h:3658
const Vec3[] MapCheckpointPos
Definition doc.h:3977
Definition doc.h:10469
const Vec3 AimDirection
Definition doc.h:10517
const Vec3 Velocity
Definition doc.h:10521
const Real AimPitch
Definition doc.h:10513
const Vec3 Position
Definition doc.h:10505
const Real Speed
Definition doc.h:10525
const Real AimYaw
Definition doc.h:10509
Definition doc.h:10369
Definition doc.h:13857
Definition doc.h:10430
Definition doc.h:4019
Definition doc.h:13851
Definition doc.h:13204
Definition doc.h:12393
Integer AlliesLabelsMaxCount
Definition doc.h:12811
Integer OverlayChatLineCount
Definition doc.h:12659
Text MarkersXML
Definition doc.h:12563
EObserverMode SpectatorObserverMode
Definition doc.h:12871
Definition doc.h:8434
Definition doc.h:5406
Definition doc.h:4071
Definition doc.h:5478
CTaskResult_StringIntList GetGroups(Ident UserId)
Definition doc.h:11674
Real Interface_BeaconOpacity
Definition doc.h:11853
Real Inputs_MouseScaleFreeLook
Definition doc.h:11877
Real Audio_MasterSoundVolume
Definition doc.h:11793
Real Inputs_MouseScaleY
Definition doc.h:11873
Real Interface_CrosshairSize
Definition doc.h:11817
Real Interface_BeaconDuration
Definition doc.h:11861
Real Audio_MasterMusicVolume
Definition doc.h:11797
Real Interface_CrosshairOpacity
Definition doc.h:11821
Real Interface_PlayerShieldScale
Definition doc.h:11829
Real User_LightTrailHue
Definition doc.h:11737
Real Inputs_MouseSensitivityDefault
Definition doc.h:11885
Real Interface_OppoLinearHue
Definition doc.h:11845
Real Interface_CrosshairSaturation
Definition doc.h:11809
Real User_HornPitch
Definition doc.h:11741
Real Interface_AllyLinearHue
Definition doc.h:11837
EMapEditorMode Editors_MapEditorMode
Definition doc.h:11769
Real Interface_BeaconSize
Definition doc.h:11857
Real Inputs_MouseSensitivityLaser
Definition doc.h:11889
Real Inputs_MouseAccel
Definition doc.h:11881
Real Interface_CrosshairLinearHue
Definition doc.h:11813
const Boolean CanChangeAvatar
Definition doc.h:11701
Definition doc.h:14266
Real AnalogSensitivity
Definition doc.h:14282
Real RumbleIntensity
Definition doc.h:14294
const Text SkinName
Definition doc.h:14278
Real CenterSpringIntensity
Definition doc.h:14298
Real AnalogDeadZone
Definition doc.h:14286
Definition doc.h:10881
Boolean AutoProcessing
Definition doc.h:10917
Definition doc.h:4523
Definition doc.h:13275
Definition doc.h:8582
Definition doc.h:14348