Library referenceTypes
GameSkin
type GameSkin = {
blackM?: boolean;
creator?: string;
funds?: number;
glow?: boolean;
id?: number | string;
keyW?: string;
limited?: boolean;
limT?: string;
name: string;
noQuickSell?: boolean | number;
noSale?: boolean | number;
noSpin?: boolean | number;
rarity: number;
req?: string;
reqT?: string;
seas: number;
thumbnail: string;
tradable: boolean;
type?: number;
weapon?: number;
} & Record<string, unknown>;one entry of GET /data/skins; the array index is the skin index the market and inventory use. only the keys every entry or the market reads are named, the rest is render config (offsets, shaders, sounds)
Type Declaration
| Name | Type | Description |
|---|---|---|
blackM? | boolean | black market items: the kr price and the unlock requirement |
creator? | string | - |
funds? | number | - |
glow? | boolean | - |
id? | number | string | the texture or model number inside its weapon or slot (weapon_1_107.png), not unique; a string for paints, missing on creator skins |
keyW? | string | the cosmetic slot for the others: "Hat", "Back", "Knife", "Sprays", ... |
limited? | boolean | - |
limT? | string | why it is limited: "Gift", "Twitch", "Charity", ... |
name | string | - |
noQuickSell? | boolean | number | - |
noSale? | boolean | number | - |
noSpin? | boolean | number | - |
rarity | number | - |
req? | string | - |
reqT? | string | - |
seas | number | the season it came out in |
thumbnail | string | - |
tradable | boolean | - |
type? | number | - |
weapon? | number | weapon index for weapon skins |