UNPKG

tf2-item-format

Version:
21 lines (20 loc) 601 B
import { ItemNumber, TargetOutputItem, StringQuality } from '../types'; import { ISchema } from '../types/schema'; /** * Holds all attributes we received from name. */ export default class Attributes { schema: ISchema; craftable: boolean; australium: boolean; festivized: boolean; killstreak: string | void; wear: string | void; effect: string | void; texture: string | void; itemNumber: ItemNumber | null; usableItem?: Partial<TargetOutputItem> | null; isUniqueHat?: boolean; quality: StringQuality; constructor(schema: ISchema, name: string); }