Interface BadgeGameSteam

Badge for a Steam based game.

Hierarchy

  • BaseBadge
    • BadgeGameSteam

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: number

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

title: null

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

isSteamGame: true

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

_id: ObjectId

Generated using TypeDoc