From 0348887cfff26bf44527cea7e52ee1bd8e58798a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Pivo=C5=88ka?= Date: Tue, 1 Oct 2024 17:09:03 +0200 Subject: [PATCH] Update to 2024.9.17.1117 --- README.md | 2 +- Trackmania/Doxyfile | 2 +- Trackmania/doc.h | 408 +++++++++++--------------------------------- index.html | 2 +- 4 files changed, 101 insertions(+), 313 deletions(-) diff --git a/README.md b/README.md index 9a81fe9..24e46da 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ManiaScript Reference - [**ManiaPlanet** 2019.11.19.1850](https://bigbang1112.github.io/maniascript-reference/maniaplanet) -- [**Trackmania** 2024.7.2.1435](https://bigbang1112.github.io/maniascript-reference/trackmania) +- [**Trackmania** 2024.9.17.1117](https://bigbang1112.github.io/maniascript-reference/trackmania) - [**Trackmania Turbo** 2016.11.07.1615](https://bigbang1112.github.io/maniascript-reference/tmturbo) - [**ManiaPlanet 3 (OUTDATED)** 2015.06.18.1510](https://bigbang1112.github.io/maniascript-reference/maniaplanet3outdated) diff --git a/Trackmania/Doxyfile b/Trackmania/Doxyfile index 57ab695..6b55180 100644 --- a/Trackmania/Doxyfile +++ b/Trackmania/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "Trackmania ManiaScript Reference" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 2024.7.2.1435 +PROJECT_NUMBER = 2024.9.17.1117 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/Trackmania/doc.h b/Trackmania/doc.h index c78b469..c9a5b15 100644 --- a/Trackmania/doc.h +++ b/Trackmania/doc.h @@ -3,7 +3,7 @@ * Maniaplanet Script API Documentation * * - * BuildInfo : date=2024-07-02_14_35 git=127172-c8715502da1 GameVersion=3.3.0 + * BuildInfo : date=2024-09-17_11_17 git=127252-120dea21a9e GameVersion=3.3.0 * Defines : Windowless TrackmaniaStandalone . * ***********************************************************************************/ @@ -4852,24 +4852,6 @@ Background write to usersave in progress. Do not switch off the console. */ class CScoreMgr : public CNod { public : - /*! - - */ - enum ELocalScoreStatus { - None, - Loading, - NotLoaded, - Loaded, - }; - /*! - - */ - enum EMasterServerScoreStatus { - None, - Synchronizing, - NotSynchronized, - Synchronized, - }; /*! Array of task results. */ @@ -4879,18 +4861,14 @@ Release a task result no more used. */ Void TaskResult_Release(Ident TaskId); /*! -Returns the local status of user records for the specified context. -*/ - CScoreMgr::ELocalScoreStatus ScoreStatus_GetLocalStatusForContext(Ident UserId,Text ScopeType,Text ScopeId,Text GameMode,Text GameModeCustomData); -/*! -Returns the masterserver status of user records for the specified context. -*/ - CScoreMgr::EMasterServerScoreStatus ScoreStatus_GetMasterServerStatusForContext(Ident UserId,Text ScopeType,Text ScopeId,Text GameMode,Text GameModeCustomData); -/*! Returns the ghost currently being recorded for a player on the current playground. (or the latest ghost if the player is not playing.) */ CGhost Playground_GetPlayerGhost(CPlayer GamePlayer); /*! +Get respawn count and time from a compressed platform score value. +*/ + Void Score_GetFromCompressedPlatformScore(Integer CompressedScore,Integer RespawnCount,Integer Time); +/*! Set a new record for a map. */ CTaskResult Map_SetNewRecord_v2(Ident UserId,Text MapUid,Text GameMode,Text GameModeCustomData,CGhost Ghost); @@ -4919,41 +4897,13 @@ Returns the record ghost of the medal for a map. */ CTaskResult_Ghost Map_GetMultiAsyncLevelRecordGhost_v2(Text MapUid,Text ScopeType,Text ScopeId,Text GameMode,Text GameModeCustomData,Integer MultiAsyncLevel); /*! -Returns the skillpoints for a map. -*/ - Integer Map_GetSkillPoints_v2(Ident UserId,Text MapUid,Text ScopeType,Text ScopeId,Text GameMode,Text GameModeCustomData); -/*! */ CTaskResult_MapRecordList Map_GetPlayerListRecordList(Ident UserId,Array WebServicesUserIdList,Text MapUid,Text ScopeType,Text ScopeId,Text GameMode,Text GameModeCustomData); /*! -Returns the number of medals for a campaign. -*/ - Integer Campaign_GetMultiAsyncLevel(Ident UserId,Text CampaignId); -/*! -Returns the number of medals of the specified level for a campaign. -*/ - Integer Campaign_GetMultiAsyncLevelCount(Ident UserId,Text CampaignId,Integer MultiAsyncLevel); -/*! -Returns the skillpoints for a campaign. -*/ - Integer Campaign_GetSkillPoints(Ident UserId,Text CampaignId); -/*! -Returns the buddies records for a map of a campaign. -*/ - CTaskResult_BuddiesChallengeRecord Campaign_GetBuddiesMapRecord(Ident UserId,Text CampaignId,Text MapUid); -/*! -Returns if the buddies records for a map of a campaign are dirty. +Loads and synchronizes scores for a list of map. */ - Boolean Campaign_IsBuddiesMapRecordDirty(Ident UserId,Text CampaignId,Text MapUid); -/*! -Returns the buddies records comparison for a campaign. -*/ - CTaskResult_BuddiesChallengeRecordsComparison Campaign_GetBuddiesMapRecordsComparison(Ident UserId,Text CampaignId); -/*! -Returns the records comparison with a buddy for a campaign. -*/ - CTaskResult_BuddyChallengeRecordsComparison Campaign_GetBuddyMapRecordsComparison(Ident UserId,Text OpponentLogin,Text CampaignId); + CTaskResult Map_LoadPBScoreList(Ident UserId,Array MapUidList,Text GameMode,Text GameModeCustomData); /*! Creates a new season. */ @@ -5875,6 +5825,24 @@ public : VeryLow, Lowest, }; + /*! + + */ + enum MapElemColorPalette { + Classic, + Stunt, + Red, + Orange, + Yellow, + Lime, + Green, + Cyan, + Blue, + Purple, + Pink, + White, + Black, + }; /*! */ @@ -6029,6 +5997,22 @@ public : CMapEditorPlugin::MapElemColor NextMapElemColor; /*! +*/ + CMapEditorPlugin::MapElemColorPalette MapElemColorPalette; +/*! + +*/ + Void SetNextMapElemColorPalette(); +/*! + +*/ + Boolean const IsColorBlindModeActive; +/*! + +*/ + Array MapElemColorPalettes; +/*! + */ Boolean ForceMacroblockColor; /*! @@ -6045,6 +6029,34 @@ public : CMapEditorPlugin::MapElemColor GetMapElemColor(CAnchorData Anchor); /*! +*/ + Void SetMapElemColor(CBlock Block,CMapEditorPlugin::MapElemColor Color); +/*! + +*/ + Void SetMapElemColor(CItemAnchor AnchoredObject,CMapEditorPlugin::MapElemColor Color); +/*! + +*/ + Void SetMapElemColor(CAnchorData Anchor,CMapEditorPlugin::MapElemColor Color); +/*! + +*/ + Text GetColorPaletteName(CMapEditorPlugin::MapElemColorPalette EColorPalette); +/*! + +*/ + Vec3 GetColorPaletteCurrentColor(CMapEditorPlugin::MapElemColorPalette EColorPalette,CMapEditorPlugin::MapElemColor EColor); +/*! + +*/ + Vec3 GetColorPaletteColorblindColor(CMapEditorPlugin::MapElemColorPalette EColorPalette,CMapEditorPlugin::MapElemColor EColor); +/*! + +*/ + Vec3 GetColorPaletteNotColorblindColor(CMapEditorPlugin::MapElemColorPalette EColorPalette,CMapEditorPlugin::MapElemColor EColor); +/*! + */ CMapEditorPlugin::PhaseOffset NextItemPhaseOffset; /*! @@ -9123,6 +9135,14 @@ Equals CurrentLapWaypointTimes when not empty. If it is empty (i.e. before the 1 */ Integer const CurrentLapTime; /*! + +*/ + Integer const CurrentRaceRespawns; +/*! + +*/ + Integer const CurrentLapRespawns; +/*! Values in range (0.000000-10.000000) */ Real AmmoGain; @@ -9885,6 +9905,14 @@ public : */ Array PrevLapTimes; +/*! + +*/ + Integer BestRaceNbRespawns; +/*! + +*/ + Integer PrevRaceNbRespawns; }; /*! @@ -15160,124 +15188,6 @@ List of map record info retrieve from NadeoServices contained by this result. Array MapRecordList; }; -/*! -* \brief List of all buddies record for a map. -* -* Supported declare modes : -* - Local -*/ -class CTaskResult_BuddiesChallengeRecord : public CTaskResult { -public : -/*! -Login of the user who has launched the task. -*/ - Text const Login; -/*! - -*/ - Array BuddiesChallengeRecord; -/*! -Sort the results by opponent record count. -*/ - Void SortByOpponentCount(); -/*! -Sort the results by opponent display name. -*/ - Void SortByOpponentDisplayName(); -/*! -Sort the results by opponent login. -*/ - Void SortByOpponentLogin(); -/*! -Sort the results by opponent record date. -*/ - Void SortByOpponentRecordDate(); -/*! -Sort the results by opponent record time. -*/ - Void SortByOpponentRecordTime(); -}; - -/*! -* \brief Results for comparison of challenge records with all the buddies. -* -* Supported declare modes : -* - Local -*/ -class CTaskResult_BuddiesChallengeRecordsComparison : public CTaskResult { -public : -/*! -Login of the user who has launched the task. -*/ - Text const Login; -/*! -List of comparison summary between user records and buddy records. Array of CHighScoreComparisonSummary objects. -*/ - Array BuddiesComparison; -/*! -Sort the results by user best record count. -*/ - Void SortByPlayerCount(); -/*! -Sort the results by opponent login. -*/ - Void SortByOpponentLogin(); -/*! -Sort the results by opponent best record count. -*/ - Void SortByOpponentCount(); -/*! -Sort the results by opponent last record date. -*/ - Void SortByOpponentDate(); -/*! -Sort the results by opponent display name. -*/ - Void SortByOpponentDisplayName(); -}; - -/*! -* \brief Results for comparison of challenge records between a user and one of its buddy. -* -* Supported declare modes : -* - Local -*/ -class CTaskResult_BuddyChallengeRecordsComparison : public CTaskResult { -public : -/*! -Login of the user who has launched the task. -*/ - Text const Login; -/*! -Buddy login. -*/ - Text const BuddyLogin; -/*! -List of best challenge records for user. Array of CHighScoreComparison objects. -*/ - Array PlayerBestRecordsComparison; -/*! -List of best challenge records for buddy. Array of CHighScoreComparison objects. -*/ - Array BuddyBestRecordsComparison; -/*! -Sort the results by map name. -*/ - Void SortByMapName(); -/*! -Sort the results by record time. -*/ - Void SortByRecordTime(); -/*! -Sort the results by record time diff. -*/ - Void SortByRecordTimeDiff(); -/*! -Sort the results by record date. -*/ - Void SortByRecordDate(); -}; - /*! * \brief Task result containing a season. * @@ -15444,6 +15354,14 @@ public : }; /*! + */ + enum EDisplayRecords { + Progressive, + Always, + Hide, + }; + /*! + */ enum ERoadsideSpectatorVisibility { Never, @@ -15580,6 +15498,10 @@ Favoured way to open the Map Editor CUserV2Profile::EMapEditorMood Editors_MapEditorQuickstartMood; /*! +*/ + Integer Editors_MapEditorQuickstartMapType; +/*! + */ Boolean Online_AutoSaveReplay; /*! @@ -15693,7 +15615,7 @@ Values in range (0.500000-15.000000) /*! */ - Boolean Interface_AlwaysDisplayRecords; + CUserV2Profile::EDisplayRecords Interface_DisplayRecords; /*! */ @@ -20010,140 +19932,6 @@ public : Text const ReplayUrl; }; -/*! -* \brief Documentation for class CHighScoreComparison -*/ -class CHighScoreComparison : public CNod { -public : -/*! - -*/ - CMapInfo * const MapInfo; -/*! - -*/ - Text const Login; -/*! - -*/ - Integer const RecordScore; -/*! - -*/ - Integer const RecordTime; -/*! - -*/ - Integer const RecordRespawnCount; -/*! - -*/ - Integer const RecordDate; -/*! - -*/ - Text const RecordDateString; -/*! - -*/ - Integer const RecordElapsedTime; -/*! - -*/ - Integer const RecordCount; -/*! - -*/ - Text const OpponentLogin; -/*! - -*/ - Text const OpponentDisplayName; -/*! - -*/ - Text const OpponentRecordUrl; -/*! - -*/ - Integer const OpponentRecordScore; -/*! - -*/ - Integer const OpponentRecordTime; -/*! - -*/ - Integer const OpponentRecordRespawnCount; -/*! - -*/ - Integer const OpponentRecordDate; -/*! - -*/ - Text const OpponentRecordDateString; -/*! - -*/ - Integer const OpponentRecordElapsedTime; -/*! - -*/ - Integer const OpponentRecordCount; -}; - -/*! -* \brief Documentation for class CHighScoreComparisonSummary -*/ -class CHighScoreComparisonSummary : public CNod { -public : -/*! - -*/ - Text const Login; -/*! - -*/ - Integer const BestRecordCount; -/*! - -*/ - Integer const BestRecordLastDate; -/*! - -*/ - Text const BestRecordLastDateString; -/*! - -*/ - Integer const BestRecordElapsedTime; -/*! - -*/ - Text const OpponentLogin; -/*! - -*/ - Text const OpponentDisplayName; -/*! - -*/ - Integer const OpponentBestRecordCount; -/*! - -*/ - Integer const OpponentBestRecordLastDate; -/*! - -*/ - Text const OpponentBestRecordLastDateString; -/*! - -*/ - Integer const OpponentBestRecordElapsedTime; -}; - /*! * \brief Asynchronous task result. * diff --git a/index.html b/index.html index 0532287..9fe086f 100644 --- a/index.html +++ b/index.html @@ -79,7 +79,7 @@

ManiaScript Reference

- 2024.7.2.1435 + 2024.9.17.1117