Server/project/src/models/spt/generators/IBotGenerator.ts
2023-11-15 21:12:40 -05:00

21 lines
533 B
TypeScript

import { Inventory as PmcInventory } from "@spt-aki/models/eft/common/tables/IBotBase";
import { Chances, Generation, Inventory } from "@spt-aki/models/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;
}