CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Properties | List of all members
CotcSdk.Score Class Reference

Description

Represents a score fetched from a leaderboard.

Properties

GamerInfo GamerInfo [get, set]
 Info about the gamer who posted the score. This information may not be present for some calls (calls scoped to the current user) and the member be null. Please read the documentation to find out which calls apply this policy. More...
 
string Info [get]
 Info about the score (passed when posted). More...
 
DateTime PostedAt [get]
 Time at which the score was processed by the server (posted). More...
 
int Rank [get]
 One-based rank of this score on the board. More...
 
long Value [get]
 Actual score value. More...
 
- Properties inherited from CotcSdk.PropertiesObject
Bundle this[string key] [get]
 Allows to query additional properties via an indexer (can be enriched via hooks). More...
 

Additional Inherited Members

- Public Member Functions inherited from CotcSdk.PropertiesObject
Bundle AsBundle ()
 Gets the underlying Bundle. Dangerous, only use internally, when you want to put the contents of a properties object into an existing bundle. More...
 
Dictionary< string, Bundle >.KeyCollection Keys ()
 Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
 
Dictionary< string, Bundle >.Enumerator GetEnumerator ()
 Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
 
override string ToString ()
 You may use this to debug what is inside this property object. More...
 
string ToJson ()
 Builds a JSON representation of this object, same as ToString actually. More...
 
- Protected Member Functions inherited from CotcSdk.PropertiesObject
 PropertiesObject (Bundle baseData)
 
- Protected Attributes inherited from CotcSdk.PropertiesObject
Bundle Props
 
Inheritance diagram for CotcSdk.Score:
CotcSdk.PropertiesObject

Property Documentation

◆ GamerInfo

GamerInfo CotcSdk.Score.GamerInfo
getset

Info about the gamer who posted the score. This information may not be present for some calls (calls scoped to the current user) and the member be null. Please read the documentation to find out which calls apply this policy.

◆ Info

string CotcSdk.Score.Info
get

Info about the score (passed when posted).

◆ PostedAt

DateTime CotcSdk.Score.PostedAt
get

Time at which the score was processed by the server (posted).

◆ Rank

int CotcSdk.Score.Rank
get

One-based rank of this score on the board.

◆ Value

long CotcSdk.Score.Value
get

Actual score value.