ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet 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 TaskResult_Release (Ident TaskId)
 
ELocalScoreStatus ScoreStatus_GetLocalStatus (Ident UserId)
 
EMasterServerScoreStatus ScoreStatus_GetMasterServerStatus (Ident UserId)
 
CGhost Playground_GetPlayerGhost (CPlayer GamePlayer)
 
CTaskResult Map_SetNewRecord (Ident UserId, Text MapUid, Text Context, CGhost Ghost)
 
Integer Map_GetRecord (Ident UserId, Text MapUid, Text Context)
 
CTaskResult_Ghost Map_GetRecordGhost (Ident UserId, Text MapUid, Text Context)
 
Integer Map_GetMultiAsyncLevel (Ident UserId, Text MapUid, Text Context)
 
Integer Map_GetMultiAsyncLevelRecord (Text MapUid, Text Context, Integer MultiAsyncLevel)
 
CTaskResult_Ghost Map_GetMultiAsyncLevelRecordGhost (Text MapUid, Text Context, Integer MultiAsyncLevel)
 
Integer Map_GetSkillPoints (Ident UserId, Text MapUid, Text Context)
 
Integer MapLeaderBoard_GetPlayerRanking (Ident UserId, Text MapUid, Text Context, Text Zone)
 
Integer MapLeaderBoard_GetPlayerCount (Text MapUid, Text Context, Text Zone)
 
CTaskResult_NaturalLeaderBoardInfoList MapLeaderBoard_GetPlayerList (Ident UserId, Text MapUid, Text Context, Text Zone, Integer FromIndex, Integer Count)
 
Integer Campaign_GetMultiAsyncLevel (Ident UserId, Text CampaignId)
 
Integer Campaign_GetMultiAsyncLevelCount (Ident UserId, Text CampaignId, Integer MultiAsyncLevel)
 
Integer Campaign_GetSkillPoints (Ident UserId, Text CampaignId)
 
CTaskResult_MapRecordList Campaign_GetOpponentRecords (Ident UserId, Text CampaignId, Text OpponentLogin)
 
CTaskResult_BuddiesChallengeRecord Campaign_GetBuddiesMapRecord (Ident UserId, Text CampaignId, Text MapUid)
 
Boolean Campaign_IsBuddiesMapRecordDirty (Ident UserId, Text CampaignId, Text MapUid)
 
CTaskResult_BuddiesChallengeRecordsComparison Campaign_GetBuddiesMapRecordsComparison (Ident UserId, Text CampaignId)
 
CTaskResult_BuddyChallengeRecordsComparison Campaign_GetBuddyMapRecordsComparison (Ident UserId, Text OpponentLogin, Text CampaignId)
 
Integer CampaignLeaderBoard_GetPlayerRanking (Ident UserId, Text CampaignId, Text Zone, Boolean UseSkillPoints)
 
Integer CampaignLeaderBoard_GetPlayerCount (Text CampaignId, Text Zone, Boolean UseSkillPoints)
 
CTaskResult_NaturalLeaderBoardInfoList CampaignLeaderBoard_GetPlayerList (Ident UserId, Text CampaignId, Text Zone, Boolean UseSkillPoints, Integer FromIndex, Integer Count)
 
Void Multiplayer_AddToScore (Ident UserId, Real ScoreDiff, Integer Timestamp)
 
Integer MultiplayerLeaderBoard_GetPlayerRanking (Ident UserId, Text Zone)
 
Integer MultiplayerLeaderBoard_GetPlayerCount (Text Zone)
 
Integer GlobalLeaderBoard_GetPlayerRanking (Ident UserId, Text Zone)
 
Integer GlobalLeaderBoard_GetPlayerCount (Text Zone)
 
CTaskResult_RealLeaderBoardInfoList GlobalLeaderBoard_GetPlayerList (Ident UserId, Text Zone, Integer FromIndex, Integer Count)
 

Public Attributes

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

Detailed Description

Score and leaderboard manager.

Member Function Documentation

◆ Campaign_GetBuddiesMapRecord()

CTaskResult_BuddiesChallengeRecord CScoreMgr::Campaign_GetBuddiesMapRecord ( Ident UserId,
Text CampaignId,
Text MapUid )

Returns the buddies records for a map of a campaign.

◆ Campaign_GetBuddiesMapRecordsComparison()

CTaskResult_BuddiesChallengeRecordsComparison CScoreMgr::Campaign_GetBuddiesMapRecordsComparison ( Ident UserId,
Text CampaignId )

Returns the buddies records comparison for a campaign.

◆ Campaign_GetBuddyMapRecordsComparison()

CTaskResult_BuddyChallengeRecordsComparison CScoreMgr::Campaign_GetBuddyMapRecordsComparison ( Ident UserId,
Text OpponentLogin,
Text CampaignId )

Returns the records comparison with a buddy for a campaign.

◆ Campaign_GetMultiAsyncLevel()

Integer CScoreMgr::Campaign_GetMultiAsyncLevel ( Ident UserId,
Text CampaignId )

Returns the number of medals for a campaign.

◆ Campaign_GetMultiAsyncLevelCount()

Integer CScoreMgr::Campaign_GetMultiAsyncLevelCount ( Ident UserId,
Text CampaignId,
Integer MultiAsyncLevel )

Returns the number of medals of the specified level for a campaign.

◆ Campaign_GetOpponentRecords()

CTaskResult_MapRecordList CScoreMgr::Campaign_GetOpponentRecords ( Ident UserId,
Text CampaignId,
Text OpponentLogin )

Returns the all the records of an opponent specified by its login for a campaign.

◆ Campaign_GetSkillPoints()

Integer CScoreMgr::Campaign_GetSkillPoints ( Ident UserId,
Text CampaignId )

Returns the skillpoints for a campaign.

◆ Campaign_IsBuddiesMapRecordDirty()

Boolean CScoreMgr::Campaign_IsBuddiesMapRecordDirty ( Ident UserId,
Text CampaignId,
Text MapUid )

Returns if the buddies records for a map of a campaign are dirty.

◆ CampaignLeaderBoard_GetPlayerCount()

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

Returns the number of user ranked on a campaign.

◆ CampaignLeaderBoard_GetPlayerList()

CTaskResult_NaturalLeaderBoardInfoList CScoreMgr::CampaignLeaderBoard_GetPlayerList ( Ident UserId,
Text CampaignId,
Text Zone,
Boolean UseSkillPoints,
Integer FromIndex,
Integer Count )

Returns a part of the campaign leaderboard.

◆ CampaignLeaderBoard_GetPlayerRanking()

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

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

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

◆ Map_GetMultiAsyncLevel()

Integer CScoreMgr::Map_GetMultiAsyncLevel ( Ident UserId,
Text MapUid,
Text Context )

Returns the number of medals for a map.

◆ Map_GetMultiAsyncLevelRecord()

Integer CScoreMgr::Map_GetMultiAsyncLevelRecord ( Text MapUid,
Text Context,
Integer MultiAsyncLevel )

Returns the record score of the medal for a map.

◆ Map_GetMultiAsyncLevelRecordGhost()

CTaskResult_Ghost CScoreMgr::Map_GetMultiAsyncLevelRecordGhost ( Text MapUid,
Text Context,
Integer MultiAsyncLevel )

Returns the record ghost of the medal for a map.

◆ Map_GetRecord()

Integer CScoreMgr::Map_GetRecord ( Ident UserId,
Text MapUid,
Text Context )

Returns the user record time for a map.

◆ Map_GetRecordGhost()

CTaskResult_Ghost CScoreMgr::Map_GetRecordGhost ( Ident UserId,
Text MapUid,
Text Context )

Returns the user record ghost for a map.

◆ Map_GetSkillPoints()

Integer CScoreMgr::Map_GetSkillPoints ( Ident UserId,
Text MapUid,
Text Context )

Returns the skillpoints for a map.

◆ Map_SetNewRecord()

CTaskResult CScoreMgr::Map_SetNewRecord ( Ident UserId,
Text MapUid,
Text Context,
CGhost Ghost )

Set a new record for a map.

◆ MapLeaderBoard_GetPlayerCount()

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

Returns the number of user ranked on a map.

◆ MapLeaderBoard_GetPlayerList()

CTaskResult_NaturalLeaderBoardInfoList CScoreMgr::MapLeaderBoard_GetPlayerList ( Ident UserId,
Text MapUid,
Text Context,
Text Zone,
Integer FromIndex,
Integer Count )

Returns a part of the map leaderboard.

◆ MapLeaderBoard_GetPlayerRanking()

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

Returns the user ranking on a map.

◆ Multiplayer_AddToScore()

Void CScoreMgr::Multiplayer_AddToScore ( Ident UserId,
Real ScoreDiff,
Integer Timestamp )

Add points to multiplayer score.

◆ MultiplayerLeaderBoard_GetPlayerCount()

Integer CScoreMgr::MultiplayerLeaderBoard_GetPlayerCount ( Text Zone)

Returns the number of user ranked in multiplayer leaderboard.

◆ MultiplayerLeaderBoard_GetPlayerRanking()

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

Returns the multiplayer ranking.

◆ 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.)

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

◆ TaskResult_Release()

Void CScoreMgr::TaskResult_Release ( Ident TaskId)

Release a task result no more used.

Member Data Documentation

◆ TaskResults

const CTaskResult [] CScoreMgr::TaskResults

Array of task results.


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