Class UM_Score
An object containing information for a score that was earned by the player.
Inheritance
System.Object
UM_Score
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.CrossPlatform.GameServices
Assembly: cs.temp.dll.dll
Syntax
public class UM_Score : UM_iScore
Constructors
UM_Score(Int64, Int64, UInt64, Int64)
Declaration
public UM_Score(long value, long rank, ulong context, long date)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | |
System.Int64 | rank | |
System.UInt64 | context | |
System.Int64 | date |
Properties
Context
An unsigned long value used by your game.
Declaration
public ulong Context { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Date
The date and time when the score was earned.
Declaration
public DateTime Date { get; }
Property Value
Type | Description |
---|---|
DateTime |
DateUnix
The Date field value as unix time stamp
Declaration
public long DateUnix { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Rank
The position of the score in the results of a leaderboard search.
Declaration
public long Rank { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Value
The score earned by the player.
Declaration
public long Value { get; }
Property Value
Type | Description |
---|---|
System.Int64 |