TM Turbo  2016/03/25
TM Turbo docs
 All Classes Functions Variables
CScoreMgr Struct Reference

#include <Turbo.h>

Inheritance diagram for CScoreMgr:
CNod

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 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

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

Returns the number of medals for campaign map.

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

Returns the user record time for a campaign map.

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

Returns the user record ghost for a campaign map.

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

Set a new record for a campaign map.

Integer CScoreMgr::GlobalLeaderBoard_GetPlayerCount ( Text  Zone)

Returns the number of user ranked in global leaderboard.

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

Returns a part of the global leaderboard.

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

Returns the user global ranking.

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

Returns the number of user ranked on a map.

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

Returns the user ranking on a map.

Void CScoreMgr::ReleaseTaskResult ( Ident  TaskId)

Release a task result no more used.

ELocalScoreStatus CScoreMgr::ScoreStatus_GetLocalStatus ( Ident  UserId)

Returns the local status of user records.

EMasterServerScoreStatus CScoreMgr::ScoreStatus_GetMasterServerStatus ( Ident  UserId)

Returns the masterserver status of user records.

Member Data Documentation

const CWebServicesTaskResult [] CScoreMgr::TaskResults

Array of task results.


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