Rename interface to IOwnerInventoryItems
This commit is contained in:
parent
1e4d07937b
commit
8c99b25df0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user