Trackmania Turbo ManiaScript Reference 2016.11.07.1615
A ManiaScript Reference of the Trackmania Turbo game.
Loading...
Searching...
No Matches
CScoreMgr Struct Reference

#include <doc.h>

Inheritance diagram for CScoreMgr:
[legend]

Public Types

enum  ELocalScoreStatus { None , Loading , NotLoaded , Loaded }
 
enum  EMasterServerScoreStatus { None , Synchronizing , NotSynchronized , Synchronized }
 

Public Member Functions

Void ReleaseTaskResult (Ident TaskId)
 
ELocalScoreStatus ScoreStatus_GetLocalStatus (Ident UserId)
 
EMasterServerScoreStatus ScoreStatus_GetMasterServerStatus (Ident UserId)
 
CWebServicesTaskResult Campaign_SetNewMapRecord (Ident UserId, Text MapUid, CGhost Ghost)
 
Integer Campaign_GetMapRecord (Ident UserId, Text MapUid)
 
CWebServicesTaskResult_GhostHandle Campaign_GetMapRecordGhost (Ident UserId, Text MapUid)
 
Integer Campaign_GetMapMultiAsyncLevel (Ident UserId, Text MapUid)
 
CWebServicesTaskResult_BuddiesChallengeRecord Campaign_GetBuddiesMapRecord (Ident UserId, Text MapUid)
 
Boolean Campaign_IsBuddiesMapRecordDirty (Ident UserId, Text MapUid)
 
CWebServicesTaskResult_BuddiesChallengeRecordsComparison Campaign_GetBuddiesMapRecordsComparison (Ident UserId)
 
CWebServicesTaskResult_BuddyChallengeRecordsComparison Campaign_GetBuddyMapRecordsComparison (Ident UserId, Text OpponentLogin)
 
Void Multiplayer_AddToScore (Ident UserId, Real ScoreDiff, Integer Timestamp)
 
Integer CampaignLeaderBoard_GetPlayerRanking (Ident UserId, Text CampaignId, Text Zone)
 
Integer CampaignLeaderBoard_GetPlayerCount (Text CampaignId, Text Zone)
 
Integer MapLeaderBoard_GetPlayerRanking (Ident UserId, Text MapUid, Text Zone)
 
Integer MapLeaderBoard_GetPlayerCount (Text MapUid, Text Zone)
 
Integer GlobalLeaderBoard_GetPlayerRanking (Ident UserId, Text Zone)
 
Integer GlobalLeaderBoard_GetPlayerCount (Text Zone)
 
CWebServicesTaskResult_RealLeaderBoard GlobalLeaderBoard_GetPlayerList (Ident UserId, Text Zone, Integer FromIndex, Integer Count)
 

Public Attributes

const CWebServicesTaskResult[] TaskResults
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Score and leaderboard manager.

Member Function Documentation

◆ Campaign_GetMapMultiAsyncLevel()

Integer CScoreMgr::Campaign_GetMapMultiAsyncLevel ( Ident UserId,
Text MapUid )

Returns the number of medals for campaign map.

◆ Campaign_GetMapRecord()

Integer CScoreMgr::Campaign_GetMapRecord ( Ident UserId,
Text MapUid )

Returns the user record time for a campaign map.

◆ Campaign_GetMapRecordGhost()

CWebServicesTaskResult_GhostHandle CScoreMgr::Campaign_GetMapRecordGhost ( Ident UserId,
Text MapUid )

Returns the user record ghost for a campaign map.

◆ Campaign_SetNewMapRecord()

CWebServicesTaskResult CScoreMgr::Campaign_SetNewMapRecord ( Ident UserId,
Text MapUid,
CGhost Ghost )

Set a new record for a campaign map.

◆ CampaignLeaderBoard_GetPlayerCount()

Integer CScoreMgr::CampaignLeaderBoard_GetPlayerCount ( Text CampaignId,
Text Zone )

Returns the number of user ranked on a campaign.

◆ CampaignLeaderBoard_GetPlayerRanking()

Integer CScoreMgr::CampaignLeaderBoard_GetPlayerRanking ( Ident UserId,
Text CampaignId,
Text Zone )

Returns the user ranking on a campaign.

◆ GlobalLeaderBoard_GetPlayerCount()

Integer CScoreMgr::GlobalLeaderBoard_GetPlayerCount ( Text Zone)

Returns the number of user ranked in global leaderboard.

◆ GlobalLeaderBoard_GetPlayerList()

CWebServicesTaskResult_RealLeaderBoard CScoreMgr::GlobalLeaderBoard_GetPlayerList ( Ident UserId,
Text Zone,
Integer FromIndex,
Integer Count )

Returns a part of the global leaderboard.

◆ GlobalLeaderBoard_GetPlayerRanking()

Integer CScoreMgr::GlobalLeaderBoard_GetPlayerRanking ( Ident UserId,
Text Zone )

Returns the user global ranking.

◆ MapLeaderBoard_GetPlayerCount()

Integer CScoreMgr::MapLeaderBoard_GetPlayerCount ( Text MapUid,
Text Zone )

Returns the number of user ranked on a map.

◆ MapLeaderBoard_GetPlayerRanking()

Integer CScoreMgr::MapLeaderBoard_GetPlayerRanking ( Ident UserId,
Text MapUid,
Text Zone )

Returns the user ranking on a map.

◆ ReleaseTaskResult()

Void CScoreMgr::ReleaseTaskResult ( Ident TaskId)

Release a task result no more used.

◆ ScoreStatus_GetLocalStatus()

ELocalScoreStatus CScoreMgr::ScoreStatus_GetLocalStatus ( Ident UserId)

Returns the local status of user records.

◆ ScoreStatus_GetMasterServerStatus()

EMasterServerScoreStatus CScoreMgr::ScoreStatus_GetMasterServerStatus ( Ident UserId)

Returns the masterserver status of user records.

Member Data Documentation

◆ TaskResults

const CWebServicesTaskResult [] CScoreMgr::TaskResults

Array of task results.


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