@mann-conomy/tf-particle-effects
Version:
A Node.js wrapper for Team Fortress 2's in-game particle effects.
7 lines (6 loc) • 698 B
TypeScript
import type { LanguageCode } from "@mann-conomy/tf-parser";
import type { IParticleAttribute, IParticleEffect, IParticleEffects } from "../types/particle";
export declare function getAllAttributesOrThrow(particles: IParticleEffects, language: LanguageCode): IParticleAttribute[];
export declare function evaluate(particles: IParticleEffects, particle: Partial<IParticleEffect>, strict: boolean): boolean;
export declare function find(particles: IParticleEffects, particle: Partial<IParticleEffect>, strict: boolean): IParticleAttribute;
export declare function translate(particles: IParticleEffects, particle: Partial<IParticleEffect>, language: LanguageCode, strict: boolean): IParticleAttribute;