Show / Hide Table of Contents

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 Source

Achieved

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
| Improve this Doc View Source

Description

The trophy description text.

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

Difficulty

Bronze, Silver, Gold, or Platinum

Declaration
public TrophyDifficulty Difficulty { get; }
Property Value
Type Description
TrophyDifficulty
| Improve this Doc View Source

Id

The ID of the trophy.

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

ImageUrl

The URL of the trophy's thumbnail image.

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

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
| Improve this Doc View Source

Title

The title of the trophy on the site.

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