Skip to content

Medal

Medal = { description: string; difficulty: number; icon: string; id: number; name: string; secret: boolean; unlocked: boolean; value: number; }

Defined in: newgrounds.d.ts:37

Contains information about a medal.

Property Type Description Defined in
description string A short description of the medal. newgrounds.d.ts:39
difficulty number The difficulty id of the medal. newgrounds.d.ts:41
icon string The URL for the medal’s icon. newgrounds.d.ts:43
id number The numeric ID of the medal. newgrounds.d.ts:45
name string The name of the medal. newgrounds.d.ts:47
secret boolean Indicates if the medal is secret. newgrounds.d.ts:49
unlocked boolean Indicates if the medal is unlocked. newgrounds.d.ts:51
value number The medal’s point value. newgrounds.d.ts:53