Class: GameBadge
structures.GameBadge
Table of contents
Constructors
Properties
- awardingUniverse
- client
- created
- description
- displayedDescription
- displayedIconId
- displayedName
- enabled
- iconId
- id
- name
- statistics
- updated
Constructors
constructor
+ new GameBadge(data
: GameBadgeOptions, client
: default): GameBadge
Parameters:
Name | Type |
---|---|
data |
GameBadgeOptions |
client |
default |
Returns: GameBadge
Defined in: structures/Game.ts:85
Properties
awardingUniverse
• awardingUniverse: PartialGameUniverse
Defined in: structures/Game.ts:85
client
• client: default
Defined in: structures/Game.ts:69
created
• created: Date
Defined in: structures/Game.ts:78
description
• description: string
Defined in: structures/Game.ts:72
displayedDescription
• displayedDescription: string
Defined in: structures/Game.ts:73
displayedIconId
• displayedIconId: number
Defined in: structures/Game.ts:77
displayedName
• displayedName: string
Defined in: structures/Game.ts:74
enabled
• enabled: boolean
Defined in: structures/Game.ts:75
iconId
• iconId: number
Defined in: structures/Game.ts:76
id
• id: number
Defined in: structures/Game.ts:70
name
• name: string
Defined in: structures/Game.ts:71
statistics
• statistics: object
Type declaration:
Name | Type |
---|---|
awardedCount |
number |
pastDayAwardedCount |
number |
winRatePercentage |
number |
Defined in: structures/Game.ts:80
updated
• updated: Date
Defined in: structures/Game.ts:79