Updated types for 3.4.5

This commit is contained in:
Dev 2023-04-07 13:51:58 +01:00
parent 9d3de180f2
commit b875e5eb03
2 changed files with 35 additions and 30 deletions

View File

@ -102,6 +102,10 @@ export declare class InventoryController {
foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse;
/** /**
* Toggles "Toggleable" items like night vision goggles and face shields. * Toggles "Toggleable" items like night vision goggles and face shields.
* @param pmcData player profile
* @param body Toggle request
* @param sessionID Session id
* @returns IItemEventRouterResponse
*/ */
toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse;
/** /**

View File

@ -1,33 +1,34 @@
export declare enum WildSpawnTypeNumber { export declare enum WildSpawnTypeNumber {
MARKSMAN = 0,
ASSAULT = 1, ASSAULT = 1,
MARKSMAN = 2, BOSSTEST = 2,
BOSSTEST = 4, BOSSBULLY = 3,
BOSSBULLY = 8, FOLLOWERTEST = 4,
FOLLOWERTEST = 16, FOLLOWERBULLY = 5,
FOLLOWERBULLY = 32, BOSSKILLA = 6,
BOSSKILLA = 64, BOSSKOJANIY = 7,
BOSSKOJANIY = 128, FOLLOWERKOJANIY = 8,
FOLLOWERKOJANIY = 256, PMCBOT = 9,
PMCBOT = 512, CURSEDASSAULT = 10,
CURSEDASSAULT = 1024, BOSSGLUHAR = 11,
BOSSGLUHAR = 2048, FOLLOWERGLUHARASSAULT = 12,
FOLLOWERGLUHARASSAULT = 4096, FOLLOWERGLUHARSECURITY = 13,
FOLLOWERGLUHARSECURITY = 8192, FOLLOWERGLUHARSCOUT = 14,
FOLLOWERGLUHARSCOUT = 16384, FOLLOWERGLUHARSNIPE = 15,
FOLLOWERGLUHARSNIPE = 32768, FOLLOWERSANITAR = 16,
FOLLOWERSANITAR = 65536, BOSSSANITAR = 17,
BOSSSANITAR = 131072, TEST = 18,
TEST = 262144, ASSAULTGROUP = 19,
ASSAULTGROUP = 524288, SECTANTWARRIOR = 20,
SECTANTWARRIOR = 1048576, SECTANTPRIEST = 21,
SECTANTPRIEST = 2097152, BOSSTAGILLA = 22,
BOSSTAGILLA = 4194304, FOLLOWERTAGILLA = 23,
FOLLOWERTAGILLA = 8388608, EXUSEC = 24,
EXUSEC = 16777216, GIFTER = 25,
GIFTER = 33554432, BOSSKNIGHT = 26,
BOSSKNIGHT = 67108864, FOLLOWERBIGPIPE = 27,
FOLLOWERBIGPIPE = 134217728, FOLLOWERBIRDEYE = 28,
FOLLOWERBIRDEYE = 268435456, BOSSZRYACHIY = 29,
BOSSZRYACHIY = 536870912, FOLLOWERZRYACHIY = 30,
FOLLOWERZRYACHIY = 1073741824 ARENAFIGHTEREVENT = 31
} }