krapio
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

NameTypeDescription
blackM?booleanblack market items: the kr price and the unlock requirement
creator?string-
funds?number-
glow?boolean-
id?number | stringthe texture or model number inside its weapon or slot (weapon_1_107.png), not unique; a string for paints, missing on creator skins
keyW?stringthe cosmetic slot for the others: "Hat", "Back", "Knife", "Sprays", ...
limited?boolean-
limT?stringwhy it is limited: "Gift", "Twitch", "Charity", ...
namestring-
noQuickSell?boolean | number-
noSale?boolean | number-
noSpin?boolean | number-
raritynumber-
req?string-
reqT?string-
seasnumberthe season it came out in
thumbnailstring-
tradableboolean-
type?number-
weapon?numberweapon index for weapon skins

On this page