Library referenceTypes
SkinDefinition
type SkinDefinition = {
id?: number;
index: number;
name: string;
rarity: number;
seas?: number;
thumbnail?: string;
tradable?: boolean;
type: number;
weapon?: number;
} & Record<string, unknown>;extra config properties of a skin (creator, glow, frames, ...) get merged into the root, so the index signature is real
Type Declaration
| Name | Type | Description |
|---|---|---|
id? | number | undocumented, equals index on the single skin endpoint |
index | number | Skin index (ID) |
name | string | Skin name |
rarity | number | Skin rarity |
seas? | number | the season; the docs call this field season |
thumbnail? | string | undocumented |
tradable? | boolean | undocumented |
type | number | Skin type |
weapon? | number | omitted when the skin has no weapon |