@mann-conomy/tf-war-paints
Version:
A static Node.js wrapper for Team Fortress 2's many War Paints.
7 lines (6 loc) • 776 B
TypeScript
import type { PrototypeLanguage } from "../types/warpaints";
import type { IPaintAttributes, IWarPaint } from "../types/warpaints";
export declare function getAllAttributesOrThrow(warpaints: Record<PrototypeLanguage, IPaintAttributes[]>, language: PrototypeLanguage): IPaintAttributes[];
export declare function evaluate(warpaints: Record<PrototypeLanguage, IPaintAttributes[]>, warpaint: Partial<IWarPaint>, strict: boolean): boolean;
export declare function find(warpaints: Record<PrototypeLanguage, IPaintAttributes[]>, warpaint: Partial<IWarPaint>, strict: boolean): IPaintAttributes;
export declare function translate(warpaints: Record<PrototypeLanguage, IPaintAttributes[]>, warpaint: Partial<IWarPaint>, language: PrototypeLanguage, strict: boolean): IPaintAttributes;