Update types
This commit is contained in:
parent
385a4f0c19
commit
a5d132f25e
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/10ScopesAndTypes/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/11BundleLoadingSample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/13AddTrader/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/13AddTrader/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/14AfterDBLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/15HttpListenerExample/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/16ImporterUtil/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/18CustomItemService/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/1LogToConsole/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/2EditDatabase/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/3GetSptConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/4UseACustomConfigFile/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/5ReplaceMethod/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/7OnLoadHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/8OnUpdateHook/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
@ -35,6 +35,7 @@ export declare class InventoryCallbacks {
|
|||||||
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
unbindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/** Handle ReadEncyclopedia */
|
/** Handle ReadEncyclopedia */
|
||||||
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
@ -138,12 +138,22 @@ export declare class InventoryController {
|
|||||||
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Bind an inventory item to the quick access menu at bottom of player screen
|
* Bind an inventory item to the quick access menu at bottom of player screen
|
||||||
|
* Handle bind event
|
||||||
* @param pmcData Player profile
|
* @param pmcData Player profile
|
||||||
* @param bindRequest Reqeust object
|
* @param bindRequest Reqeust object
|
||||||
* @param sessionID Session id
|
* @param sessionID Session id
|
||||||
* @returns IItemEventRouterResponse
|
* @returns IItemEventRouterResponse
|
||||||
*/
|
*/
|
||||||
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
bindItem(pmcData: IPmcData, bindRequest: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
|
/**
|
||||||
|
* Unbind an inventory item from quick access menu at bottom of player screen
|
||||||
|
* Handle unbind event
|
||||||
|
* @param pmcData Player profile
|
||||||
|
* @param bindRequest Request object
|
||||||
|
* @param sessionID Session id
|
||||||
|
* @returns IItemEventRouterResponse
|
||||||
|
*/
|
||||||
|
unbindItem(pmcData: IPmcData, request: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse;
|
||||||
/**
|
/**
|
||||||
* Handles examining an item
|
* Handles examining an item
|
||||||
* @param pmcData player profile
|
* @param pmcData player profile
|
||||||
|
6
TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
6
TypeScript/9RouterHooks/types/models/eft/inventory/IInventoryUnbindRequestData.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { IInventoryBaseActionRequestData } from "@spt-aki/models/eft/inventory/IInventoryBaseActionRequestData";
|
||||||
|
export interface IInventoryUnbindRequestData extends IInventoryBaseActionRequestData {
|
||||||
|
Action: "Unbind";
|
||||||
|
item: string;
|
||||||
|
index: number;
|
||||||
|
}
|
@ -9,6 +9,7 @@ export declare enum ItemEventActions {
|
|||||||
TOGGLE = "Toggle",
|
TOGGLE = "Toggle",
|
||||||
TAG = "Tag",
|
TAG = "Tag",
|
||||||
BIND = "Bind",
|
BIND = "Bind",
|
||||||
|
UNBIND = "Unbind",
|
||||||
EXAMINE = "Examine",
|
EXAMINE = "Examine",
|
||||||
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
READ_ENCYCLOPEDIA = "ReadEncyclopedia",
|
||||||
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
APPLY_INVENTORY_CHANGES = "ApplyInventoryChanges",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user