2023-10-19 19:21:17 +02:00
|
|
|
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
|
|
|
|
{
|
2023-11-16 02:35:05 +01:00
|
|
|
generateInventory(
|
|
|
|
templateInventory: Inventory,
|
|
|
|
equipmentChances: Chances,
|
|
|
|
generation: Generation,
|
|
|
|
botRole: string,
|
|
|
|
isPmc: boolean,
|
|
|
|
): PmcInventory;
|
2023-03-03 16:23:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IExhaustableArray<T>
|
|
|
|
{
|
|
|
|
getRandomValue(): T;
|
|
|
|
getFirstValue(): T;
|
|
|
|
hasValues(): boolean;
|
|
|
|
}
|