Class AN_PlayerLevelInfo
Data object representing the current level information of a player in the metagame. A AN_PlayerLevelInfo has four components: the player's current XP, the timestamp of the player's last level-up, the player's current level, and the player's next level.
Inheritance
System.Object
AN_PlayerLevelInfo
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.Android.GMS.Games
Assembly: cs.temp.dll.dll
Syntax
public class AN_PlayerLevelInfo
Properties
CurrentLevel
Getter for the player's current level object. This object will be the same as the one returned from NextLevel if the player reached the maximum level. See IsMaxLevel
Declaration
public AN_PlayerLevel CurrentLevel { get; }
Property Value
Type | Description |
---|---|
AN_PlayerLevel |
CurrentXpTotal
The player's current XP value.
Declaration
public long CurrentXpTotal { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
IsMaxLevel
Returns true if the player reached the maximum level (CurrentLevel is the same as NextLevel
Declaration
public bool IsMaxLevel { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastLevelUpTimestamp
The timestamp of the player's last level-up.
Declaration
public long LastLevelUpTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
NextLevel
Getter for the player's next level object. This object will be the same as the one returned from CurrentLevel if the player reached the maximum level. See isMaxLevel()
Declaration
public AN_PlayerLevel NextLevel { get; }
Property Value
Type | Description |
---|---|
AN_PlayerLevel |