Rename interface to IOwnerInventoryItems

This commit is contained in:
Dev 2024-02-01 09:58:20 +00:00
parent 1e4d07937b
commit 8c99b25df0

View File

@ -32,7 +32,7 @@ import { HashUtil } from "@spt-aki/utils/HashUtil";
import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil"; import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
import { JsonUtil } from "@spt-aki/utils/JsonUtil"; import { JsonUtil } from "@spt-aki/utils/JsonUtil";
export interface OwnerInventoryItems export interface IOwnerInventoryItems
{ {
/** Inventory items from source */ /** Inventory items from source */
from: Item[]; from: Item[];
@ -1334,7 +1334,7 @@ export class InventoryHelper
public getOwnerInventoryItems( public getOwnerInventoryItems(
request: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData, request: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData,
sessionId: string, sessionId: string,
): OwnerInventoryItems ): IOwnerInventoryItems
{ {
let isSameInventory = false; let isSameInventory = false;
const pmcItems = this.profileHelper.getPmcProfile(sessionId).Inventory.items; const pmcItems = this.profileHelper.getPmcProfile(sessionId).Inventory.items;