Show / Hide Table of Contents

Class Score

Defines a single scoreboard entry.

Inheritance
System.Object
Score
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GameJolt.Objects
Assembly: GameJolt.dll
Syntax
public sealed class Score

Properties

| Improve this Doc View Source

Extra

Any extra data associated with the score, for e.g.: Level 2

Declaration
public string Extra { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

GuestName

If this is a guest score, this is the guest's submitted name.

Declaration
public string GuestName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsGuestScore

Whether this score was achieved by a guest or not.

Declaration
public bool IsGuestScore { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Name

If this is a user score, this is the display name for the user. If this is a guest score, this is the guest's submitted name.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Stored

Returns when the score was logged by the user, for e.g.: 1 week ago

Declaration
public string Stored { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StoredTimestamp

int Returns the timestamp (in seconds) of when the score was logged by the user.

Declaration
public int StoredTimestamp { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Text

The score string, for e.g.: 100 Coins

Declaration
public string Text { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UserId

If this is a user score, this is the user's ID.

Declaration
public int UserId { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

UserName

If this is a user score, this is the display name for the user.

Declaration
public string UserName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Value

The score's numerical sort value, for e.g. 100

Declaration
public int Value { get; }
Property Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX