21 lines
533 B
TypeScript
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;
|
|
}
|