Server/project/src/models/spt/generators/IBotGenerator.ts

15 lines
466 B
TypeScript
Raw Normal View History

2023-03-03 16:23:46 +01:00
import { Inventory as PmcInventory } from "../../eft/common/tables/IBotBase";
import { Inventory, Chances, Generation } from "../../eft/common/tables/IBotType";
export interface IBotGenerator
{
generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory;
}
export interface IExhaustableArray<T>
{
getRandomValue(): T;
getFirstValue(): T;
hasValues(): boolean;
}