UNPKG

tf2-item-format

Version:
16 lines (15 loc) 695 B
import { ISchema } from '../../types/schema'; import Attributes from '../Attributes'; type SchemaEffectExceptions = { item: Record<string, string[]>; texture: Record<string, string[]>; effect: Record<string, string[]>; }; /** * Iterates over effects object to get matching effect. */ export default function (name: string, attributes: Attributes): string | void; export declare function getEffectExceptions(schema: ISchema): SchemaEffectExceptions; export declare function isEffectException(schema: ISchema, effect: string, name: string, hasWear: boolean): [boolean, string | null]; export declare function findEffectExceptions(schema: ISchema): SchemaEffectExceptions; export {};