Class Trophy
Provides the information a trophy.
Inheritance
System.Object
Trophy
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 Trophy
Properties
| Improve this Doc View SourceAchieved
Date/time when the trophy was achieved by the user, or false if they haven't achieved it yet.
Declaration
public bool Achieved { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Description
The trophy description text.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Difficulty
Bronze, Silver, Gold, or Platinum
Declaration
public TrophyDifficulty Difficulty { get; }
Property Value
Type | Description |
---|---|
TrophyDifficulty |
Id
The ID of the trophy.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ImageUrl
The URL of the trophy's thumbnail image.
Declaration
public string ImageUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
IsSecret
If the user has not yet achieved this trophy, this property determines whether this trophy is tagged as a secret trophy. If the user already achieved this trophy, this property returns false.
Declaration
public bool IsSecret { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Title
The title of the trophy on the site.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
System.String |