ManiaScript Trackmania 2020  30/10/2024
CScoreMgr Class Reference

Score and leaderboard manager. More...

#include <2024_10_30.h>

Inheritance diagram for CScoreMgr:
CNod

Public Member Functions

Void TaskResult_Release (Ident TaskId)
 
CGhost Playground_GetPlayerGhost (CPlayer GamePlayer)
 
Void Score_GetFromCompressedPlatformScore (Integer CompressedScore, Integer RespawnCount, Integer Time)
 
CTaskResult Map_SetNewRecord_v2 (Ident UserId, Text MapUid, Text GameMode, Text GameModeCustomData, CGhost Ghost)
 
Integer Map_GetRecord_v2 (Ident UserId, Text MapUid, Text ScopeType, Text ScopeId, Text GameMode, Text GameModeCustomData)
 
Void Map_GetRecordFullScore (Ident UserId, Text MapUid, Text ScopeType, Text ScopeId, Text GameMode, Text GameModeCustomData, Integer Time, Integer Points, Integer RespawnCount)
 
CTaskResult_Ghost Map_GetRecordGhost_v2 (Ident UserId, Text MapUid, Text ScopeType, Text ScopeId, Text GameMode, Text GameModeCustomData)
 
Integer Map_GetMedal (Ident UserId, Text MapUid, Text ScopeType, Text ScopeId, Text GameMode, Text GameModeCustomData)
 
Integer Map_GetMultiAsyncLevelRecord_v2 (Text MapUid, Text ScopeType, Text ScopeId, Text GameMode, Text GameModeCustomData, Integer MultiAsyncLevel)
 
CTaskResult_Ghost Map_GetMultiAsyncLevelRecordGhost_v2 (Text MapUid, Text ScopeType, Text ScopeId, Text GameMode, Text GameModeCustomData, Integer MultiAsyncLevel)
 
CTaskResult_MapRecordList Map_GetPlayerListRecordList (Ident UserId, Array< Text > WebServicesUserIdList, Text MapUid, Text ScopeType, Text ScopeId, Text GameMode, Text GameModeCustomData)
 
CTaskResult Map_LoadPBScoreList (Ident UserId, Array< Text > MapUidList, Text GameMode, Text GameModeCustomData)
 
CTaskResult_Season Season_Create (Ident UserId, Text SeasonName, Text GameMode, Text GameModeCustomData, Text MapRecordType, Integer StartTimeStamp, Integer EndTimeStamp, Array< Text > MapUidList)
 
CTaskResult_Season Season_Update (Ident UserId, Text SeasonId, Text SeasonName, Text GameMode, Text GameModeCustomData, Text MapRecordType, Integer StartTimeStamp, Integer EndTimeStamp, Array< Text > MapUidList)
 
CTaskResult_Season Season_AddMapList (Ident UserId, Text SeasonId, Array< Text > MapUidList)
 
CTaskResult_Season Season_RemoveMapList (Ident UserId, Text SeasonId, Array< Text > MapUidList)
 
CTaskResult_Season Season_Get (Ident UserId, Text SeasonId)
 
CTaskResult_SeasonList Season_GetList (Ident UserId, Array< Text > SeasonIdList)
 
CTaskResult_SeasonList Season_GetListFromUser (Ident UserId, Text WebServicesUserId)
 
CTaskResult Season_LoadScore (Ident UserId, Text SeasonId)
 
CTaskResult Season_LoadScoreList (Ident UserId, Array< Text > SeasonIdList)
 
CTaskResult_AccountTrophyGainHistory Trophy_GetGainHistory (Ident UserId, Integer Offset, Integer Count)
 
CTaskResult_AccountTrophyGainHistory Trophy_GetGainHistoryByType (Ident UserId, Integer TrophyType, Integer Offset, Integer Count)
 
CTaskResult_AccountTrophyLastYearSummary Trophy_GetLastYearSummary (Ident UserId)
 
CTaskResult_AccountTrophyLastYearSummary Trophy_GetLastYearSummaryForUser (Ident UserId, Text WebServicesUserId)
 
CTaskResult_TrophySoloMedalAchievementSettings Trophy_GetSoloMedalAchievementSettings (Ident UserId, Text SoloMedalAchievementType)
 

Public Attributes

Array< CTaskResult *const > TaskResults
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

Score and leaderboard manager.

Definition at line 4861 of file 2024_10_30.h.

Member Function Documentation

◆ Map_GetMedal()

Integer CScoreMgr::Map_GetMedal ( Ident  UserId,
Text  MapUid,
Text  ScopeType,
Text  ScopeId,
Text  GameMode,
Text  GameModeCustomData 
)

Returns the number of medals for a map.

◆ Map_GetMultiAsyncLevelRecord_v2()

Integer CScoreMgr::Map_GetMultiAsyncLevelRecord_v2 ( Text  MapUid,
Text  ScopeType,
Text  ScopeId,
Text  GameMode,
Text  GameModeCustomData,
Integer  MultiAsyncLevel 
)

Returns the record score of the medal for a map.

◆ Map_GetMultiAsyncLevelRecordGhost_v2()

CTaskResult_Ghost CScoreMgr::Map_GetMultiAsyncLevelRecordGhost_v2 ( Text  MapUid,
Text  ScopeType,
Text  ScopeId,
Text  GameMode,
Text  GameModeCustomData,
Integer  MultiAsyncLevel 
)

Returns the record ghost of the medal for a map.

◆ Map_GetPlayerListRecordList()

CTaskResult_MapRecordList CScoreMgr::Map_GetPlayerListRecordList ( Ident  UserId,
Array< Text WebServicesUserIdList,
Text  MapUid,
Text  ScopeType,
Text  ScopeId,
Text  GameMode,
Text  GameModeCustomData 
)

◆ Map_GetRecord_v2()

Integer CScoreMgr::Map_GetRecord_v2 ( Ident  UserId,
Text  MapUid,
Text  ScopeType,
Text  ScopeId,
Text  GameMode,
Text  GameModeCustomData 
)

Returns the user record time for a map.

◆ Map_GetRecordFullScore()

Void CScoreMgr::Map_GetRecordFullScore ( Ident  UserId,
Text  MapUid,
Text  ScopeType,
Text  ScopeId,
Text  GameMode,
Text  GameModeCustomData,
Integer  Time,
Integer  Points,
Integer  RespawnCount 
)

Returns the user record full score (time, score, respawn) for a map.

◆ Map_GetRecordGhost_v2()

CTaskResult_Ghost CScoreMgr::Map_GetRecordGhost_v2 ( Ident  UserId,
Text  MapUid,
Text  ScopeType,
Text  ScopeId,
Text  GameMode,
Text  GameModeCustomData 
)

Returns the user record ghost for a map.

◆ Map_LoadPBScoreList()

CTaskResult CScoreMgr::Map_LoadPBScoreList ( Ident  UserId,
Array< Text MapUidList,
Text  GameMode,
Text  GameModeCustomData 
)

Loads and synchronizes scores for a list of map.

◆ Map_SetNewRecord_v2()

CTaskResult CScoreMgr::Map_SetNewRecord_v2 ( Ident  UserId,
Text  MapUid,
Text  GameMode,
Text  GameModeCustomData,
CGhost  Ghost 
)

Set a new record for a map.

◆ Playground_GetPlayerGhost()

CGhost CScoreMgr::Playground_GetPlayerGhost ( CPlayer  GamePlayer)

Returns the ghost currently being recorded for a player on the current playground. (or the latest ghost if the player is not playing.)

◆ Score_GetFromCompressedPlatformScore()

Void CScoreMgr::Score_GetFromCompressedPlatformScore ( Integer  CompressedScore,
Integer  RespawnCount,
Integer  Time 
)

Get respawn count and time from a compressed platform score value.

◆ Season_AddMapList()

CTaskResult_Season CScoreMgr::Season_AddMapList ( Ident  UserId,
Text  SeasonId,
Array< Text MapUidList 
)

◆ Season_Create()

CTaskResult_Season CScoreMgr::Season_Create ( Ident  UserId,
Text  SeasonName,
Text  GameMode,
Text  GameModeCustomData,
Text  MapRecordType,
Integer  StartTimeStamp,
Integer  EndTimeStamp,
Array< Text MapUidList 
)

Creates a new season.

◆ Season_Get()

CTaskResult_Season CScoreMgr::Season_Get ( Ident  UserId,
Text  SeasonId 
)

Returns the season info from a season id.

◆ Season_GetList()

CTaskResult_SeasonList CScoreMgr::Season_GetList ( Ident  UserId,
Array< Text SeasonIdList 
)

Returns a list of season info from a list of season id.

◆ Season_GetListFromUser()

CTaskResult_SeasonList CScoreMgr::Season_GetListFromUser ( Ident  UserId,
Text  WebServicesUserId 
)

Returns the list of created season from a webservices user id.

◆ Season_LoadScore()

CTaskResult CScoreMgr::Season_LoadScore ( Ident  UserId,
Text  SeasonId 
)

Loads and synchronizes season scores.

◆ Season_LoadScoreList()

CTaskResult CScoreMgr::Season_LoadScoreList ( Ident  UserId,
Array< Text SeasonIdList 
)

Loads and synchronizes scores for a list of season.

◆ Season_RemoveMapList()

CTaskResult_Season CScoreMgr::Season_RemoveMapList ( Ident  UserId,
Text  SeasonId,
Array< Text MapUidList 
)

◆ Season_Update()

CTaskResult_Season CScoreMgr::Season_Update ( Ident  UserId,
Text  SeasonId,
Text  SeasonName,
Text  GameMode,
Text  GameModeCustomData,
Text  MapRecordType,
Integer  StartTimeStamp,
Integer  EndTimeStamp,
Array< Text MapUidList 
)

◆ TaskResult_Release()

Void CScoreMgr::TaskResult_Release ( Ident  TaskId)

Release a task result no more used.

◆ Trophy_GetGainHistory()

CTaskResult_AccountTrophyGainHistory CScoreMgr::Trophy_GetGainHistory ( Ident  UserId,
Integer  Offset,
Integer  Count 
)

Returns the account trophy history.

◆ Trophy_GetGainHistoryByType()

CTaskResult_AccountTrophyGainHistory CScoreMgr::Trophy_GetGainHistoryByType ( Ident  UserId,
Integer  TrophyType,
Integer  Offset,
Integer  Count 
)

Returns the account trophy history filtered by the specified type.

◆ Trophy_GetLastYearSummary()

CTaskResult_AccountTrophyLastYearSummary CScoreMgr::Trophy_GetLastYearSummary ( Ident  UserId)

Returns the account trophy summary for the last year.

◆ Trophy_GetLastYearSummaryForUser()

CTaskResult_AccountTrophyLastYearSummary CScoreMgr::Trophy_GetLastYearSummaryForUser ( Ident  UserId,
Text  WebServicesUserId 
)

Returns the account trophy summary for the last year for the specified user

◆ Trophy_GetSoloMedalAchievementSettings()

CTaskResult_TrophySoloMedalAchievementSettings CScoreMgr::Trophy_GetSoloMedalAchievementSettings ( Ident  UserId,
Text  SoloMedalAchievementType 
)

Returns the trophy solo medal achievement settings

Member Data Documentation

◆ TaskResults

Array<CTaskResult* const > CScoreMgr::TaskResults

Array of task results.

Definition at line 4866 of file 2024_10_30.h.


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