@casual-simulation/aux-common
Version:
Common library for AUX projects
19 lines • 796 B
TypeScript
import type { Bot } from './Bot';
import type { BotObjectsContext } from './BotObjectsContext';
/**
* Defines a helper class for BotLookupTable which is able to dynamically create and reuse
* lookup tables for a calculation context.
*/
export declare class BotLookupTableHelper {
private _tables;
constructor();
/**
* Queries the given bot calculation context for bots that match a set of tags with the given values.
* @param calc The bot calculation context.
* @param tags The tags to query against.
* @param values The values to query for.
* @param defaulst The default values to use for missing tags.
*/
query(calc: BotObjectsContext, tags: string[], values: any[], defaults?: any[]): Bot[];
}
//# sourceMappingURL=BotLookupTableHelper.d.ts.map