Class AN_PlayerLevel
Data object representing a level a player can obtain in the metagame.
A PlayerLevel has three components: a numeric value, and a range of XP totals it represents. A player is considered a given level if they have at least MinXp and less than MaxXp.
Inheritance
System.Object
AN_PlayerLevel
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_PlayerLevel
Properties
LevelNumber
Returns the number for this level, e.g. "level 10". This is the level that this object represents. For a player to be considered as being of this level, the value given by CurrentXpTotal must fall in the range [MinXp, MaxXp).
Declaration
public int LevelNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxXp
The maximum XP value represented by this level, exclusive.
Declaration
public long MaxXp { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
MinXp
The minimum XP value needed to attain this level, inclusive.
Declaration
public long MinXp { get; }
Property Value
Type | Description |
---|---|
System.Int64 |