Interface BadgeGameNonSteam

Badge for a non-Steam based game.

Hierarchy

  • BaseBadge
    • BadgeGameNonSteam

Properties

name: string

Name of the badge.

img: string

Image associated with the badge. Ideally should be 64x64.

points: number

Numeric value (stored as string for some reason).

requirements: string

Ideally it should be video|screenshot.

description: string

Short description of the badge.

isEnabled: boolean

TODO When the game to which the badge belongs gets decurated, this flag switches to false.

isLegacy: boolean

TODO [Is it even used?]

gameId: null

Steam game ID. If null, the game is not a Steam game.

title: string

Title of the game. If null, the game is a Steam game.

isSteamGame: false

This field is always false if the game is not a Steam game, duh.

_id: ObjectId

Generated using TypeDoc