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

15 lines
486 B
TypeScript
Raw Normal View History

import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase";
import { Chances, Generation, Inventory } from "@spt-aki/models/eft/common/tables/IBotType";
2023-03-03 16:23:46 +01:00
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;
}