From 406c59789a6d988ba39508cdd5466f1b75d9bea1 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 1 Feb 2024 09:50:50 +0000 Subject: [PATCH] Add interface --- .../models/eft/inventory/IAddItemsDirectRequest.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 project/src/models/eft/inventory/IAddItemsDirectRequest.ts diff --git a/project/src/models/eft/inventory/IAddItemsDirectRequest.ts b/project/src/models/eft/inventory/IAddItemsDirectRequest.ts new file mode 100644 index 00000000..012bef8e --- /dev/null +++ b/project/src/models/eft/inventory/IAddItemsDirectRequest.ts @@ -0,0 +1,11 @@ +import { Item } from "../common/tables/IItem"; + +export interface IAddItemsDirectRequest +{ + /** Item and child mods to add to player inventory */ + itemsWithModsToAdd: Item[][]; + foundInRaid: boolean; + /** Runs after EACH item with children is added */ + callback: (buyCount: number) => void; + useSortingTable: boolean; +} \ No newline at end of file