diff --git a/Faupi-HideoutMod/Project/package.json b/Faupi-HideoutMod/Project/package.json index cc35dcd..6e470cf 100644 --- a/Faupi-HideoutMod/Project/package.json +++ b/Faupi-HideoutMod/Project/package.json @@ -1,11 +1,12 @@ { "name": "Faupi-HideoutArchitect", "author": "Faupi", - "version": "1.5.0", + "version": "1.5.1", "license": "NCSA Open Source", "main": "./src/hideoutarchitect.js", - "akiVersion": "3.0.0", + "akiVersion": "3.1.0", "devDependencies": { - "@types/node": "^17.0.35" - } + "@types/node": "^17.0.35" + } + "updated by": "CWX, Valens" } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/bepInEx/plugins/KcY-SeeItemValue.dll b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/bepInEx/plugins/KcY-SeeItemValue.dll deleted file mode 100644 index 29a226d..0000000 Binary files a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/bepInEx/plugins/KcY-SeeItemValue.dll and /dev/null differ diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HealthHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HealthHelper.d.ts deleted file mode 100644 index 518c23f..0000000 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HealthHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "../models/spt/config/IHealthConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HealthHelper { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected configServer: ConfigServer; - protected healthConfig: IHealthConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); - resetVitality(sessionID: string): IAkiProfile; - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string): void; - protected saveHealth(pmcData: IPmcData, sessionID: string): void; - protected saveEffects(pmcData: IPmcData, sessionID: string): void; - protected addEffect(pmcData: IPmcData, sessionID: string, effect: { - bodyPart: string; - effectType: string; - }): void; - protected isEmpty(map: any): boolean; -} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderHelper.d.ts deleted file mode 100644 index ab4a371..0000000 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderHelper.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { PlayerService } from "../services/PlayerService"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemHelper: ItemHelper; - protected handbookHelper: HandbookHelper; - protected playerService: PlayerService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemHelper: ItemHelper, handbookHelper: HandbookHelper, playerService: PlayerService, fenceService: FenceService, configServer: ConfigServer); - getTrader(traderID: string, sessionID: string): ITraderBase; - getTraderAssortsById(traderId: string): ITraderAssort; - /** - * Reset a trader back to its initial state as seen by a level 1 player - * Does NOT take into account different profile levels - * @param sessionID session id - * @param traderID trader id to reset - */ - resetTrader(sessionID: string, traderID: string): void; - changeTraderDisplay(traderID: string, status: boolean, sessionID: string): void; - getPurchasesData(traderID: string, sessionID: string): Record; - /** - * Calculate traders level based on exp amount and increment level if over threshold - * @param traderID trader to process - * @param sessionID session id - */ - lvlUp(traderID: string, sessionID: string): void; - getTraderUpdateSeconds(traderId: string): number; - /** - * check if an item is allowed to be sold to a trader - * @param traderFilters array of allowed categories - * @param tplToCheck itemTpl of inventory - * @returns boolean - */ - traderFilter(traderFilters: string[], tplToCheck: string): boolean; - getLoyaltyLevel(traderID: string, pmcData: IPmcData): LoyaltyLevel; -} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairCategoriesService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairCategoriesService.d.ts deleted file mode 100644 index 09956cc..0000000 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairCategoriesService.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -export declare class RagfairCategoriesService { - updateCategories(offers: IRagfairOffer[]): void; - protected categories: Record; - getCategories(): Record; - getCategoryByItemId(itemId: string): number; - resetCategories(): void; - setCategoryValue(itemId: string, newValue: number): void; - incrementCategory(itemId: string): void; -} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/DatabaseImporter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/DatabaseImporter.d.ts deleted file mode 100644 index 24c1cd6..0000000 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/DatabaseImporter.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ImageRouter } from "../routers/ImageRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { CustomHandbookItemService } from "../services/CustomHandbookItemService"; -import { CustomItemService } from "../services/CustomItemService"; -import { CustomPresetService } from "../services/customPresetService"; -import { CustomTraderAssortService } from "../services/CustomTraderAssortService"; -import { JsonUtil } from "./JsonUtil"; -import { VFS } from "./VFS"; -export declare class DatabaseImporter extends OnLoad { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected customItemService: CustomItemService; - protected customTraderAssortService: CustomTraderAssortService; - protected customHandbookItemService: CustomHandbookItemService; - protected customPresetService: CustomPresetService; - protected imageRouter: ImageRouter; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, customItemService: CustomItemService, customTraderAssortService: CustomTraderAssortService, customHandbookItemService: CustomHandbookItemService, customPresetService: CustomPresetService, imageRouter: ImageRouter); - onLoad(): void; - /** - * Read all json files in database folder and map into a json object - * @param filepath path to database folder - */ - protected hydrateDatabase(filepath: string): void; - /** - * Get all items added through CustomItemService and add to database.templates.items - * @param dataToImport db data to amend - */ - protected addCustomItemsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all assorts added through CustomTraderAssortService and add to database.traders[x].assort - * @param dataToImport db data to amend - */ - protected addCustomTraderAssortsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all custom handbook items added through CustomHandbookItemService and add to database.templates.handbook.items - * @param dataToImport db data to amend - */ - protected addCustomHandbookItemsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all custom preset items added through CustomPresetService and add to database.globals.ItemPresets - * @param dataToImport - */ - protected addCustomPresetsToDb(dataToImport: IDatabaseTables): void; - getRoute(): string; - loadRecursive(filepath: string): IDatabaseTables; - loadImages(filepath: string): void; -} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/bepInEx/plugins/KcY-SeeItemValue.dll b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/bepInEx/plugins/KcY-SeeItemValue.dll new file mode 100644 index 0000000..d5954e5 Binary files /dev/null and b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/bepInEx/plugins/KcY-SeeItemValue.dll differ diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/LICENSE.txt b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/LICENSE.txt similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/LICENSE.txt rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/LICENSE.txt diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/package.json b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/package.json similarity index 92% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/package.json rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/package.json index e453164..36adb2e 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/package.json +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/package.json @@ -1,11 +1,11 @@ { "name": "SeeItemValue", "author": "KcY", - "version": "1.3.5", + "version": "1.3.6", "license": "NCSA Open Source", "main": "src/mod.js", - "akiVersion": "3.0.0", - "UpdatedBy": "CWX", + "akiVersion": "3.1.0", + "UpdatedBy": "CWX, Valens", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/src/config.json b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/src/config.json similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/src/config.json rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/src/config.json diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/src/mod.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/src/mod.ts similarity index 95% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/src/mod.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/src/mod.ts index 64b4044..2f697fa 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/src/mod.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/src/mod.ts @@ -30,7 +30,7 @@ class SeeItemValue implements IMod private tradersArr; private cfg; - public load(container: DependencyContainer) + public preAkiLoad(container: DependencyContainer) { this.pkg = require("../package.json"); this.router = container.resolve("DynamicRouterModService"); @@ -41,7 +41,7 @@ class SeeItemValue implements IMod this.addRoute() } - public delayedLoad(container: DependencyContainer) + public postAkiLoad(container: DependencyContainer) { this.database = container.resolve("DatabaseServer"); this.table = this.database.getTables(); @@ -91,18 +91,6 @@ class SeeItemValue implements IMod let parentId = ""; let origiMax = 1; - if (!this.items[id]) - { - const result = { - multiplier: 1, - price: 1, - originalMax: 1 - } - - this.debugMode("Item was not in Item's Json - returning 1 as price", "yellow"); - return result; - } - if (id === "5449016a4bdc2d6f028b456f") { const result = { @@ -119,12 +107,12 @@ class SeeItemValue implements IMod const result = { multiplier: 1, price: this.livePrice[id], - originalMax: this.getOrigiDura(id) + originalMax: 1 }; if (typeof result != "undefined") { this.debugMode("Config setting false for traders - returning livePrice AVG", "yellow"); - return result; + return result } } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/Program.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/Program.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/Program.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/Program.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/TYPES.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/TYPES.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/TYPES.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/TYPES.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BotCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BotCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BotCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BotCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BundleCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BundleCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BundleCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/BundleCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/CustomizationCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/CustomizationCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/CustomizationCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/CustomizationCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DataCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DataCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DataCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DataCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DialogueCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DialogueCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DialogueCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/DialogueCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/GameCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/GameCallbacks.d.ts similarity index 90% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/GameCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/GameCallbacks.d.ts index d5cad76..06da1b5 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/GameCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/GameCallbacks.d.ts @@ -2,6 +2,7 @@ import { GameController } from "../controllers/GameController"; import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; import { IGameEmptyCrcRequestData } from "../models/eft/game/IGameEmptyCrcRequestData"; +import { IReportNicknameRequestData } from "../models/eft/game/IReportNicknameRequestData"; import { IVersionValidateRequestData } from "../models/eft/game/IVersionValidateRequestData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; @@ -20,5 +21,6 @@ declare class GameCallbacks { validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; + reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; } export { GameCallbacks }; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HandbookCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HandbookCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HandbookCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HandbookCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HealthCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HealthCallbacks.d.ts similarity index 85% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HealthCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HealthCallbacks.d.ts index 8f7b89d..8672be7 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HealthCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HealthCallbacks.d.ts @@ -13,6 +13,13 @@ export declare class HealthCallbacks { protected profileHelper: ProfileHelper; protected healthController: HealthController; constructor(httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, healthController: HealthController); + /** + * Custom aki server request found in modules/HealthSynchronizer.cs + * @param url + * @param info HealthListener.Instance.CurrentHealth class + * @param sessionID session id + * @returns empty response, no data sent back to client + */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HideoutCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HideoutCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HideoutCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HideoutCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HttpCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HttpCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HttpCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/HttpCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InraidCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InraidCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InraidCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InraidCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InsuranceCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InsuranceCallbacks.d.ts similarity index 89% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InsuranceCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InsuranceCallbacks.d.ts index 520d0eb..6819960 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InsuranceCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InsuranceCallbacks.d.ts @@ -3,6 +3,7 @@ import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; @@ -17,7 +18,7 @@ export declare class InsuranceCallbacks extends OnLoadOnUpdate { protected insuranceConfig: IInsuranceConfig; constructor(insuranceController: InsuranceController, insuranceService: InsuranceService, httpResponse: HttpResponseUtil, configServer: ConfigServer); onLoad(): void; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; + getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; onUpdate(secondsSinceLastRun: number): boolean; getRoute(): string; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InventoryCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InventoryCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InventoryCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/InventoryCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ItemEventCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ItemEventCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ItemEventCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ItemEventCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LauncherCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LauncherCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LauncherCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LauncherCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LocationCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LocationCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LocationCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/LocationCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/MatchCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/MatchCallbacks.d.ts similarity index 52% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/MatchCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/MatchCallbacks.d.ts index 083c1f5..2a92ef5 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/MatchCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/MatchCallbacks.d.ts @@ -1,10 +1,17 @@ import { MatchController } from "../controllers/MatchController"; +import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; +import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; +import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; +import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; +import { IPutMetricsRequestData } from "../models/eft/match/IPutMetricsRequestData"; import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; +import { IUpdatePingRequestData } from "../models/eft/match/IUpdatePingRequestData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { HttpResponseUtil } from "../utils/HttpResponseUtil"; import { JsonUtil } from "../utils/JsonUtil"; @@ -14,21 +21,21 @@ export declare class MatchCallbacks { protected matchController: MatchController; protected databaseServer: DatabaseServer; constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, matchController: MatchController, databaseServer: DatabaseServer); - updatePing(url: string, info: any, sessionID: string): INullResponseData; - exitMatch(url: string, info: any, sessionID: string): INullResponseData; - exitToMenu(url: string, info: any, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: any, sessionID: string): INullResponseData; + updatePing(url: string, info: IUpdatePingRequestData, sessionID: string): INullResponseData; + exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: any, sessionID: string): INullResponseData; + putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: any, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: any, sessionID: string): IGetBodyResponseData; + serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; + joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: any, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: any, sessionID: string): IGetBodyResponseData; + getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; + createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; deleteGroup(url: string, info: any, sessionID: string): INullResponseData; startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ModCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ModCallbacks.d.ts similarity index 81% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ModCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ModCallbacks.d.ts index 866abf7..58342dc 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ModCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ModCallbacks.d.ts @@ -1,5 +1,5 @@ import { OnLoad } from "../di/OnLoad"; -import { DelayedModLoader } from "../loaders/DelayedModLoader"; +import { PostAkiModLoader } from "../loaders/PostAkiModLoader"; import { IHttpConfig } from "../models/spt/config/IHttpConfig"; import { IHttpServer } from "../models/spt/server/IHttpServer"; import { ILogger } from "../models/spt/utils/ILogger"; @@ -9,10 +9,10 @@ declare class ModCallbacks extends OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpServer: IHttpServer; - protected modLoader: DelayedModLoader; + protected postAkiModLoader: PostAkiModLoader; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, modLoader: DelayedModLoader, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, postAkiModLoader: PostAkiModLoader, configServer: ConfigServer); onLoad(): void; getRoute(): string; sendBundle(sessionID: string, req: any, resp: any, body: any): void; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NoteCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NoteCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NoteCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NoteCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NotifierCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NotifierCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NotifierCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/NotifierCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetBuildCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetBuildCallbacks.d.ts similarity index 84% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetBuildCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetBuildCallbacks.d.ts index 8a0c155..541715a 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetBuildCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetBuildCallbacks.d.ts @@ -1,4 +1,5 @@ import { PresetBuildController } from "../controllers/PresetBuildController"; +import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; @@ -9,7 +10,7 @@ export declare class PresetBuildCallbacks { protected httpResponse: HttpResponseUtil; protected presetBuildController: PresetBuildController; constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; + getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/PresetCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ProfileCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ProfileCallbacks.d.ts similarity index 87% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ProfileCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ProfileCallbacks.d.ts index 116e7c5..6a86fc0 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ProfileCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/ProfileCallbacks.d.ts @@ -3,6 +3,7 @@ import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; @@ -23,7 +24,14 @@ export declare class ProfileCallbacks { changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; + /** + * Called when creating a character, when you choose a character face/voice + * @param url + * @param info response (empty) + * @param sessionID + * @returns + */ + getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; getAllMiniProfiles(url: string, info: any, sessionID: string): string; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/QuestCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/QuestCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/QuestCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/QuestCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RagfairCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RagfairCallbacks.d.ts similarity index 89% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RagfairCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RagfairCallbacks.d.ts index d5bab8b..3a405c9 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RagfairCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RagfairCallbacks.d.ts @@ -9,8 +9,10 @@ import { IAddOfferRequestData } from "../models/eft/ragfair/IAddOfferRequestData import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; import { IRemoveOfferRequestData } from "../models/eft/ragfair/IRemoveOfferRequestData"; import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "../models/eft/ragfair/ISendRagfairReportRequestData"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; @@ -28,12 +30,12 @@ export declare class RagfairCallbacks extends OnLoadOnUpdate { constructor(httpResponse: HttpResponseUtil, logger: ILogger, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, configServer: ConfigServer); onLoad(): void; getRoute(): string; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; + search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; onUpdate(timeSinceLastRun: number): boolean; - sendReport(url: string, info: any, sessionID: string): INullResponseData; + sendReport(url: string, info: ISendRagfairReportRequestData, sessionID: string): INullResponseData; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RepairCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RepairCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RepairCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/RepairCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/SaveCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/SaveCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/SaveCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/SaveCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TradeCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TradeCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TradeCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TradeCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TraderCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TraderCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TraderCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/TraderCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WeatherCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WeatherCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WeatherCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WeatherCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WishlistCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WishlistCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WishlistCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/callbacks/WishlistCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/BotController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/BotController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/BotController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/BotController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/CustomizationController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/CustomizationController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/CustomizationController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/CustomizationController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/DialogueController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/DialogueController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/DialogueController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/DialogueController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/GameController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/GameController.d.ts similarity index 52% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/GameController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/GameController.d.ts index 7f632d6..85ec418 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/GameController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/GameController.d.ts @@ -1,33 +1,28 @@ -import { GameHelper } from "../helpers/GameHelper"; import { HttpServerHelper } from "../helpers/HttpServerHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; +import { ICoreConfig } from "../models/spt/config/ICoreConfig"; import { IHttpConfig } from "../models/spt/config/IHttpConfig"; import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; +import { LocaleService } from "../services/LocaleService"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { Watermark } from "../utils/Watermark"; export declare class GameController { protected logger: ILogger; protected watermark: Watermark; protected httpServerHelper: HttpServerHelper; + protected localeService: LocaleService; protected profileHelper: ProfileHelper; - protected gameHelper: GameHelper; + protected profileFixerService: ProfileFixerService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, gameHelper: GameHelper, configServer: ConfigServer); + protected coreConfig: ICoreConfig; + constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, localeService: LocaleService, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, configServer: ConfigServer); gameStart(_url: string, _info: IEmptyRequestData, sessionID: string): void; - protected addMissingBonusesProperty(pmcProfile: IPmcData): void; - protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; - protected addMissingWeaponRepairSkill(pmcProfile: IPmcData): void; - protected addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; - protected addMissingArmorRepairSkill(pmcProfile: IPmcData): void; - protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; + protected logProfileDetails(fullProfile: IAkiProfile): void; getGameConfig(sessionID: string): IGameConfigResponse; getServer(): any[]; - protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HandbookController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HandbookController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HandbookController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HandbookController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HealthController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HealthController.d.ts similarity index 74% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HealthController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HealthController.d.ts index aafb8df..cc13603 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HealthController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HealthController.d.ts @@ -18,8 +18,29 @@ export declare class HealthController { protected inventoryHelper: InventoryHelper; protected healthHelper: HealthHelper; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, healthHelper: HealthHelper); - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string): void; + /** + * stores in-raid player health + * @param pmcData Player profile + * @param info Request data + * @param sessionID + * @param addEffects Should effects found be added or removed from profile + */ + saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; + /** + * When healing in menu + * @param pmcData + * @param body + * @param sessionID + * @returns + */ offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Occurs on post-raid healing page + * @param pmcData player profile + * @param info Request data from client + * @param sessionID Session id + * @returns + */ healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HideoutController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HideoutController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HideoutController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/HideoutController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InraidController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InraidController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InraidController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InraidController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InsuranceController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InsuranceController.d.ts similarity index 88% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InsuranceController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InsuranceController.d.ts index db2c567..af45442 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InsuranceController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InsuranceController.d.ts @@ -3,6 +3,7 @@ import { ItemHelper } from "../helpers/ItemHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; @@ -33,6 +34,12 @@ export declare class InsuranceController { insuranceService: InsuranceService, configServer: ConfigServer); processReturn(): void; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - cost(info: IGetInsuranceCostRequestData, sessionID: string): any; + /** + * Calculate insurance cost + * @param info request object + * @param sessionID session id + * @returns response object to send to client + */ + cost(info: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; doAbsolutelyNothing(): void; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InventoryController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InventoryController.d.ts similarity index 87% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InventoryController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InventoryController.d.ts index b732aa9..f57f731 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InventoryController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/InventoryController.d.ts @@ -24,6 +24,8 @@ import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRout import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { FenceService } from "../services/FenceService"; +import { RagfairOfferService } from "../services/RagfairOfferService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; export declare class InventoryController { @@ -31,12 +33,14 @@ export declare class InventoryController { protected hashUtil: HashUtil; protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; + protected fenceService: FenceService; protected presetHelper: PresetHelper; protected inventoryHelper: InventoryHelper; + protected ragfairOfferService: RagfairOfferService; protected profileHelper: ProfileHelper; protected paymentHelper: PaymentHelper; protected itemEventRouter: ItemEventRouter; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); + constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); /** * Move Item * change location of item with parentId and slotId @@ -93,9 +97,19 @@ export declare class InventoryController { tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; /** - * Handles examining of the item * + * Handles examining an item + * @param pmcData player profile + * @param body request object + * @param sessionID session id + * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Get the tplid of an item from the examine request object + * @param body response request + * @returns tplid + */ + protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; /** * Handles sorting of Inventory. diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LauncherController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LauncherController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LauncherController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LauncherController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LocationController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LocationController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LocationController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/LocationController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/MatchController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/MatchController.d.ts similarity index 65% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/MatchController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/MatchController.d.ts index c322d96..0851ab0 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/MatchController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/MatchController.d.ts @@ -1,30 +1,36 @@ import { ProfileHelper } from "../helpers/ProfileHelper"; import { TraderHelper } from "../helpers/TraderHelper"; import { IPmcData } from "../models/eft/common/IPmcData"; +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; +import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; +import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; +import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; import { IMatchConfig } from "../models/spt/config/IMatchConfig"; import { ConfigServer } from "../servers/ConfigServer"; import { SaveServer } from "../servers/SaveServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { MatchLocationService } from "../services/MatchLocationService"; export declare class MatchController { protected saveServer: SaveServer; protected profileHelper: ProfileHelper; protected matchLocationService: MatchLocationService; protected traderHelper: TraderHelper; + protected botLootCacheService: BotLootCacheService; protected configServer: ConfigServer; protected matchConfig: IMatchConfig; protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, configServer: ConfigServer); + constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer); getEnabled(): boolean; getProfile(info: IGetProfileRequestData): IPmcData[]; - protected getMatch(location: any): any; - createGroup(sessionID: string, info: any): any; + createGroup(sessionID: string, info: ICreateGroupRequestData): any; deleteGroup(info: any): void; - joinMatch(info: any, sessionID: string): any[]; - getGroupStatus(info: any): any; + joinMatch(info: IJoinMatchRequestData, sessionID: string): IJoinMatchResult[]; + protected getMatch(location: string): any; + getGroupStatus(info: IGetGroupStatusRequestData): any; startOfflineRaid(info: IStartOfflineRaidRequestData, sessionID: string): void; endOfflineRaid(info: IEndOfflineRaidRequestData, sessionID: string): void; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NoteController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NoteController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NoteController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NoteController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NotifierController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NotifierController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NotifierController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/NotifierController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetBuildController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetBuildController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetBuildController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetBuildController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/PresetController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/ProfileController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/ProfileController.d.ts similarity index 83% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/ProfileController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/ProfileController.d.ts index 9b7a6d5..b40bb7d 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/ProfileController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/ProfileController.d.ts @@ -11,6 +11,7 @@ import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendRespon import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { HashUtil } from "../utils/HashUtil"; import { TimeUtil } from "../utils/TimeUtil"; export declare class ProfileController { @@ -19,13 +20,20 @@ export declare class ProfileController { protected saveServer: SaveServer; protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; + protected profileFixerService: ProfileFixerService; protected traderHelper: TraderHelper; protected extendedProfileHelper: ExtendedProfileHelper; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, traderHelper: TraderHelper, extendedProfileHelper: ExtendedProfileHelper); + constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, traderHelper: TraderHelper, extendedProfileHelper: ExtendedProfileHelper); getMiniProfiles(): IMiniProfile[]; getMiniProfile(sessionID: string): any; getCompleteProfile(sessionID: string): IPmcData[]; createProfile(info: IProfileCreateRequestData, sessionID: string): void; + /** + * Generate a player scav object + * pmc profile MUST exist first before pscav can be generated + * @param sessionID + * @returns IPmcData object + */ generatePlayerScav(sessionID: string): IPmcData; validateNickname(info: IValidateNicknameRequestData, sessionID: string): string; changeNickname(info: IProfileChangeNicknameRequestData, sessionID: string): string; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/QuestController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/QuestController.d.ts similarity index 94% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/QuestController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/QuestController.d.ts index c00cd6d..2cbccfb 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/QuestController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/QuestController.d.ts @@ -14,6 +14,7 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; import { PlayerService } from "../services/PlayerService"; import { TimeUtil } from "../utils/TimeUtil"; export declare class QuestController { @@ -27,9 +28,10 @@ export declare class QuestController { protected questHelper: QuestHelper; protected questConditionHelper: QuestConditionHelper; protected playerService: PlayerService; + protected localeService: LocaleService; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, configServer: ConfigServer); /** * Get all quests visible to player * Exclude quests with incomplete preconditions (level/loyalty) diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RagfairController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RagfairController.d.ts similarity index 97% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RagfairController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RagfairController.d.ts index c758593..c4ffc15 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RagfairController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RagfairController.d.ts @@ -60,6 +60,8 @@ export declare class RagfairController { protected ragfairConfig: IRagfairConfig; constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxHelper: RagfairTaxHelper, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, configServer: ConfigServer); getOffers(sessionID: string, info: ISearchRequestData): IGetOffersResult; + protected isLinkedSearch(info: ISearchRequestData): boolean; + protected isRequiredSearch(info: ISearchRequestData): boolean; update(): void; getItemPrice(info: IGetMarketPriceRequestData): IGetItemPriceResult; addPlayerOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepairController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepairController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepairController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepairController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepeatableQuestController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepeatableQuestController.d.ts similarity index 97% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepeatableQuestController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepeatableQuestController.d.ts index 9aa9590..2bb2aa9 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepeatableQuestController.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/RepeatableQuestController.d.ts @@ -1,4 +1,3 @@ -import { GameHelper } from "../helpers/GameHelper"; import { ItemHelper } from "../helpers/ItemHelper"; import { PresetHelper } from "../helpers/PresetHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; @@ -16,6 +15,7 @@ import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { PaymentService } from "../services/PaymentService"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { JsonUtil } from "../utils/JsonUtil"; import { MathUtil } from "../utils/MathUtil"; import { ObjectId } from "../utils/ObjectId"; @@ -58,14 +58,14 @@ export declare class RepeatableQuestController { protected itemHelper: ItemHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; - protected gameHelper: GameHelper; + protected profileFixerService: ProfileFixerService; protected ragfairServerHelper: RagfairServerHelper; protected itemEventRouter: ItemEventRouter; protected paymentService: PaymentService; protected objectId: ObjectId; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, gameHelper: GameHelper, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); + constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); /** * This is the method reached by the /client/repeatalbeQuests/activityPeriods endpoint * Returns an array of objects in the format of repeatable quests to the client. diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TradeController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TradeController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TradeController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TradeController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TraderController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TraderController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TraderController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/TraderController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WeatherController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WeatherController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WeatherController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WeatherController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WishlistController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WishlistController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WishlistController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/controllers/WishlistController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/Container.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/Container.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/Container.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/Container.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoad.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoad.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoad.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoad.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoadOnUpdate.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoadOnUpdate.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoadOnUpdate.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnLoadOnUpdate.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnUpdate.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnUpdate.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnUpdate.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/OnUpdate.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/Router.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/Router.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/Router.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/Router.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/Serializer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/Serializer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/di/Serializer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/di/Serializer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotGenerator.d.ts similarity index 61% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotGenerator.d.ts index 88a8014..28f05a9 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotGenerator.d.ts @@ -31,16 +31,54 @@ export declare class BotGenerator { protected botConfig: IBotConfig; constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botHelper: BotHelper, gameEventHelper: GameEventHelper, configServer: ConfigServer); generate(info: IGenerateBotsRequestData, playerScav?: boolean): IBotBase[]; + /** + * Choose if a bot should become a Pmc by checking if bot type is allowed to become a Pmc in bot config + * @param isPlayerScav is a player scav being generated, forces choice returned to never be a pmc + */ + protected shouldBotBePmc(isPlayerScav: boolean, role: string): boolean; + /** + * Get a randomised PMC side based on bot config value 'isUsec' + * @returns pmc side as string + */ + protected getRandomisedPmcSide(): string; + /** + * Get a clone of the database\bots\base.json file + * @returns IBotBase object + */ + protected getCloneOfBotBase(): IBotBase; protected generateBot(bot: IBotBase, role: string, isPmc: boolean): IBotBase; + /** + * Log the number of PMCs generated to the debug console + */ + protected logPmcGeneratedCount(output: IBotBase[]): void; protected generateRandomLevel(min: number, max: number): BotGenerator.IRandomisedBotLevelResult; - /** Converts health object to the required format */ + /** + * Converts health object to the required format + * @param healthObj health object from bot json + * @param playerScav Is a pscav bot being generated + * @returns PmcHealth object + */ protected generateHealth(healthObj: Health, playerScav?: boolean): PmcHealth; protected generateSkills(skillsObj: Skills): Skills; + /** + * Convert from pmc side (usec/bear) to the side as defined in the bot config (usecType/bearType) + * @param pmcSide eft side (usec/bear) + * @returns pmc side as defined in config + */ protected getPmcRole(pmcSide: string): string; + /** + * Iterate through bots inventory and loot to find and remove christmas items (as defined in GameEventHelper) + * @param nodeInventory Bots inventory to iterate over + */ protected removeChristmasItemsFromBotInventory(nodeInventory: Inventory): void; protected generateId(bot: IBotBase): IBotBase; protected generateInventoryID(profile: IBotBase): IBotBase; protected getPMCDifficulty(requestedDifficulty: string): string; + /** + * Add a side-specific (usec/bear) dogtag item to a bots inventory + * @param bot bot to add dogtag to + * @returns Bot with dogtag added + */ protected generateDogtag(bot: IBotBase): IBotBase; } export {}; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotInventoryGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotInventoryGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotInventoryGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotInventoryGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotLootGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotLootGenerator.d.ts similarity index 66% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotLootGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotLootGenerator.d.ts index 1d91836..2295f51 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotLootGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotLootGenerator.d.ts @@ -1,29 +1,27 @@ -import { PMCLootGenerator } from "../generators/PMCLootGenerator"; import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; import { HandbookHelper } from "../helpers/HandbookHelper"; import { Inventory as PmcInventory } from "../models/eft/common/IPmcData"; import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; import { IBotConfig } from "../models/spt/config/IBotConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; import { RandomUtil } from "../utils/RandomUtil"; export declare class BotLootGenerator { - protected jsonUtil: JsonUtil; + protected logger: ILogger; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; protected botGeneratorHelper: BotGeneratorHelper; - protected pmcLootGenerator: PMCLootGenerator; + protected botLootCacheService: BotLootCacheService; protected configServer: ConfigServer; protected botConfig: IBotConfig; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, pmcLootGenerator: PMCLootGenerator, configServer: ConfigServer); - generateLoot(lootPool: Items, itemCounts: ItemMinMax, isPmc: boolean, inventory: PmcInventory): void; + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer); + generateLoot(lootPool: Items, itemCounts: ItemMinMax, isPmc: boolean, botRole: string, inventory: PmcInventory): void; protected getRandomisedCount(min: number, max: number, nValue: number): number; protected addLootFromPool(pool: ITemplateItem[], equipmentSlots: string[], count: number, inventory: PmcInventory, totalValueLimit?: number, useLimits?: boolean): void; - /** Compares two item templates by their price to spawn chance ratio */ - protected compareByValue(a: ITemplateItem, b: ITemplateItem): number; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotWeaponGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotWeaponGenerator.d.ts similarity index 86% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotWeaponGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotWeaponGenerator.d.ts index a43b18c..80dc37c 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotWeaponGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/BotWeaponGenerator.d.ts @@ -9,7 +9,9 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { DatabaseServer } from "../servers/DatabaseServer"; import { HashUtil } from "../utils/HashUtil"; import { RandomUtil } from "../utils/RandomUtil"; +import { JsonUtil } from "../utils/JsonUtil"; export declare class BotWeaponGenerator { + protected jsonUtil: JsonUtil; protected logger: ILogger; protected hashUtil: HashUtil; protected databaseServer: DatabaseServer; @@ -18,7 +20,7 @@ export declare class BotWeaponGenerator { protected botGeneratorHelper: BotGeneratorHelper; protected randomUtil: RandomUtil; private readonly modMagazineSlotId; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil); + constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil); generateWeapon(equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, magCounts: MinMax, botRole: string, isPmc: boolean, inventory: PmcInventory): void; /** * Get the mods necessary to kit out a weapon to its preset level @@ -41,6 +43,13 @@ export declare class BotWeaponGenerator { * @returns */ protected generateExtraMagazines(weaponMods: Item[], weaponTemplate: ITemplateItem, magCounts: MinMax, ammoTpl: string, inventory: PmcInventory): void; + /** + * Get a randomised number of bullets for a specific magazine + * @param magCounts min and max count of magazines + * @param magTemplate magazine to generate bullet count for + * @returns bullet count number + */ + protected getRandomisedBulletCount(magCounts: MinMax, magTemplate: ITemplateItem): number; /** * Get a randomised count of magazines * @param magCounts min and max value returned value can be between diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/LocationGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/LocationGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/LocationGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/LocationGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/PMCLootGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/PMCLootGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/PMCLootGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/PMCLootGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairAssortGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairAssortGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairAssortGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairAssortGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairOfferGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairOfferGenerator.d.ts similarity index 91% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairOfferGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairOfferGenerator.d.ts index de53ea9..3e7f4cc 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairOfferGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/RagfairOfferGenerator.d.ts @@ -11,6 +11,7 @@ import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; import { FenceService } from "../services/FenceService"; +import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; import { RagfairOfferService } from "../services/RagfairOfferService"; import { RagfairPriceService } from "../services/RagfairPriceService"; import { HashUtil } from "../utils/HashUtil"; @@ -31,11 +32,12 @@ export declare class RagfairOfferGenerator { protected ragfairAssortGenerator: RagfairAssortGenerator; protected ragfairOfferService: RagfairOfferService; protected ragfairPriceService: RagfairPriceService; + protected ragfairCategoriesService: RagfairCategoriesService; protected fenceService: FenceService; protected itemHelper: ItemHelper; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); + constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, ragfairCategoriesService: RagfairCategoriesService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; protected getTraderId(userID: string): string; protected getRating(userID: string): number; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/WeatherGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/WeatherGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/generators/WeatherGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/generators/WeatherGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/AssortHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/AssortHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/AssortHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/AssortHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotGeneratorHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotGeneratorHelper.d.ts similarity index 91% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotGeneratorHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotGeneratorHelper.d.ts index e4b0c11..243e7a8 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotGeneratorHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotGeneratorHelper.d.ts @@ -29,6 +29,12 @@ export declare class BotGeneratorHelper { protected botConfig: IBotConfig; constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer); generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[]; + /** + * Is this magazine cylinder related (revolvers and grenade launchers) + * @param magazineParentName the name of the magazines parent + * @returns true if it is cylinder related + */ + magazineIsCylinderRelated(magazineParentName: string): boolean; /** * Get a list of non black-listed cartridges from the PMC bot config * @param modSlot mod item slot @@ -69,6 +75,12 @@ export declare class BotGeneratorHelper { * @param {object} parentTemplate The CylinderMagazine's template */ protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; + /** + * Take a record of camoras and merge the compatable shells into one array + * @param camorasWithShells camoras we want to merge into one array + * @returns string array of shells fro luitple camora sources + */ + protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { upd?: Upd; }; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/BotHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ContainerHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ContainerHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ContainerHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ContainerHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DialogueHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DialogueHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DialogueHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DialogueHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DurabilityLimitsHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DurabilityLimitsHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DurabilityLimitsHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/DurabilityLimitsHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ExtendedProfileHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ExtendedProfileHelper.d.ts similarity index 76% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ExtendedProfileHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ExtendedProfileHelper.d.ts index d8b754d..c05d88e 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ExtendedProfileHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ExtendedProfileHelper.d.ts @@ -2,15 +2,20 @@ import { BotGenerator } from "../generators/BotGenerator"; import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { FenceService } from "../services/FenceService"; import { JsonUtil } from "../utils/JsonUtil"; import { TimeUtil } from "../utils/TimeUtil"; import { Watermark } from "../utils/Watermark"; import { ItemHelper } from "./ItemHelper"; import { ProfileHelper } from "./ProfileHelper"; +/** + * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load + */ export declare class ExtendedProfileHelper extends ProfileHelper { + protected botLootCacheService: BotLootCacheService; protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, fenceService: FenceService, botGenerator: BotGenerator); + constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); generatePlayerScav(sessionID: string): IPmcData; protected getScavSkills(sessionID: string): Skills; protected removeSecureContainer(profile: IPmcData): IPmcData; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameEventHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameEventHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameEventHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameEventHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/GameHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HandbookHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HandbookHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HandbookHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HandbookHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HealthHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HealthHelper.d.ts new file mode 100644 index 0000000..3116c9c --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HealthHelper.d.ts @@ -0,0 +1,51 @@ +import { IPmcData } from "../models/eft/common/IPmcData"; +import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; +import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; +import { IHealthConfig } from "../models/spt/config/IHealthConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; +import { SaveServer } from "../servers/SaveServer"; +import { JsonUtil } from "../utils/JsonUtil"; +import { TimeUtil } from "../utils/TimeUtil"; +export declare class HealthHelper { + protected jsonUtil: JsonUtil; + protected logger: ILogger; + protected timeUtil: TimeUtil; + protected saveServer: SaveServer; + protected configServer: ConfigServer; + protected healthConfig: IHealthConfig; + constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); + /** + * Resets the profiles vitality/healh and vitality/effects properties to their defaults + * @param sessionID Session Id + * @returns updated profile + */ + resetVitality(sessionID: string): IAkiProfile; + /** + * Update player profile with changes from request object + * @param pmcData Player profile + * @param info Request object + * @param sessionID Session id + * @param addEffects Should effects be added or removed (default - add) + */ + saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; + protected saveHealth(pmcData: IPmcData, sessionID: string): void; + /** + * Save effects to profile + * Works by removing all effects and adding them back from profile + * Remoces empty 'Effects' objects if found + * @param pmcData Player profile + * @param sessionID Session id + * @param addEffects Should effects be added back to profile + * @returns + */ + protected saveEffects(pmcData: IPmcData, sessionID: string, addEffects: boolean): void; + /** + * Add effect to body part in profile + * @param pmcData Player profile + * @param effectBodyPart body part to edit + * @param effectType Effect to add to body part + */ + protected addEffect(pmcData: IPmcData, effectBodyPart: string, effectType: string): void; + protected isEmpty(map: any): boolean; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HideoutHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HideoutHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HideoutHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HideoutHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HttpServerHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HttpServerHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HttpServerHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/HttpServerHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InRaidHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InRaidHelper.d.ts similarity index 80% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InRaidHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InRaidHelper.d.ts index 05b6fdf..58e0f6a 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InRaidHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InRaidHelper.d.ts @@ -28,6 +28,18 @@ export declare class InRaidHelper { markFoundItems(pmcData: IPmcData, profile: IPmcData, isPlayerScav: boolean): IPmcData; removeFoundInRaidStatusFromItems(profile: IPmcData): IPmcData; setInventory(sessionID: string, pmcData: IPmcData, profile: IPmcData): IPmcData; + /** + * Clear pmc inventory of all items except those that are exempt + * @param pmcData Player profile + * @param sessionID Session id + * @returns Player profile with pmc inventory cleared + */ deleteInventory(pmcData: IPmcData, sessionID: string): IPmcData; + /** + * Does the provided items slotId mean its kept on the player after death + * @param slotId slotid of item to check + * @returns true if item is kept after death + */ + isItemKeptAfterDeath(slotId: string): boolean; getPlayerGear(items: Item[]): Item[]; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InventoryHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InventoryHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InventoryHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/InventoryHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ItemHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ItemHelper.d.ts similarity index 69% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ItemHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ItemHelper.d.ts index 70c88d6..4e0eba4 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ItemHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ItemHelper.d.ts @@ -1,5 +1,5 @@ import { InsuredItem, IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; +import { Item, Repairable } from "../models/eft/common/tables/IItem"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; import { ILogger } from "../models/spt/utils/ILogger"; import { DatabaseServer } from "../servers/DatabaseServer"; @@ -18,7 +18,7 @@ declare class ItemHelper { */ isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; /** - * Checks if a id is a valid item. Valid meaning that it's an item that may be a reward + * Checks if an id is a valid item. Valid meaning that it's an item that may be a reward * or content of bot loot. Items that are tested as valid may be in a player backpack or stash. * @param {*} tpl template id of item to check * @returns boolean: true if item is valid reward @@ -83,26 +83,76 @@ declare class ItemHelper { * @returns {array} The array of StackSlotItems */ generateItemsFromStackSlot(item: ITemplateItem, parentId: string): Item[]; + /** + * Gets item data from items.json + * @param tpl items template id to look up + * @returns bool - is valid + template item object as array + */ getItem(tpl: string): [boolean, ITemplateItem]; + /** + * get normalized value (0-1) based on item condition + * @param item + * @returns number between 0 and 1 + */ getItemQualityModifier(item: Item): number; + /** + * Get a quality value based on a repairable items (weapon/armor) current state between current and max durability + * @param itemDetails + * @param repairable repairable object + * @param item + * @returns a number between 0 and 1 + */ + protected getRepairableItemQualityValue(itemDetails: ITemplateItem, repairable: Repairable, item: Item): number; + /** + * Recursive function that looks at every item from parameter and gets their childrens Ids + * @param items + * @param itemID + * @returns an array of strings + */ findAndReturnChildrenByItems(items: Item[], itemID: string): string[]; /** * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. + * @param items + * @param baseItemId + * @returns An array of Item objects */ findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; /** - * find children of the item in a given assort (weapons parts for example, need recursive loop function) + * Find children of the item in a given assort (weapons parts for example, need recursive loop function) + * @param itemIdToFind Template id of item to check for + * @param assort Array of items to check in + * @returns Array of children of requested item */ findAndReturnChildrenByAssort(itemIdToFind: string, assort: Item[]): Item[]; + /** + * Check if the passed in item has buy count restrictions + * @param itemToCheck Item to check + * @returns true if it has buy restrictions + */ hasBuyRestrictions(itemToCheck: Item): boolean; /** - * Is Dogtag - * Checks if an item is a dogtag. Used under profile_f.js to modify preparePrice based - * on the level of the dogtag + * is the passed in template id a dog tag + * @param tpl Template id to check + * @returns true if it is a dogtag */ isDogtag(tpl: string): boolean; + /** + * Can the item passed in be sold to a trader because it is raw money + * @param tpl Item template id to check + * @returns true if unsellable + */ isNotSellable(tpl: string): boolean; + /** + * Gets the identifier for a child using slotId, locationX and locationY. + * @param item + * @returns "slotId OR slotid,locationX,locationY" + */ getChildId(item: Item): string; + /** + * Can the pased in item be stacked + * @param tpl item to check + * @returns true if it can be stacked + */ isItemTplStackable(tpl: string): boolean; /** * split item stack if it exceeds StackMaxSize @@ -112,15 +162,17 @@ declare class ItemHelper { * Find Barter items in the inventory * @param {string} by * @param {Object} pmcData - * @param {string} barter_itemID - * @returns Array + * @param {string} barterItemId + * @returns Array of Item objects */ - findBarterItems(by: string, pmcData: IPmcData, barter_itemID: string): any[]; + findBarterItems(by: string, pmcData: IPmcData, barterItemId: string): Item[]; /** - * @param {Object} pmcData - * @param {Array} items - * @param {Object} fastPanel - * @returns Array + * + * @param pmcData + * @param items + * @param insuredItems insured items to not replace ids for + * @param fastPanel + * @returns */ replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): any[]; /** @@ -136,6 +188,12 @@ declare class ItemHelper { * @returns boolean */ isQuestItem(tpl: string): boolean; + /** + * Get the inventory size of an item + * @param items + * @param rootItemId + * @returns ItemSize object (width and height) + */ getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize; } declare namespace ItemHelper { diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotificationSendHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotificationSendHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotificationSendHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotificationSendHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotifierHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotifierHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotifierHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/NotifierHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PaymentHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PaymentHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PaymentHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PaymentHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PresetHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PresetHelper.d.ts similarity index 79% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PresetHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PresetHelper.d.ts index 0371886..a469582 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PresetHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/PresetHelper.d.ts @@ -1,9 +1,11 @@ import { Preset } from "../models/eft/common/IGlobals"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { JsonUtil } from "../utils/JsonUtil"; export declare class PresetHelper { + protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected lookup: Record; - constructor(databaseServer: DatabaseServer); + constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); hydratePresetStore(input: Record): void; isPreset(id: string): boolean; hasPreset(templateId: string): boolean; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProbabilityHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProbabilityHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProbabilityHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProbabilityHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProfileHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProfileHelper.d.ts similarity index 87% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProfileHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProfileHelper.d.ts index 6a64291..b369000 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProfileHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/ProfileHelper.d.ts @@ -20,6 +20,12 @@ export declare class ProfileHelper { resetProfileQuestCondition(sessionID: string, conditionId: string): void; getCompleteProfile(sessionID: string): IPmcData[]; isNicknameTaken(info: IValidateNicknameRequestData, sessionID: string): boolean; + /** + * Add experience to a PMC inside the players profile + * @param sessionID Session id + * @param experienceToAdd Experiecne to add to PMC character + */ + addExperienceToPmc(sessionID: string, experienceToAdd: number): void; getProfileByPmcId(pmcId: string): IPmcData; getExperience(level: number): number; getMaxLevel(): number; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestConditionHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestConditionHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestConditionHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestConditionHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestHelper.d.ts similarity index 82% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestHelper.d.ts index 04ede16..0b10135 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/QuestHelper.d.ts @@ -8,6 +8,7 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; import { TimeUtil } from "../utils/TimeUtil"; @@ -25,6 +26,7 @@ export declare class QuestHelper { protected itemHelper: ItemHelper; protected itemEventRouter: ItemEventRouter; protected databaseServer: DatabaseServer; + protected localeService: LocaleService; protected ragfairServerHelper: RagfairServerHelper; protected dialogueHelper: DialogueHelper; protected profileHelper: ProfileHelper; @@ -32,7 +34,7 @@ export declare class QuestHelper { protected traderHelper: TraderHelper; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); + constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); static get STATUS(): Record; questStatus(pmcData: IPmcData, questID: string): string; /** @@ -73,8 +75,22 @@ export declare class QuestHelper { */ cleanQuestConditions(quest: IQuest): IQuest; failQuest(pmcData: IPmcData, body: any, sessionID: string): any; + /** + * Get quest by id from database + * @param questId questid to look for + * @param pmcData player profile + * @returns IQuest object + */ getQuestFromDb(questId: string, pmcData: IPmcData): IQuest; - getQuestLocaleIdFromDb(messageId: string, localisation?: string): string; + getQuestLocaleIdFromDb(messageId: string): string; + /** + * Give player quest rewards - Skills/exp/trader standing/items/assort unlocks + * @param pmcData Player profile + * @param body complete quest request + * @param state State of the quest now its complete + * @param sessionID Seession id + * @returns array of reward objects + */ applyQuestReward(pmcData: IPmcData, body: ICompleteQuestRequestData, state: string, sessionID: string): Reward[]; /** * Get the intel center bonus a player has diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairOfferHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairOfferHelper.d.ts similarity index 95% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairOfferHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairOfferHelper.d.ts index 129bc1c..5a77e13 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairOfferHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairOfferHelper.d.ts @@ -10,6 +10,7 @@ import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { LocaleService } from "../services/LocaleService"; import { RagfairOfferService } from "../services/RagfairOfferService"; import { HashUtil } from "../utils/HashUtil"; import { TimeUtil } from "../utils/TimeUtil"; @@ -37,11 +38,12 @@ export declare class RagfairOfferHelper { protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; protected ragfairOfferService: RagfairOfferService; + protected localeService: LocaleService; protected configServer: ConfigServer; protected static TPL_GOODS_SOLD: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer); getValidOffers(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; getOffersForBuild(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; processOffers(sessionID: string): boolean; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSellHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSellHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSellHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSellHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairServerHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairServerHelper.d.ts similarity index 89% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairServerHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairServerHelper.d.ts index 2cb3ea5..a52306b 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairServerHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairServerHelper.d.ts @@ -1,11 +1,12 @@ -import { MemberCategory } from "../models/enums/MemberCategory"; import { Item } from "../models/eft/common/tables/IItem"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "../models/enums/MemberCategory"; import { IQuestConfig } from "../models/spt/config/IQuestConfig"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { LocaleService } from "../services/LocaleService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; import { RandomUtil } from "../utils/RandomUtil"; @@ -19,13 +20,14 @@ export declare class RagfairServerHelper { protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; protected itemHelper: ItemHelper; + protected localeService: LocaleService; protected dialogueHelper: DialogueHelper; protected jsonUtil: JsonUtil; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; protected static TPL_GOODS_RETURNED: string; - constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer); + constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer); /** * Is item valid / on blacklist / quest item * @param itemDetails diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSortHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSortHelper.d.ts similarity index 79% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSortHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSortHelper.d.ts index e983569..d20e10c 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSortHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairSortHelper.d.ts @@ -1,8 +1,10 @@ import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; - constructor(databaseServer: DatabaseServer); + protected localeService: LocaleService; + constructor(databaseServer: DatabaseServer, localeService: LocaleService); sortOffers(offers: IRagfairOffer[], type: number, direction?: number): IRagfairOffer[]; protected sortOffersByID(a: IRagfairOffer, b: IRagfairOffer): number; protected sortOffersByRating(a: IRagfairOffer, b: IRagfairOffer): number; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairTaxHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairTaxHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairTaxHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RagfairTaxHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RepairHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RepairHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RepairHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/RepairHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/SecureContainerHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/SecureContainerHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/SecureContainerHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/SecureContainerHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TradeHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TradeHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TradeHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TradeHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderAssortHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderAssortHelper.d.ts similarity index 62% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderAssortHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderAssortHelper.d.ts index 4f41ac2..91ba6b9 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderAssortHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderAssortHelper.d.ts @@ -2,24 +2,32 @@ import { RagfairAssortGenerator } from "../generators/RagfairAssortGenerator"; import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; import { Item } from "../models/eft/common/tables/IItem"; import { ITraderAssort } from "../models/eft/common/tables/ITrader"; +import { ITraderConfig } from "../models/spt/config/ITraderConfig"; import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { FenceService } from "../services/FenceService"; import { TraderAssortService } from "../services/TraderAssortService"; import { JsonUtil } from "../utils/JsonUtil"; +import { MathUtil } from "../utils/MathUtil"; import { AssortHelper } from "./AssortHelper"; +import { PaymentHelper } from "./PaymentHelper"; import { ProfileHelper } from "./ProfileHelper"; export declare class TraderAssortHelper { protected logger: ILogger; protected jsonUtil: JsonUtil; + protected mathUtil: MathUtil; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; protected assortHelper: AssortHelper; + protected paymentHelper: PaymentHelper; protected ragfairAssortGenerator: RagfairAssortGenerator; protected ragfairOfferGenerator: RagfairOfferGenerator; protected traderAssortService: TraderAssortService; protected fenceService: FenceService; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService); + protected configServer: ConfigServer; + protected traderConfig: ITraderConfig; + constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService, configServer: ConfigServer); /** * Get a traders assorts * Can be used for returning ragfair / fence assorts @@ -29,7 +37,12 @@ export declare class TraderAssortHelper { */ getAssort(sessionId: string, traderId: string): ITraderAssort; /** - * Get an array of pristine trader items prior to any alteration by player + * Iterate over all assorts barter_scheme values, find barters selling for money and multiply by multipler in config + * @param traderAssort Assorts to multiple price of + */ + protected multiplyItemPricesByConfigMultipler(traderAssort: ITraderAssort): void; + /** + * Get an array of pristine trader items prior to any alteration by player (as they were on server start) * @param traderId trader id * @returns array of Items */ diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderHelper.d.ts new file mode 100644 index 0000000..b2e9d38 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/TraderHelper.d.ts @@ -0,0 +1,109 @@ +import { FenceLevel } from "../models/eft/common/IGlobals"; +import { IPmcData } from "../models/eft/common/IPmcData"; +import { Item } from "../models/eft/common/tables/IItem"; +import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; +import { ITraderConfig } from "../models/spt/config/ITraderConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { SaveServer } from "../servers/SaveServer"; +import { FenceService } from "../services/FenceService"; +import { PlayerService } from "../services/PlayerService"; +import { HandbookHelper } from "./HandbookHelper"; +import { ItemHelper } from "./ItemHelper"; +import { PaymentHelper } from "./PaymentHelper"; +import { ProfileHelper } from "./ProfileHelper"; +export declare class TraderHelper { + protected logger: ILogger; + protected databaseServer: DatabaseServer; + protected saveServer: SaveServer; + protected profileHelper: ProfileHelper; + protected paymentHelper: PaymentHelper; + protected itemHelper: ItemHelper; + protected handbookHelper: HandbookHelper; + protected playerService: PlayerService; + protected fenceService: FenceService; + protected configServer: ConfigServer; + protected traderConfig: ITraderConfig; + constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemHelper: ItemHelper, handbookHelper: HandbookHelper, playerService: PlayerService, fenceService: FenceService, configServer: ConfigServer); + getTrader(traderID: string, sessionID: string): ITraderBase; + getTraderAssortsById(traderId: string): ITraderAssort; + /** + * Reset a profiles trader data back to its initial state as seen by a level 1 player + * Does NOT take into account different profile levels + * @param sessionID session id + * @param traderID trader id to reset + */ + resetTrader(sessionID: string, traderID: string): void; + /** + * Alter a traders unlocked status + * @param traderID Trader to alter + * @param status New status to use + * @param sessionID Session id + */ + setTraderUnlockedState(traderID: string, status: boolean, sessionID: string): void; + /** + * Get a list of items and their prices from player inventory that can be sold to a trader + * @param traderID trader id being traded with + * @param sessionID session id + * @returns IBarterScheme[][] + */ + getPurchasesData(traderID: string, sessionID: string): Record; + /** + * Should item be skipped when selling to trader according to its sell categories and other checks + * @param pmcData + * @param item + * @param sellCategory + * @returns true if should NOT be sold to trader + */ + protected isItemUnSellableToTrader(pmcData: IPmcData, item: Item, sellCategory: string[]): boolean; + /** + * Can this weapon be sold to a trader with its current durabiltiy level + * @param traderID + * @param item + * @returns boolean + */ + protected isWeaponAndBelowTraderBuyDurability(traderID: string, item: Item): boolean; + /** + * Get the price of an item and all of its attached children + * Take into account bonuses/adjsutments e.g. discounts + * @param pmcData profile data + * @param item item to calculate price of + * @param buyPriceCoefficient + * @param fenceInfo fence data + * @param traderBase trader details + * @param currencyTpl Currency to get price as + * @returns price of item + children + */ + protected getAdjustedItemPrice(pmcData: IPmcData, item: Item, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderBase: ITraderBase, currencyTpl: string): number; + /** + * Get the raw price of item+child items from handbook without any modification + * @param pmcData profile data + * @param item item to calculate price of + * @returns price as number + */ + protected getRawItemPrice(pmcData: IPmcData, item: Item): number; + protected getTraderDiscount(trader: ITraderBase, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderID: string): number; + /** + * Add standing to a trader and level them up if exp goes over level threshold + * @param sessionID Session id + * @param traderId traders id + * @param standingToAdd Standing value to add to trader + */ + addStandingToTrader(sessionID: string, traderId: string, standingToAdd: number): void; + /** + * Calculate traders level based on exp amount and increments level if over threshold + * @param traderID trader to process + * @param sessionID session id + */ + lvlUp(traderID: string, sessionID: string): void; + getTraderUpdateSeconds(traderId: string): number; + /** + * check if an item is allowed to be sold to a trader + * @param traderFilters array of allowed categories + * @param tplToCheck itemTpl of inventory + * @returns boolean + */ + traderFilter(traderFilters: string[], tplToCheck: string): boolean; + getLoyaltyLevel(traderID: string, pmcData: IPmcData): LoyaltyLevel; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/UtilityHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/UtilityHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/UtilityHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/UtilityHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/WeightedRandomHelper.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/WeightedRandomHelper.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/WeightedRandomHelper.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/helpers/WeightedRandomHelper.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/BleedingEdgeEntry.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/BleedingEdgeEntry.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/BleedingEdgeEntry.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/BleedingEdgeEntry.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/Compiler.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/Compiler.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/Compiler.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/Compiler.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/DebugEntry.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/DebugEntry.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/DebugEntry.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/DebugEntry.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/ReleaseEntry.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/ReleaseEntry.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/ReleaseEntry.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/ReleaseEntry.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/TestEntry.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/TestEntry.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/ide/TestEntry.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/ide/TestEntry.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/BundleLoader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/BundleLoader.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/BundleLoader.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/BundleLoader.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/DelayedModLoader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/DelayedModLoader.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/DelayedModLoader.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/DelayedModLoader.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/InitialModLoader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/InitialModLoader.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/InitialModLoader.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/InitialModLoader.d.ts diff --git a/KcY-SeeItemValue/itemValue/server/types/loaders/DelayedModLoader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PostAkiModLoader.d.ts similarity index 80% rename from KcY-SeeItemValue/itemValue/server/types/loaders/DelayedModLoader.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PostAkiModLoader.d.ts index 2a05604..edc6e5d 100644 --- a/KcY-SeeItemValue/itemValue/server/types/loaders/DelayedModLoader.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PostAkiModLoader.d.ts @@ -4,14 +4,14 @@ import { IModLoader } from "../models/spt/mod/IModLoader"; import { ModCompilerService } from "../services/ModCompilerService"; import { VFS } from "../utils/VFS"; import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { +import { PreAkiModLoader } from "./PreAkiModLoader"; +export declare class PostAkiModLoader implements IModLoader { protected bundleLoader: BundleLoader; protected handbookController: HandbookController; protected vfs: VFS; protected modCompilerService: ModCompilerService; - protected initialModLoader: InitialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); + protected preAkiModLoader: PreAkiModLoader; + constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, preAkiModLoader: PreAkiModLoader); getBundles(local: boolean): string; getBundle(key: string, local: boolean): void; getModPath(mod: string): string; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PostDBModLoader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PostDBModLoader.d.ts new file mode 100644 index 0000000..5101b7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PostDBModLoader.d.ts @@ -0,0 +1,11 @@ +import { DependencyContainer } from "tsyringe"; +import { OnLoad } from "../di/OnLoad"; +import { PreAkiModLoader } from "./PreAkiModLoader"; +export declare class PostDBModLoader implements OnLoad { + protected preAkiModLoader: PreAkiModLoader; + constructor(preAkiModLoader: PreAkiModLoader); + onLoad(): void; + getRoute(): string; + getModPath(mod: string): string; + protected executeMods(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/loaders/InitialModLoader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PreAkiModLoader.d.ts similarity index 96% rename from KcY-SeeItemValue/itemValue/server/types/loaders/InitialModLoader.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PreAkiModLoader.d.ts index 9a99dcc..6ded3c6 100644 --- a/KcY-SeeItemValue/itemValue/server/types/loaders/InitialModLoader.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/loaders/PreAkiModLoader.d.ts @@ -9,7 +9,7 @@ import { ModCompilerService } from "../services/ModCompilerService"; import { JsonUtil } from "../utils/JsonUtil"; import { VFS } from "../utils/VFS"; import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { +export declare class PreAkiModLoader implements IModLoader { protected logger: ILogger; protected vfs: VFS; protected jsonUtil: JsonUtil; @@ -50,7 +50,7 @@ export declare class InitialModLoader implements IModLoader { * @param modToValidate package.json details * @returns boolean */ - protected isModSpt300Compatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; + protected isModSpt3XXCompatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; protected executeMods(container: DependencyContainer): void; sortModsLoadOrder(): string[]; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/bot/IGenerateBotsRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/bot/IGenerateBotsRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/bot/IGenerateBotsRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/bot/IGenerateBotsRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IEmptyRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IEmptyRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IEmptyRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IEmptyRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IGlobals.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IGlobals.d.ts similarity index 99% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IGlobals.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IGlobals.d.ts index 456895c..9d28dbc 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IGlobals.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IGlobals.d.ts @@ -1128,8 +1128,11 @@ export interface Inertia { SprintAccelerationLimits: xyz; SideTime: xyz; DiagonalTime: xyz; + MaxTimeWithoutInput: xyz; MinDirectionBlendTime: number; - MoveTime: number; + MoveTimeRange: xyz; + ProneDirectionAccelerationRange: xyz; + ProneSpeedAccelerationRange: xyz; MinMovementAccelerationRangeRight: xyz; MaxMovementAccelerationRangeRight: xyz; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocation.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocation.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocation.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocation.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationBase.d.ts similarity index 94% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationBase.d.ts index ad48d32..b1dd448 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationBase.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationBase.d.ts @@ -26,6 +26,7 @@ export interface ILocationBase { DisabledForScav: boolean; DisabledScavExits: string; Enabled: boolean; + EnableCoop: boolean; GlobalLootChanceModifier: number; IconX: number; IconY: number; @@ -41,6 +42,7 @@ export interface ILocationBase { MinDistToFreePoint: number; MinMaxBots: MinMaxBot[]; MinPlayers: number; + MaxCoopGroup: number; Name: string; NewSpawn: boolean; OcculsionCullingEnabled: boolean; @@ -48,6 +50,8 @@ export interface ILocationBase { OpenZones: string; Preview: Preview; RequiredPlayerLevel: number; + PmcMaxPlayersInGroup: number; + ScavMaxPlayersInGroup: number; Rules: string; SafeLocation: boolean; Scene: Scene; @@ -55,7 +59,8 @@ export interface ILocationBase { UnixDateTime: number; _Id: string; doors: any[]; - escape_time_limit: number; + EscapeTimeLimit: number; + EscapeTimeLimitCoop: number; exit_access_time: number; exit_count: number; exit_time: number; @@ -63,6 +68,7 @@ export interface ILocationBase { filter_ex: string[]; limits: ILimit[]; matching_min_seconds: number; + GenerateLocalLootCache: boolean; maxItemCountInLocation: MaxItemCountInLocation[]; sav_summon_seconds: number; tmp_location_field_remove_me: number; @@ -106,6 +112,7 @@ export interface BossLocationSpawn { BossName: string; BossPlayer: boolean; BossZone: string; + RandomTimeSpawn: boolean; Time: number; TriggerId: string; TriggerName: string; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationsSourceDestinationBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationsSourceDestinationBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILocationsSourceDestinationBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILooseLoot.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILooseLoot.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILooseLoot.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/ILooseLoot.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IMetricsTableData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IMetricsTableData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IMetricsTableData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IMetricsTableData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IPmcData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IPmcData.d.ts similarity index 97% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IPmcData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IPmcData.d.ts index adc2aa5..56bf07f 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IPmcData.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/IPmcData.d.ts @@ -6,7 +6,7 @@ import { MemberCategory } from "../../enums/MemberCategory"; export interface IPmcData { _id: string; aid: string; - savage: string; + savage?: string; Info: Info; Customization: Customization; Health: Health; @@ -28,13 +28,6 @@ export interface IPmcData { CarExtractCounts: CarExtractCounts; SurvivorClass: SurvivorClass; } -export declare enum SurvivorClass { - Unknown = 0, - Neutralizer = 1, - Marauder = 2, - Paramedic = 3, - Survivor = 4 -} export interface Info { EntryPoint: string; Nickname: string; @@ -56,6 +49,9 @@ export interface Info { Bans: IBan[]; BannedState: boolean; BannedUntil: number; + NeedWipeOptions: any[]; + lastCompletedWipe: LastCompleted; + lastCompletedEvent?: LastCompleted; } export interface Settings { Role: string; @@ -339,3 +335,13 @@ export interface RagfairInfo { } export interface CarExtractCounts { } +export declare enum SurvivorClass { + Unknown = 0, + Neutralizer = 1, + Marauder = 2, + Paramedic = 3, + Survivor = 4 +} +export interface LastCompleted { + $oid: string; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/request/IBaseInteractionRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/request/IBaseInteractionRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/request/IBaseInteractionRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/request/IBaseInteractionRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotCore.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotCore.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotCore.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotCore.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotType.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotType.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotType.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IBotType.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ICustomizationItem.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ICustomizationItem.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ICustomizationItem.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ICustomizationItem.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IHandbookBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IHandbookBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IHandbookBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IHandbookBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IItem.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IItem.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IItem.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IItem.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILocationsBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILocationsBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILocationsBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILocationsBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILootBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILootBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILootBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ILootBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IMatch.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IMatch.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IMatch.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IMatch.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IProfileTemplate.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IProfileTemplate.d.ts new file mode 100644 index 0000000..fbcd81a --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -0,0 +1,25 @@ +import { Dialogue, WeaponBuild } from "../../profile/IAkiProfile"; +import { IPmcData } from "../IPmcData"; +export interface IProfileTemplates { + Standard: IProfileSides; + "Left Behind": IProfileSides; + "Prepare To Escape": IProfileSides; + "Edge Of Darkness": IProfileSides; +} +export interface IProfileSides { + usec: TemplateSide; + bear: TemplateSide; +} +export interface TemplateSide { + character: IPmcData; + suits: string[]; + dialogues: Record; + weaponbuilds: WeaponBuild[]; + trader: ProfileTraderTemplate; +} +export interface ProfileTraderTemplate { + initialLoyaltyLevel: number; + initialStanding: number; + initialSalesSum: number; + jaegerUnlocked: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IQuest.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IQuest.d.ts similarity index 94% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IQuest.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IQuest.d.ts index e1fc888..a349a6d 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IQuest.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IQuest.d.ts @@ -1,3 +1,4 @@ +import { QuestRewardType } from "../../../enums/QuestRewardType"; import { Item } from "./IItem"; export interface IQuest { QuestName: string; @@ -23,6 +24,7 @@ export interface IQuest { status: string; KeyQuest: boolean; changeQuestMessageText: string; + side: string; } export interface Conditions { Started: AvailableForConditions[]; @@ -56,6 +58,7 @@ export interface AvailableForProps { plantTime?: number; zoneId?: string; type?: boolean; + countInRaid?: boolean; } export interface AvailableForCounter { id: string; @@ -97,9 +100,9 @@ export interface Rewards { Expired: Reward[]; } export interface Reward { - value?: string; + value?: string | number; id: string; - type: string; + type: QuestRewardType; index: number; target?: string; items?: Item[]; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IRepeatableQuests.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IRepeatableQuests.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IRepeatableQuests.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/IRepeatableQuests.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITemplateItem.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITemplateItem.d.ts similarity index 98% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITemplateItem.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITemplateItem.d.ts index 934ea7d..23a1a14 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITemplateItem.d.ts @@ -50,6 +50,7 @@ export interface Props { UnlootableFromSide?: string[]; AnimationVariantsNumber?: number; DiscardingBlock?: boolean; + DropSoundType?: string; RagFairCommissionModifier?: number; IsAlwaysAvailableForInsurance?: boolean; DiscardLimit?: number; @@ -89,7 +90,7 @@ export interface Props { SightModesCount?: number; OpticCalibrationDistances?: number[]; ScopesCount?: number; - AimSensitivity: any; + AimSensitivity?: number | number[][]; Zooms?: number[][]; CalibrationDistances?: number[][]; Intensity?: number; @@ -200,6 +201,9 @@ export interface Props { MinRepairDegradation?: number; MaxRepairDegradation?: number; IronSightRange?: number; + IsFlareGun?: boolean; + IsGrenadeLauncher?: boolean; + IsOneoff?: boolean; MustBoltBeOpennedForExternalReload?: boolean; MustBoltBeOpennedForInternalReload?: boolean; BoltAction?: boolean; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITrader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITrader.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITrader.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/common/tables/ITrader.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IBuyClothingRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IBuyClothingRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IBuyClothingRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IBuyClothingRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IWearClothingRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IWearClothingRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IWearClothingRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/customization/IWearClothingRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IFriendRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IFriendRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IFriendRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IFriendRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetChatServerListRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetChatServerListRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetChatServerListRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetChatServerListRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetFriendListDataResponse.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetFriendListDataResponse.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetFriendListDataResponse.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IPinDialogRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IPinDialogRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IPinDialogRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IPinDialogRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IRemoveDialogRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IRemoveDialogRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IRemoveDialogRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/IRemoveDialogRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISendMessageRequest.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISendMessageRequest.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISendMessageRequest.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISendMessageRequest.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISetDialogReadRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISetDialogReadRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISetDialogReadRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/dialog/ISetDialogReadRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameConfigResponse.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameConfigResponse.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameConfigResponse.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameConfigResponse.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameEmptyCrcRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameEmptyCrcRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameEmptyCrcRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IGameEmptyCrcRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IReportNicknameRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IReportNicknameRequestData.d.ts new file mode 100644 index 0000000..087c58b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IReportNicknameRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IReportNicknameRequestData { + uid: string; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IVersionValidateRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IVersionValidateRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IVersionValidateRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/game/IVersionValidateRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/Effect.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/Effect.d.ts new file mode 100644 index 0000000..2f0adac --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/Effect.d.ts @@ -0,0 +1,5 @@ +export declare enum Effect { + Fracture = "Fracture", + LightBleeding = "LightBleeding", + HeavyBleeding = "HeavyBleeding" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IHealthTreatmentRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IHealthTreatmentRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IHealthTreatmentRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IHealthTreatmentRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidEatRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidEatRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidEatRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidEatRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidHealRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidHealRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidHealRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/IOffraidHealRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/ISyncHealthRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/ISyncHealthRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/ISyncHealthRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/health/ISyncHealthRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutArea.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutArea.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutArea.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutArea.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutProduction.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutProduction.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutProduction.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutProduction.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSettingsBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSettingsBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSettingsBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSettingsBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/IGetBodyResponseData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/IGetBodyResponseData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/IGetBodyResponseData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/IGetBodyResponseData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/INullResponseData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/INullResponseData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/INullResponseData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/httpResponse/INullResponseData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/ISaveProgressRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/ISaveProgressRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inRaid/ISaveProgressRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts new file mode 100644 index 0000000..bf209c6 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts @@ -0,0 +1 @@ +export declare type IGetInsuranceCostResponseData = Record>; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IInsureRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IInsureRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IInsureRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/insurance/IInsureRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IAddItemRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IAddItemRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IAddItemRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IAddItemRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryAddRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryAddRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryAddRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBindRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBindRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryBindRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryExamineRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryExamineRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryExamineRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryFoldRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryFoldRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryFoldRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMergeRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMergeRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMergeRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMoveRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMoveRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryMoveRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySortRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySortRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySortRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySortRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySplitRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySplitRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySplitRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySwapRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySwapRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventorySwapRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTagRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTagRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTagRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryToggleRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryToggleRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryToggleRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTransferRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTransferRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/inventory/IInventoryTransferRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IChangeRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IChangeRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IChangeRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IChangeRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/ILoginRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/ILoginRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/ILoginRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/ILoginRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IMiniProfile.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IMiniProfile.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IMiniProfile.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IMiniProfile.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRegisterData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRegisterData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRegisterData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRegisterData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRemoveProfileData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRemoveProfileData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRemoveProfileData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/launcher/IRemoveProfileData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/location/IGetLocationRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/location/IGetLocationRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/location/IGetLocationRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/location/IGetLocationRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/ICreateGroupRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/ICreateGroupRequestData.d.ts new file mode 100644 index 0000000..7413a8a --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/ICreateGroupRequestData.d.ts @@ -0,0 +1,6 @@ +import { RaidMode } from "../../enums/RaidMode"; +export interface ICreateGroupRequestData { + location: string; + raidMode: RaidMode; + startInGroup: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IEndOfflineRaidRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IEndOfflineRaidRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IEndOfflineRaidRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IEndOfflineRaidRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IGetGroupStatusRequestData.d.ts new file mode 100644 index 0000000..55d7079 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IGetGroupStatusRequestData.d.ts @@ -0,0 +1,9 @@ +import { RaidMode } from "../../enums/RaidMode"; +export interface IGetGroupStatusRequestData { + location: string; + savage: boolean; + dt: string; + keyId: string; + raidMode: RaidMode; + startInGroup: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IGetProfileRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IGetProfileRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IGetProfileRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IGetProfileRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IJoinMatchRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IJoinMatchRequestData.d.ts new file mode 100644 index 0000000..cd34f7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IJoinMatchRequestData.d.ts @@ -0,0 +1,12 @@ +export interface IJoinMatchRequestData { + location: string; + savage: boolean; + dt: string; + servers: Server[]; + keyId: string; +} +export interface Server { + ping: number; + ip: string; + port: string; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IJoinMatchResult.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IJoinMatchResult.d.ts new file mode 100644 index 0000000..df695f4 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IJoinMatchResult.d.ts @@ -0,0 +1,11 @@ +export interface IJoinMatchResult { + profileid: string; + status: string; + sid: string; + ip: string; + port: number; + version: string; + location: string; + gamemode: string; + shortid: string; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IPutMetricsRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IPutMetricsRequestData.d.ts new file mode 100644 index 0000000..d9ed214 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IPutMetricsRequestData.d.ts @@ -0,0 +1,10 @@ +export interface IPutMetricsRequestData { + sid: string; + settings: any; + SharedSettings: any; + HardwareDescription: any; + Location: string; + Metrics: any; + ClientEvents: any; + SpikeSamples: any[]; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IStartOffineRaidRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IStartOffineRaidRequestData.d.ts similarity index 74% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IStartOffineRaidRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IStartOffineRaidRequestData.d.ts index 84bccc8..af0625e 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IStartOffineRaidRequestData.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IStartOffineRaidRequestData.d.ts @@ -1,6 +1,7 @@ +import { BotAmount } from "../../enums/BotAmount"; +import { BotDifficulty } from "../../enums/BotDifficulty"; export interface IStartOfflineRaidRequestData { locationName: string; - entryPoint: string; startTime: number; dateTime: string; gameSettings: GameSettings; @@ -17,11 +18,11 @@ export interface TimeAndWeatherSettings { export interface BotsSettings { isEnabled: boolean; isScavWars: boolean; - botAmount: string; + botAmount: BotAmount; } export interface WavesSettings { - botDifficulty: string; + botDifficulty: BotDifficulty; isBosses: boolean; isTaggedAndCursed: boolean; - wavesBotAmount: string; + wavesBotAmount: BotAmount; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IUpdatePingRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IUpdatePingRequestData.d.ts new file mode 100644 index 0000000..defbd66 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/match/IUpdatePingRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IUpdatePingRequestData { + servers: any[]; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notes/INoteActionData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notes/INoteActionData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notes/INoteActionData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notes/INoteActionData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/INotifier.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/INotifier.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/INotifier.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/INotifier.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/ISelectProfileRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/ISelectProfileRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/ISelectProfileRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/notifier/ISelectProfileRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/GetProfileStatusResponseData.d.ts new file mode 100644 index 0000000..eee9b4f --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/GetProfileStatusResponseData.d.ts @@ -0,0 +1,11 @@ +export interface GetProfileStatusResponseData { + maxPveCountExceeded: false; + profiles: ProfileData[]; +} +export interface ProfileData { + profileid: string; + status: string; + sid: string; + ip: string; + port: number; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IAkiProfile.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IAkiProfile.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IAkiProfile.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IAkiProfile.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileCreateRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileCreateRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileCreateRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IProfileCreateRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendResponse.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendResponse.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendResponse.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/ISearchFriendResponse.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IValidateNicknameRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IValidateNicknameRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IValidateNicknameRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/profile/IValidateNicknameRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IAcceptQuestRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IAcceptQuestRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IAcceptQuestRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IAcceptQuestRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/ICompleteQuestRequestData.d.ts similarity index 85% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/ICompleteQuestRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/ICompleteQuestRequestData.d.ts index cc67404..36a6db3 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/ICompleteQuestRequestData.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/ICompleteQuestRequestData.d.ts @@ -1,5 +1,6 @@ export interface ICompleteQuestRequestData { Action: string; + /** Quest Id */ qid: string; removeExcessItems: boolean; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IHandoverQuestRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IHandoverQuestRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IHandoverQuestRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IHandoverQuestRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IListQuestsRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IListQuestsRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IListQuestsRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IListQuestsRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IAddOfferRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IAddOfferRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IAddOfferRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IAddOfferRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IExtendOfferRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IExtendOfferRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IExtendOfferRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IExtendOfferRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetItemPriceResult.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetItemPriceResult.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetItemPriceResult.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetOffersResult.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetOffersResult.d.ts similarity index 80% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetOffersResult.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetOffersResult.d.ts index 1c11422..fbc631d 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,6 +1,6 @@ import { IRagfairOffer } from "./IRagfairOffer"; export interface IGetOffersResult { - categories: Record; + categories?: Record; offers: IRagfairOffer[]; offersCount: number; selectedCategory: string; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRagfairOffer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRagfairOffer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRagfairOffer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRagfairOffer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/ISearchRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/ISearchRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/ISearchRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/ISearchRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts new file mode 100644 index 0000000..2d14d20 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts @@ -0,0 +1,3 @@ +export interface ISendRagfairReportRequestData { + offerId: number; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IRepairActionDataRequest.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IRepairActionDataRequest.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IRepairActionDataRequest.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/IRepairActionDataRequest.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessSellTradeRequestData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessSellTradeRequestData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/trade/IProcessSellTradeRequestData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/weather/IWeatherData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/weather/IWeatherData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/weather/IWeatherData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/weather/IWeatherData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/wishlist/IWishlistActionData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/wishlist/IWishlistActionData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/wishlist/IWishlistActionData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/eft/wishlist/IWishlistActionData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BaseClasses.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BaseClasses.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BaseClasses.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BaseClasses.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BotAmount.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BotAmount.d.ts new file mode 100644 index 0000000..d0e1df1 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BotAmount.d.ts @@ -0,0 +1,7 @@ +export declare enum BotAmount { + AsOnline = "AsOnline", + Low = "Low", + Medium = "Medium", + High = "High", + Horde = "Horde" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BotDifficulty.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BotDifficulty.d.ts new file mode 100644 index 0000000..c901bcf --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/BotDifficulty.d.ts @@ -0,0 +1,8 @@ +export declare enum BotDifficulty { + AsOnline = "AsOnline", + Easy = "Easy", + Medium = "Medium", + Hard = "Hard", + Impossible = "Impossible", + Random = "Random" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ConfigTypes.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ConfigTypes.d.ts similarity index 94% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ConfigTypes.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ConfigTypes.d.ts index 6bd31e8..1c49e62 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ConfigTypes.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ConfigTypes.d.ts @@ -8,6 +8,7 @@ export declare enum ConfigTypes { IN_RAID = "aki-inraid", INSURANCE = "aki-insurance", INVENTORY = "aki-inventory", + LOCALE = "aki-locale", LOCATION = "aki-location", MATCH = "aki-match", QUEST = "aki-quest", diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ELocationName.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ELocationName.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ELocationName.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/ELocationName.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/EquipmentSlots.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/EquipmentSlots.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/EquipmentSlots.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/EquipmentSlots.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/HideoutAreas.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/HideoutAreas.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/HideoutAreas.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/HideoutAreas.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MemberCategory.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MemberCategory.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MemberCategory.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MemberCategory.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MessageType.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MessageType.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MessageType.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/MessageType.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Money.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Money.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Money.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Money.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/QuestRewardType.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/QuestRewardType.d.ts new file mode 100644 index 0000000..1d3db86 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/QuestRewardType.d.ts @@ -0,0 +1,8 @@ +export declare enum QuestRewardType { + Skill = "Skill", + Experience = "Experience", + TraderStanding = "TraderStanding", + TraderUnlock = "TraderUnlock", + Item = "Item", + AssortmentUnlock = "AssortmentUnlock" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/QuestStatus.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/QuestStatus.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/QuestStatus.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/QuestStatus.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/RaidMode.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/RaidMode.d.ts new file mode 100644 index 0000000..c5a8cff --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/RaidMode.d.ts @@ -0,0 +1,5 @@ +export declare enum RaidMode { + Online = "Online", + Local = "Local", + Coop = "Coop" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Traders.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Traders.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Traders.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/enums/Traders.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPostAkiLoadMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPostAkiLoadMod.d.ts new file mode 100644 index 0000000..f6950e8 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPostAkiLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPostAkiLoadMod { + postAkiLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPostDBLoadMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPostDBLoadMod.d.ts new file mode 100644 index 0000000..ca7c682 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPostDBLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPostDBLoadMod { + postDBLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPreAkiLoadMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPreAkiLoadMod.d.ts new file mode 100644 index 0000000..ae7579e --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/IPreAkiLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPreAkiLoadMod { + preAkiLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/mod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/mod.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/mod.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/mod.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/tsyringe.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/tsyringe.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/tsyringe.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/external/tsyringe.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/bindings/Route.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/bindings/Route.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/bindings/Route.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/bindings/Route.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/bots/BotLootCache.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/bots/BotLootCache.d.ts new file mode 100644 index 0000000..e185315 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/bots/BotLootCache.d.ts @@ -0,0 +1,23 @@ +import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; +export declare class BotLootCache { + backpackLoot: ITemplateItem[]; + pocketLoot: ITemplateItem[]; + vestLoot: ITemplateItem[]; + combinedPoolLoot: ITemplateItem[]; + specialItems: ITemplateItem[]; + healingItems: ITemplateItem[]; + drugItems: ITemplateItem[]; + stimItems: ITemplateItem[]; + grenadeItems: ITemplateItem[]; +} +export declare enum LootCacheType { + Special = "Special", + Backpack = "Backpack", + Pocket = "Pocket", + Vest = "Vest", + Combined = "Combined", + HealingItems = "HealingItems", + DrugItems = "DrugItems", + StimItems = "StimItems", + GrenadeItems = "GrenadeItems" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBotCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBotCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBotCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBotCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBundleCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBundleCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBundleCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IBundleCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ICustomizationCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ICustomizationCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ICustomizationCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDataCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDataCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDataCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDataCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDialogueCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDialogueCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IDialogueCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IGameCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IGameCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IGameCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IGameCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHandbookCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHandbookCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHandbookCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHandbookCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHealthCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHealthCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHealthCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHealthCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHideoutCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHideoutCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHideoutCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHttpCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHttpCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHttpCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IHttpCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInraidCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInraidCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInraidCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInraidCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInsuranceCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInsuranceCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInsuranceCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInventoryCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInventoryCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IInventoryCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IItemEventCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IItemEventCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IItemEventCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILauncherCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILauncherCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILauncherCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILocationCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILocationCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILocationCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ILocationCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IMatchCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IMatchCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IMatchCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IMatchCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IModCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IModCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IModCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IModCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INoteCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INoteCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INoteCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INoteCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INotifierCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INotifierCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INotifierCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/INotifierCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IPresetCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IProfileCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IProfileCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IProfileCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IProfileCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IQuestCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IQuestCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IQuestCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IQuestCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRagfairCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRagfairCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRagfairCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRepairCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRepairCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRepairCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IRepairCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ISaveCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ISaveCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ISaveCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ISaveCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITradeCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITradeCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITradeCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITradeCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITraderCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITraderCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITraderCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/ITraderCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWeatherCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWeatherCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWeatherCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWishlistCallbacks.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWishlistCallbacks.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/callbacks/IWishlistCallbacks.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IAirdropConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IAirdropConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IAirdropConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IAirdropConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBaseConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBaseConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBaseConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBaseConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBotConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBotConfig.d.ts similarity index 97% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBotConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBotConfig.d.ts index 5fb9d93..f8cf39b 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBotConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IBotConfig.d.ts @@ -18,6 +18,7 @@ export interface PresetBatch { bossKojaniy: number; bossSanitar: number; bossTagilla: number; + bossKnight: number; bossTest: number; cursedAssault: number; followerBully: number; @@ -28,6 +29,8 @@ export interface PresetBatch { followerKojaniy: number; followerSanitar: number; followerTagilla: number; + followerBirdEye: number; + followerBigPipe: number; followerTest: number; marksman: number; pmcBot: number; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ICoreConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ICoreConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ICoreConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ICoreConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHealthConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHealthConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHealthConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHealthConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHideoutConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHideoutConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHideoutConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHideoutConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHttpConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHttpConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHttpConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IHttpConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInRaidConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInRaidConfig.d.ts similarity index 95% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInRaidConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInRaidConfig.d.ts index baaf083..3ae2972 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInRaidConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInRaidConfig.d.ts @@ -14,6 +14,7 @@ export interface RaidMenuSettings { bossEnabled: boolean; scavWars: boolean; taggedAndCursed: boolean; + enablePve: boolean; } export interface Save { loot: boolean; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInsuranceConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInsuranceConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInsuranceConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInsuranceConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInventoryConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInventoryConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInventoryConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IInventoryConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ILocaleConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ILocaleConfig.d.ts new file mode 100644 index 0000000..fe9abf7 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ILocaleConfig.d.ts @@ -0,0 +1,5 @@ +import { IBaseConfig } from "./IBaseConfig"; +export interface ILocaleConfig extends IBaseConfig { + kind: "aki-locale"; + desiredLocale: string; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ILocationConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ILocationConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ILocationConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ILocationConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IMatchConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IMatchConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IMatchConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IMatchConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IQuestConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IQuestConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IQuestConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IQuestConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRagfairConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRagfairConfig.d.ts similarity index 98% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRagfairConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRagfairConfig.d.ts index 2d151ca..8518252 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRagfairConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRagfairConfig.d.ts @@ -30,6 +30,7 @@ export interface Dynamic { expiredOfferThreshold: number; offerItemCount: MinMax; price: MinMax; + presetPrice: MinMax; endTimeSeconds: MinMax; condition: Condition; stackablePercent: MinMax; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRepairConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRepairConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRepairConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IRepairConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ITraderConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ITraderConfig.d.ts similarity index 59% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ITraderConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ITraderConfig.d.ts index dab73e3..c8e8044 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ITraderConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/ITraderConfig.d.ts @@ -3,13 +3,17 @@ export interface ITraderConfig extends IBaseConfig { kind: "aki-trader"; updateTime: UpdateTime[]; updateTimeDefault: number; - fenceAssortSize: number; - fenceMaxPresetsCount: number; - fencePresetPriceMult: number; + traderPriceMultipler: number; minDurabilityForSale: number; - fenceItemIgnoreList: string[]; + fence: FenceConfig; } export interface UpdateTime { traderId: string; seconds: number; } +export interface FenceConfig { + assortSize: number; + maxPresetsCount: number; + presetPriceMult: number; + blacklist: string[]; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IWeatherConfig.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IWeatherConfig.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IWeatherConfig.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/config/IWeatherConfig.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/controllers/IBotController.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/controllers/IBotController.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/controllers/IBotController.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/controllers/IBotController.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IBotGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IBotGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IBotGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IBotGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/ILocationGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/ILocationGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/ILocationGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/ILocationGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IPMCLootGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IPMCLootGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IPMCLootGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IPMCLootGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairAssortGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairAssortGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairAssortGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairOfferGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairOfferGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/generators/IRagfairOfferGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/LogBackgroundColor.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/LogBackgroundColor.d.ts new file mode 100644 index 0000000..87e08a9 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/LogBackgroundColor.d.ts @@ -0,0 +1,11 @@ +export declare enum LogBackgroundColor { + default = "", + black = "blackBG", + red = "redBG", + green = "greenBG", + yellow = "yellowBG", + blue = "blueBG", + magenta = "magentaBG", + cyan = "cyanBG", + white = "whiteBG" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/LogTextColor.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/LogTextColor.d.ts new file mode 100644 index 0000000..7147ae3 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/LogTextColor.d.ts @@ -0,0 +1,11 @@ +export declare enum LogTextColor { + black = "black", + red = "red", + green = "green", + yellow = "yellow", + blue = "blue", + magenta = "magenta", + cyan = "cyan", + white = "white", + gray = "" +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/SptLogger.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/SptLogger.d.ts new file mode 100644 index 0000000..ea1b3d8 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/logging/SptLogger.d.ts @@ -0,0 +1,7 @@ +export interface SptLogger { + error: (msg: string | Record) => void; + warn: (msg: string | Record) => void; + succ?: (msg: string | Record) => void; + info: (msg: string | Record) => void; + debug: (msg: string | Record) => void; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IMod.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IMod.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IMod.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IModLoader.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IModLoader.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IModLoader.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IModLoader.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IPackageJsonData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IPackageJsonData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IPackageJsonData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/mod/IPackageJsonData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/ragfair/IRagfairServerPrices.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/ragfair/IRagfairServerPrices.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/ragfair/IRagfairServerPrices.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/ragfair/IRagfairServerPrices.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IDatabaseTables.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IDatabaseTables.d.ts similarity index 81% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IDatabaseTables.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IDatabaseTables.d.ts index e0d3fdd..9978459 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IDatabaseTables.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IDatabaseTables.d.ts @@ -6,6 +6,7 @@ import { ICustomizationItem } from "../../eft/common/tables/ICustomizationItem"; import { IHandbookBase } from "../../eft/common/tables/IHandbookBase"; import { ILootBase } from "../../eft/common/tables/ILootBase"; import { IMatch } from "../../eft/common/tables/IMatch"; +import { IProfileTemplates } from "../../eft/common/tables/IProfileTemplate"; import { IQuest } from "../../eft/common/tables/IQuest"; import { IRepeatableQuestDatabase } from "../../eft/common/tables/IRepeatableQuests"; import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; @@ -39,10 +40,13 @@ export interface IDatabaseTables { items: Record; quests: IQuest[]; repeatableQuests: IRepeatableQuestDatabase; + /** DEPRECATED - Items file found in the client, massivly out of date compared to templates.items, try not to use this, remove ASAP*/ clientItems: Record; handbook: IHandbookBase; customization: Record; - profiles: any; + /** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */ + profiles: IProfileTemplates; + /** Flea prices of items - gathered from online flea market dump */ prices: Record; }; traders?: Record; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IHttpServer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IHttpServer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IHttpServer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IHttpServer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocaleBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocaleBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocaleBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocaleBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocations.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocations.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocations.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ILocations.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IServerBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IServerBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IServerBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/IServerBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ISettingsBase.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ISettingsBase.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ISettingsBase.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/server/ISettingsBase.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomPreset.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomPreset.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomPreset.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomPreset.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomTraderAssortData.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomTraderAssortData.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomTraderAssortData.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/services/CustomTraderAssortData.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IAsyncQueue.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IAsyncQueue.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IAsyncQueue.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IAsyncQueue.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ICommand.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ICommand.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ICommand.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ICommand.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ILogger.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ILogger.d.ts similarity index 59% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ILogger.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ILogger.d.ts index c983701..2af3fac 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ILogger.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/ILogger.d.ts @@ -1,7 +1,10 @@ import { Daum } from "../../eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "../logging/LogBackgroundColor"; +import { LogTextColor } from "../logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; - log(data: string | Record | Error, color: string): void; + log(data: string | Record | Error, color: string, backgroundColor?: string): void; + logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): void; error(data: string): void; warning(data: string): void; success(data: string): void; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IUuidGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IUuidGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IUuidGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/models/spt/utils/IUuidGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/HttpRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/HttpRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/HttpRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/HttpRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ImageRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ImageRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ImageRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ImageRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/ItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BotDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BotDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BotDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BotDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BundleDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BundleDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BundleDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/BundleDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/CustomizationDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/CustomizationDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/CustomizationDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/DataDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/DataDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/DataDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/DataDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/HttpDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/HttpDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/HttpDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/HttpDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/InraidDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/InraidDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/InraidDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/InraidDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/LocationDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/LocationDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/LocationDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/LocationDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/NotifierDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/NotifierDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/NotifierDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/NotifierDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/TraderDynamicRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/TraderDynamicRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/TraderDynamicRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/dynamic/TraderDynamicRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/CustomizationItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/CustomizationItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/CustomizationItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/CustomizationItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HealthItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HealthItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HealthItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HealthItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HideoutItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HideoutItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HideoutItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/HideoutItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InsuranceItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InsuranceItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InsuranceItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InsuranceItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InventoryItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InventoryItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InventoryItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/InventoryItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/NoteItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/NoteItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/NoteItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/NoteItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/PresetBuildItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/PresetBuildItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/PresetBuildItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/PresetBuildItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/QuestItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/QuestItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/QuestItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/QuestItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RagfairItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RagfairItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RagfairItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RagfairItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RepairItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RepairItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RepairItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/RepairItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/TradeItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/TradeItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/TradeItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/TradeItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/WishlistItemEventRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/WishlistItemEventRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/WishlistItemEventRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/item_events/WishlistItemEventRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/HealthSaveLoadRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/HealthSaveLoadRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/HealthSaveLoadRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/HealthSaveLoadRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InraidSaveLoadRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InraidSaveLoadRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InraidSaveLoadRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InraidSaveLoadRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InsuranceSaveLoadRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InsuranceSaveLoadRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/InsuranceSaveLoadRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/ProfileSaveLoadRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/ProfileSaveLoadRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/save_load/ProfileSaveLoadRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/BundleSerializer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/BundleSerializer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/BundleSerializer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/BundleSerializer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/ImageSerializer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/ImageSerializer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/ImageSerializer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/ImageSerializer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/NotifySerializer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/NotifySerializer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/NotifySerializer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/serializers/NotifySerializer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BotStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BotStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BotStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BotStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BundleStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BundleStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BundleStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/BundleStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/CustomizationStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/CustomizationStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/CustomizationStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/CustomizationStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DataStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DataStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DataStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DataStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DialogStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DialogStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DialogStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/DialogStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/GameStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/GameStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/GameStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/GameStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/HealthStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/HealthStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/HealthStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/HealthStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InraidStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InraidStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InraidStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InraidStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InsuranceStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InsuranceStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InsuranceStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/InsuranceStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ItemEventStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ItemEventStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ItemEventStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ItemEventStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LauncherStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LauncherStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LauncherStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LauncherStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LocationStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LocationStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LocationStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/LocationStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/MatchStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/MatchStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/MatchStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/MatchStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/NotifierStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/NotifierStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/NotifierStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/NotifierStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/PresetStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/PresetStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/PresetStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/PresetStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ProfileStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ProfileStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ProfileStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/ProfileStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/QuestStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/QuestStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/QuestStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/QuestStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/RagfairStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/RagfairStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/RagfairStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/RagfairStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/TraderStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/TraderStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/TraderStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/TraderStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/WeatherStaticRouter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/WeatherStaticRouter.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/WeatherStaticRouter.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/routers/static/WeatherStaticRouter.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/ConfigServer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/ConfigServer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/ConfigServer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/ConfigServer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/DatabaseServer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/DatabaseServer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/DatabaseServer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/DatabaseServer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/HttpServer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/HttpServer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/HttpServer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/HttpServer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/RagfairServer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/RagfairServer.d.ts similarity index 92% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/RagfairServer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/RagfairServer.d.ts index 60c92b5..bc86cdb 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/RagfairServer.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/RagfairServer.d.ts @@ -17,7 +17,8 @@ export declare class RagfairServer { constructor(logger: ILogger, ragfairOfferGenerator: RagfairOfferGenerator, ragfairOfferService: RagfairOfferService, ragfairCategoriesService: RagfairCategoriesService, ragfairRequiredItemsService: RagfairRequiredItemsService, configServer: ConfigServer); load(): void; update(): void; - getCategories(): Record; + getAllCategories(): Record; + getBespokeCategories(offers: IRagfairOffer[]): Record; /** * Disable/Hide an offer from flea * @param offerId diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/SaveServer.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/SaveServer.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/servers/SaveServer.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/servers/SaveServer.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/BotLootCacheService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/BotLootCacheService.d.ts new file mode 100644 index 0000000..72eb332 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/BotLootCacheService.d.ts @@ -0,0 +1,59 @@ +import { PMCLootGenerator } from "../generators/PMCLootGenerator"; +import { Items } from "../models/eft/common/tables/IBotType"; +import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; +import { BotLootCache, LootCacheType } from "../models/spt/bots/BotLootCache"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { JsonUtil } from "../utils/JsonUtil"; +import { RagfairPriceService } from "./RagfairPriceService"; +export declare class BotLootCacheService { + protected logger: ILogger; + protected jsonUtil: JsonUtil; + protected databaseServer: DatabaseServer; + protected pmcLootGenerator: PMCLootGenerator; + protected ragfairPriceService: RagfairPriceService; + protected lootCache: Record; + constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, ragfairPriceService: RagfairPriceService); + /** + * Remove all cached bot loot data + */ + clearCache(): void; + /** + * Get the fully created loot array, ordered by price low to high + * @param botRole bot to get loot for + * @param isPmc is the bot a pmc + * @param lootType what type of loot is needed + * @param lootPool the full pool of loot (needed when cache is empty) + * @returns ITemplateItem array + */ + getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): ITemplateItem[]; + /** + * Generate loot for a bot and store inside a private class property + * @param botRole + * @param lootType + * @param lootPool the full pool of loot we use to create the various sub-categories with + * @param isPmc + */ + protected addLootToCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): void; + /** + * Check if a bot type exists inside the loot cache + * @param botRole role to check for + * @returns true if they exist + */ + protected botRoleExistsInCache(botRole: string): boolean; + /** + * If lootcache is null, init with empty property arrays + * @param botRole Bot role to hydrate + */ + protected initCacheForBotRole(botRole: string): void; + /** + * Compares two item prices by their flea (or handbook if that doesnt exist) price + * -1 when a < b + * 0 when a === b + * 1 when a > b + * @param itemAPrice + * @param itemBPrice + * @returns + */ + protected compareByValue(itemAPrice: number, itemBPrice: number): number; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomHandbookItemService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomHandbookItemService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomHandbookItemService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomHandbookItemService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomItemService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomItemService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomItemService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomItemService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomTraderAssortService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomTraderAssortService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomTraderAssortService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/CustomTraderAssortService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/FenceService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/FenceService.d.ts similarity index 95% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/FenceService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/FenceService.d.ts index 12723fb..79058c6 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/FenceService.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/FenceService.d.ts @@ -29,8 +29,8 @@ export declare class FenceService { hasExpiredCache(refreshAssort: boolean): boolean; generateFenceAssortCache(pmcData: IPmcData): void; /** - * - * @param pmcData Get the fence level the passed in profile has + * Get the fence level the passed in profile has + * @param pmcData Player profile * @returns FenceLevel */ getFenceInfo(pmcData: IPmcData): FenceLevel; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/HashCacheService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/HashCacheService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/HashCacheService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/HashCacheService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/InsuranceService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/InsuranceService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/InsuranceService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/InsuranceService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/LocaleService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/LocaleService.d.ts new file mode 100644 index 0000000..33bea7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/LocaleService.d.ts @@ -0,0 +1,14 @@ +import { ILocaleConfig } from "../models/spt/config/ILocaleConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; +export declare class LocaleService { + protected logger: ILogger; + protected configServer: ConfigServer; + protected localeConfig: ILocaleConfig; + constructor(logger: ILogger, configServer: ConfigServer); + /** + * Gets the locale key from the locale.json file + * @returns locale e.g en/ge/cz/cn + */ + getDesiredLocale(): string; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/MatchLocationService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/MatchLocationService.d.ts similarity index 58% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/MatchLocationService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/MatchLocationService.d.ts index 2b5fc0e..c027bec 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/MatchLocationService.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/MatchLocationService.d.ts @@ -1,8 +1,9 @@ +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { TimeUtil } from "../utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected locations: {}; constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: any): any; + createGroup(sessionID: string, info: ICreateGroupRequestData): any; deleteGroup(info: any): void; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/ModCompilerService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/ModCompilerService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/ModCompilerService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/ModCompilerService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/NotificationService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/NotificationService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/NotificationService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/NotificationService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/PaymentService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/PaymentService.d.ts similarity index 79% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/PaymentService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/PaymentService.d.ts index 5834750..a5e538f 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/PaymentService.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/PaymentService.d.ts @@ -45,5 +45,22 @@ export declare class PaymentService { * ancestor with slotId=hideout */ protected isItemInStash(pmcData: IPmcData, item: Item): boolean; + /** + * Remove currency from player stash/inventory + * @param pmcData Player profile to find and remove currency from + * @param currencyTpl Type of currency to pay + * @param amountToPay money value to pay + * @param sessionID Sessino id + * @param output output object to send to client + * @returns IItemEventRouterResponse + */ addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + /** + * Prioritise player stash first over player inventory + * Post-raid healing would often take money out of the players pockets/secure container + * @param a Firsat money stack item + * @param b Second money stack item + * @returns sorted item + */ + protected moneySort(a: Item, b: Item): number; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/PlayerService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/PlayerService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/PlayerService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/PlayerService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/ProfileFixerService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/ProfileFixerService.d.ts new file mode 100644 index 0000000..313a907 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/ProfileFixerService.d.ts @@ -0,0 +1,40 @@ +import { IPmcData } from "../models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; +import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { Watermark } from "../utils/Watermark"; +export declare class ProfileFixerService { + protected logger: ILogger; + protected watermark: Watermark; + protected databaseServer: DatabaseServer; + constructor(logger: ILogger, watermark: Watermark, databaseServer: DatabaseServer); + /** + * Find issues in the pmc profile data that may cause issues and fix them + * @param pmcProfile profile to check and fix + */ + checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void; + /** + * Add tag to profile to indicate when it was made + * @param fullProfile + */ + addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + /** + * TODO - make this non-public - currently used by RepeatableQuestController + * Remove unused condition counters + * @param pmcProfile profile to remove old counters from + */ + removeDanglingConditionCounters(pmcProfile: IPmcData): void; + protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; + protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; + protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; + protected addMissingBonusesProperty(pmcProfile: IPmcData): void; + protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; + protected addMissingWorkbenchWeaponSkills(pmcProfile: IPmcData): void; + /** + * In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots + * @param pmcProfile + */ + protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void; + addMissingArmorRepairSkill(pmcProfile: IPmcData): void; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairCategoriesService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairCategoriesService.d.ts new file mode 100644 index 0000000..83910e5 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairCategoriesService.d.ts @@ -0,0 +1,40 @@ +import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "../models/spt/utils/ILogger"; +export declare class RagfairCategoriesService { + protected logger: ILogger; + protected categories: Record; + constructor(logger: ILogger); + /** + * Get all flea categories and their count of offers + * @returns item categories and count + */ + getAllCategories(): Record; + /** + * With the supplied items, get custom categories + * @returns a custom list of categories + */ + getBespokeCategories(offers: IRagfairOffer[]): Record; + /** + * Take an array of ragfair offers and create a dictionary of items with thier corrisponding offer count + * @param offers ragfair offers + * @returns categories and count + */ + protected processOffersIntoCategories(offers: IRagfairOffer[]): Record; + /** + * Increment or decrement a category array + * @param offer offer to process + * @param categories categories to update + * @param increment should item be incremented or decremented + */ + protected addOrIncrementCategory(offer: IRagfairOffer, categories: Record, increment?: boolean): void; + /** + * Increase category count by 1 + * @param offer + */ + incrementCategory(offer: IRagfairOffer): void; + /** + * Reduce category count by 1 + * @param offer + */ + decrementCategory(offer: IRagfairOffer): void; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairLinkedItemService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairLinkedItemService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairLinkedItemService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairLinkedItemService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairOfferService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairOfferService.d.ts similarity index 86% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairOfferService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairOfferService.d.ts index 7afbf8c..7398a8f 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairOfferService.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairOfferService.d.ts @@ -11,12 +11,14 @@ import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; import { HttpResponseUtil } from "../utils/HttpResponseUtil"; import { TimeUtil } from "../utils/TimeUtil"; +import { RagfairCategoriesService } from "./RagfairCategoriesService"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; protected databaseServer: DatabaseServer; protected saveServer: SaveServer; protected ragfairServerHelper: RagfairServerHelper; + protected ragfairCategoriesService: RagfairCategoriesService; protected profileHelper: ProfileHelper; protected itemEventRouter: ItemEventRouter; protected httpResponse: HttpResponseUtil; @@ -26,12 +28,16 @@ export declare class RagfairOfferService { protected expiredOffers: Item[]; protected offers: IRagfairOffer[]; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, ragfairCategoriesService: RagfairCategoriesService, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); + /** + * Get all offers + * @returns IRagfairOffer array + */ getOffers(): IRagfairOffer[]; getOfferByOfferId(offerId: string): IRagfairOffer; getOffersOfType(templateId: string): IRagfairOffer[]; addOffer(offer: IRagfairOffer): void; - addOfferToExpired(offer: Item): void; + addOfferToExpired(staleOffer: IRagfairOffer): void; setTraderUpdateStatus(traderId: string, shouldUpdate: boolean): void; shouldTraderBeUpdated(traderID: string): boolean; getExpiredOfferCount(): number; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairPriceService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairPriceService.d.ts similarity index 64% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairPriceService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairPriceService.d.ts index 5256b99..e33bbb9 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairPriceService.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairPriceService.d.ts @@ -1,6 +1,7 @@ import { HandbookHelper } from "../helpers/HandbookHelper"; import { ItemHelper } from "../helpers/ItemHelper"; import { PresetHelper } from "../helpers/PresetHelper"; +import { Preset } from "../models/eft/common/IGlobals"; import { Item } from "../models/eft/common/tables/IItem"; import { IBarterScheme } from "../models/eft/common/tables/ITrader"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; @@ -28,5 +29,26 @@ export declare class RagfairPriceService { getFleaPriceForItem(tplId: string): number; getBarterPrice(barterScheme: IBarterScheme[]): number; getDynamicOfferPrice(items: Item[], desiredCurrency: string): number; + /** + * Multiply the price by a randomised curve where n = 2, shift = 2 + * @param existingPrice price to alter + * @param isPreset is the item we're multiplying a preset + * @returns multiplied price + */ + protected randomisePrice(existingPrice: number, isPreset: boolean): number; + /** + * Calculate the cost of a weapon preset by adding together the price of its mods + base price of default weapon preset + * @param item base weapon + * @param items weapon plus mods + * @param existingPrice price of existing base weapon + * @returns + */ getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; + /** + * Attempt to get the default preset for a weapon, failing that get the first preset in the array + * (assumes default = has encyclopedia entry) + * @param presets weapon presets to choose from + * @returns Default preset object + */ + protected getDefaultWeaponPreset(presets: Preset[], weapon: Item): Preset; } diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairRequiredItemsService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairRequiredItemsService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairRequiredItemsService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/RagfairRequiredItemsService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/TraderAssortService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/TraderAssortService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/TraderAssortService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/TraderAssortService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/customPresetService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/customPresetService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/customPresetService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/customPresetService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/image/imageRouteService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/image/imageRouteService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/image/imageRouteService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/image/imageRouteService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadMod.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadMod.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadMod.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadModService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadModService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadModService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onLoad/OnLoadModService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateMod.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateMod.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateMod.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateModService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateModService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateModService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/onUpdate/OnUpdateModService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterMod.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterMod.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterMod.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterMod.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterModService.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterModService.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterModService.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/services/mod/staticRouter/StaticRouterModService.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/App.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/App.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/App.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/App.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/AyncQueue.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/AyncQueue.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/AyncQueue.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/AyncQueue.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/DatabaseImporter.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/DatabaseImporter.d.ts new file mode 100644 index 0000000..483e135 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/DatabaseImporter.d.ts @@ -0,0 +1,24 @@ +import { OnLoad } from "../di/OnLoad"; +import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ImageRouter } from "../routers/ImageRouter"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { JsonUtil } from "./JsonUtil"; +import { VFS } from "./VFS"; +export declare class DatabaseImporter extends OnLoad { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected databaseServer: DatabaseServer; + protected imageRouter: ImageRouter; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, imageRouter: ImageRouter); + onLoad(): void; + /** + * Read all json files in database folder and map into a json object + * @param filepath path to database folder + */ + protected hydrateDatabase(filepath: string): void; + getRoute(): string; + loadRecursive(filepath: string): IDatabaseTables; + loadImages(filepath: string): void; +} diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HashUtil.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HashUtil.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HashUtil.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HashUtil.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HttpResponseUtil.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HttpResponseUtil.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HttpResponseUtil.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/HttpResponseUtil.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/JsonUtil.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/JsonUtil.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/JsonUtil.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/JsonUtil.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Logger.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Logger.d.ts similarity index 67% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Logger.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Logger.d.ts index f5b774b..3d9013f 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Logger.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Logger.d.ts @@ -1,17 +1,13 @@ /// -import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { ILogger } from "../models/spt/utils/ILogger"; -import winston from "winston"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; import fs from "fs"; -interface SptLogger { - error: (msg: string | Record) => void; - warn: (msg: string | Record) => void; - succ?: (msg: string | Record) => void; - info: (msg: string | Record) => void; - debug: (msg: string | Record) => void; -} +import winston from "winston"; +import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "../models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "../models/spt/logging/LogTextColor"; +import { SptLogger } from "../models/spt/logging/SptLogger"; +import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; export declare class WinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected uuidGenerator: IUUidGenerator; @@ -36,16 +32,27 @@ export declare class WinstonLogger implements ILogger { custom: string; debug: string; }; + bgColors: { + default: string; + blackBG: string; + redBG: string; + greenBG: string; + yellowBG: string; + blueBG: string; + magentaBG: string; + cyanBG: string; + whiteBG: string; + }; }; protected logger: winston.Logger & SptLogger; - writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; + protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); writeToLogFile(data: string | Daum): Promise; - log(data: string | Error | Record, color: string): Promise; + log(data: string | Error | Record, color: string, backgroundColor?: string): Promise; error(data: string | Record): Promise; warning(data: string | Record): Promise; success(data: string | Record): Promise; info(data: string | Record): Promise; + logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): Promise; debug(data: string | Record, onlyShowInConsole?: boolean): Promise; } -export {}; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/MathUtil.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/MathUtil.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/MathUtil.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/MathUtil.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/ObjectId.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/ObjectId.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/ObjectId.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/ObjectId.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/RandomUtil.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/RandomUtil.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/RandomUtil.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/RandomUtil.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/TimeUtil.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/TimeUtil.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/TimeUtil.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/TimeUtil.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/UUidGenerator.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/UUidGenerator.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/UUidGenerator.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/UUidGenerator.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/VFS.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/VFS.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/VFS.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/VFS.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Watermark.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Watermark.d.ts similarity index 83% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Watermark.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Watermark.d.ts index 111bdd0..c6dc120 100644 --- a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Watermark.d.ts +++ b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/Watermark.d.ts @@ -28,7 +28,12 @@ export declare class Watermark { protected text: string[]; protected versionLabel: string; initialize(): void; - getVersionTag(): string; + /** + * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) + * @param withEftVersion Include the eft version this spt version was made for + * @returns string + */ + getVersionTag(withEftVersion?: boolean): string; getVersionLabel(): string; /** Set window title */ setTitle(): void; diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/Singleton.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/Singleton.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/Singleton.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/Singleton.d.ts diff --git a/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/constructor.d.ts b/KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/constructor.d.ts similarity index 100% rename from KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.5/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/constructor.d.ts rename to KcY-SeeItemValue/itemValue/Built/KcY-SeeItemValue 1.3.6/user/mods/KcY-SeeItemValue 1.3.5/types/utils/decorators/constructor.d.ts diff --git a/KcY-SeeItemValue/itemValue/Patches.cs b/KcY-SeeItemValue/itemValue/Patches.cs index cb5e18d..b6f3e25 100644 --- a/KcY-SeeItemValue/itemValue/Patches.cs +++ b/KcY-SeeItemValue/itemValue/Patches.cs @@ -3,10 +3,10 @@ using System.Reflection; using Aki.Reflection.Patching; using EFT.InventoryLogic; using Ammo = BulletClass; -using Grenade = GClass2089; -using GrenadeTemplate = GClass1983; -using SecureContainer = GClass2035; -using SecureContainerTemplate = GClass1944; +using Grenade = GClass2174; +using GrenadeTemplate = GClass2067; +using SecureContainer = GClass2120; +using SecureContainerTemplate = GClass2028; namespace itemValueMod { diff --git a/KcY-SeeItemValue/itemValue/itemValueMod.cs b/KcY-SeeItemValue/itemValue/itemValueMod.cs index 168af3a..4ad6ec8 100644 --- a/KcY-SeeItemValue/itemValue/itemValueMod.cs +++ b/KcY-SeeItemValue/itemValue/itemValueMod.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using UnityEngine; using System.Reflection; -using ItemAttribute = GClass2100; +using ItemAttribute = GClass2185; namespace itemValueMod { @@ -114,21 +114,21 @@ namespace itemValueMod var foodDrink = item.GetItemComponent(); if (foodDrink != null && foodDrink.HpPercent != 0) { - GInterface202 ginterface202_0 = (GInterface202)foodDrink.GetType().GetField("ginterface202_0", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(foodDrink); + GInterface208 ginterface208_0 = (GInterface208)foodDrink.GetType().GetField("ginterface208_0", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(foodDrink); - editedPrice *= foodDrink.HpPercent / ginterface202_0.MaxResource; + editedPrice *= foodDrink.HpPercent / ginterface208_0.MaxResource; Debug.LogError($" FoodDrinkComponent: {editedPrice}"); } var keys = item.GetItemComponent(); if (keys != null) { - GInterface206 ginterface206_0 = (GInterface206)keys.GetType().GetField("Template", BindingFlags.Public | BindingFlags.Instance).GetValue(keys); + GInterface212 ginterface212_0 = (GInterface212)keys.GetType().GetField("Template", BindingFlags.Public | BindingFlags.Instance).GetValue(keys); if (keys.NumberOfUsages > 0) { - double totalMinusUsed = Convert.ToDouble(ginterface206_0.MaximumNumberOfUsage - keys.NumberOfUsages); - double multi = totalMinusUsed / ginterface206_0.MaximumNumberOfUsage; + double totalMinusUsed = Convert.ToDouble(ginterface212_0.MaximumNumberOfUsage - keys.NumberOfUsages); + double multi = totalMinusUsed / ginterface212_0.MaximumNumberOfUsage; editedPrice *= multi; Debug.LogError($" KeyComponent: {editedPrice}"); diff --git a/KcY-SeeItemValue/itemValue/itemValueMod.csproj b/KcY-SeeItemValue/itemValue/itemValueMod.csproj index b2bf84c..aaf274c 100644 --- a/KcY-SeeItemValue/itemValue/itemValueMod.csproj +++ b/KcY-SeeItemValue/itemValue/itemValueMod.csproj @@ -17,7 +17,7 @@ ..\..\Shared\AKI\Aki.Reflection.dll - ..\..\..\..\..\..\1. AKI\3.0.0\EscapeFromTarkov_Data\Managed\Assembly-CSharp.dll + ..\..\Shared\EFT\Assembly-CSharp.dll ..\..\Shared\BepInEx\BepInEx.dll diff --git a/KcY-SeeItemValue/itemValue/server/dist/package.json b/KcY-SeeItemValue/itemValue/server/dist/package.json index e453164..36adb2e 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/package.json +++ b/KcY-SeeItemValue/itemValue/server/dist/package.json @@ -1,11 +1,11 @@ { "name": "SeeItemValue", "author": "KcY", - "version": "1.3.5", + "version": "1.3.6", "license": "NCSA Open Source", "main": "src/mod.js", - "akiVersion": "3.0.0", - "UpdatedBy": "CWX", + "akiVersion": "3.1.0", + "UpdatedBy": "CWX, Valens", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/KcY-SeeItemValue/itemValue/server/dist/src/mod.ts b/KcY-SeeItemValue/itemValue/server/dist/src/mod.ts index 6364c0d..2f697fa 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/src/mod.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/src/mod.ts @@ -30,7 +30,7 @@ class SeeItemValue implements IMod private tradersArr; private cfg; - public load(container: DependencyContainer) + public preAkiLoad(container: DependencyContainer) { this.pkg = require("../package.json"); this.router = container.resolve("DynamicRouterModService"); @@ -41,7 +41,7 @@ class SeeItemValue implements IMod this.addRoute() } - public delayedLoad(container: DependencyContainer) + public postAkiLoad(container: DependencyContainer) { this.database = container.resolve("DatabaseServer"); this.table = this.database.getTables(); @@ -107,12 +107,12 @@ class SeeItemValue implements IMod const result = { multiplier: 1, price: this.livePrice[id], - originalMax: this.getOrigiDura(id) + originalMax: 1 }; if (typeof result != "undefined") { this.debugMode("Config setting false for traders - returning livePrice AVG", "yellow"); - return result; + return result } } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/GameCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/GameCallbacks.d.ts index d5cad76..06da1b5 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/GameCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/GameCallbacks.d.ts @@ -2,6 +2,7 @@ import { GameController } from "../controllers/GameController"; import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; import { IGameEmptyCrcRequestData } from "../models/eft/game/IGameEmptyCrcRequestData"; +import { IReportNicknameRequestData } from "../models/eft/game/IReportNicknameRequestData"; import { IVersionValidateRequestData } from "../models/eft/game/IVersionValidateRequestData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; @@ -20,5 +21,6 @@ declare class GameCallbacks { validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; + reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; } export { GameCallbacks }; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/HealthCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/HealthCallbacks.d.ts index 8f7b89d..8672be7 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/HealthCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/HealthCallbacks.d.ts @@ -13,6 +13,13 @@ export declare class HealthCallbacks { protected profileHelper: ProfileHelper; protected healthController: HealthController; constructor(httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, healthController: HealthController); + /** + * Custom aki server request found in modules/HealthSynchronizer.cs + * @param url + * @param info HealthListener.Instance.CurrentHealth class + * @param sessionID session id + * @returns empty response, no data sent back to client + */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/InsuranceCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/InsuranceCallbacks.d.ts index 520d0eb..6819960 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/InsuranceCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/InsuranceCallbacks.d.ts @@ -3,6 +3,7 @@ import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; @@ -17,7 +18,7 @@ export declare class InsuranceCallbacks extends OnLoadOnUpdate { protected insuranceConfig: IInsuranceConfig; constructor(insuranceController: InsuranceController, insuranceService: InsuranceService, httpResponse: HttpResponseUtil, configServer: ConfigServer); onLoad(): void; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; + getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; onUpdate(secondsSinceLastRun: number): boolean; getRoute(): string; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/MatchCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/MatchCallbacks.d.ts index 083c1f5..2a92ef5 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/MatchCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/MatchCallbacks.d.ts @@ -1,10 +1,17 @@ import { MatchController } from "../controllers/MatchController"; +import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; +import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; +import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; +import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; +import { IPutMetricsRequestData } from "../models/eft/match/IPutMetricsRequestData"; import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; +import { IUpdatePingRequestData } from "../models/eft/match/IUpdatePingRequestData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { HttpResponseUtil } from "../utils/HttpResponseUtil"; import { JsonUtil } from "../utils/JsonUtil"; @@ -14,21 +21,21 @@ export declare class MatchCallbacks { protected matchController: MatchController; protected databaseServer: DatabaseServer; constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, matchController: MatchController, databaseServer: DatabaseServer); - updatePing(url: string, info: any, sessionID: string): INullResponseData; - exitMatch(url: string, info: any, sessionID: string): INullResponseData; - exitToMenu(url: string, info: any, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: any, sessionID: string): INullResponseData; + updatePing(url: string, info: IUpdatePingRequestData, sessionID: string): INullResponseData; + exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: any, sessionID: string): INullResponseData; + putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: any, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: any, sessionID: string): IGetBodyResponseData; + serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; + joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: any, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: any, sessionID: string): IGetBodyResponseData; + getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; + createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; deleteGroup(url: string, info: any, sessionID: string): INullResponseData; startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ModCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ModCallbacks.d.ts index 866abf7..58342dc 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ModCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ModCallbacks.d.ts @@ -1,5 +1,5 @@ import { OnLoad } from "../di/OnLoad"; -import { DelayedModLoader } from "../loaders/DelayedModLoader"; +import { PostAkiModLoader } from "../loaders/PostAkiModLoader"; import { IHttpConfig } from "../models/spt/config/IHttpConfig"; import { IHttpServer } from "../models/spt/server/IHttpServer"; import { ILogger } from "../models/spt/utils/ILogger"; @@ -9,10 +9,10 @@ declare class ModCallbacks extends OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpServer: IHttpServer; - protected modLoader: DelayedModLoader; + protected postAkiModLoader: PostAkiModLoader; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, modLoader: DelayedModLoader, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, postAkiModLoader: PostAkiModLoader, configServer: ConfigServer); onLoad(): void; getRoute(): string; sendBundle(sessionID: string, req: any, resp: any, body: any): void; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/PresetBuildCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/PresetBuildCallbacks.d.ts index 8a0c155..541715a 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/PresetBuildCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/PresetBuildCallbacks.d.ts @@ -1,4 +1,5 @@ import { PresetBuildController } from "../controllers/PresetBuildController"; +import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; @@ -9,7 +10,7 @@ export declare class PresetBuildCallbacks { protected httpResponse: HttpResponseUtil; protected presetBuildController: PresetBuildController; constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; + getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ProfileCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ProfileCallbacks.d.ts index 116e7c5..6a86fc0 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ProfileCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/ProfileCallbacks.d.ts @@ -3,6 +3,7 @@ import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; @@ -23,7 +24,14 @@ export declare class ProfileCallbacks { changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; + /** + * Called when creating a character, when you choose a character face/voice + * @param url + * @param info response (empty) + * @param sessionID + * @returns + */ + getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; getAllMiniProfiles(url: string, info: any, sessionID: string): string; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/RagfairCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/RagfairCallbacks.d.ts index d5bab8b..3a405c9 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/RagfairCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/callbacks/RagfairCallbacks.d.ts @@ -9,8 +9,10 @@ import { IAddOfferRequestData } from "../models/eft/ragfair/IAddOfferRequestData import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; import { IRemoveOfferRequestData } from "../models/eft/ragfair/IRemoveOfferRequestData"; import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "../models/eft/ragfair/ISendRagfairReportRequestData"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; @@ -28,12 +30,12 @@ export declare class RagfairCallbacks extends OnLoadOnUpdate { constructor(httpResponse: HttpResponseUtil, logger: ILogger, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, configServer: ConfigServer); onLoad(): void; getRoute(): string; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; + search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; onUpdate(timeSinceLastRun: number): boolean; - sendReport(url: string, info: any, sessionID: string): INullResponseData; + sendReport(url: string, info: ISendRagfairReportRequestData, sessionID: string): INullResponseData; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/GameController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/GameController.d.ts index 7f632d6..85ec418 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/GameController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/GameController.d.ts @@ -1,33 +1,28 @@ -import { GameHelper } from "../helpers/GameHelper"; import { HttpServerHelper } from "../helpers/HttpServerHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; +import { ICoreConfig } from "../models/spt/config/ICoreConfig"; import { IHttpConfig } from "../models/spt/config/IHttpConfig"; import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; +import { LocaleService } from "../services/LocaleService"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { Watermark } from "../utils/Watermark"; export declare class GameController { protected logger: ILogger; protected watermark: Watermark; protected httpServerHelper: HttpServerHelper; + protected localeService: LocaleService; protected profileHelper: ProfileHelper; - protected gameHelper: GameHelper; + protected profileFixerService: ProfileFixerService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, gameHelper: GameHelper, configServer: ConfigServer); + protected coreConfig: ICoreConfig; + constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, localeService: LocaleService, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, configServer: ConfigServer); gameStart(_url: string, _info: IEmptyRequestData, sessionID: string): void; - protected addMissingBonusesProperty(pmcProfile: IPmcData): void; - protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; - protected addMissingWeaponRepairSkill(pmcProfile: IPmcData): void; - protected addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; - protected addMissingArmorRepairSkill(pmcProfile: IPmcData): void; - protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; + protected logProfileDetails(fullProfile: IAkiProfile): void; getGameConfig(sessionID: string): IGameConfigResponse; getServer(): any[]; - protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/HealthController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/HealthController.d.ts index aafb8df..cc13603 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/HealthController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/HealthController.d.ts @@ -18,8 +18,29 @@ export declare class HealthController { protected inventoryHelper: InventoryHelper; protected healthHelper: HealthHelper; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, healthHelper: HealthHelper); - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string): void; + /** + * stores in-raid player health + * @param pmcData Player profile + * @param info Request data + * @param sessionID + * @param addEffects Should effects found be added or removed from profile + */ + saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; + /** + * When healing in menu + * @param pmcData + * @param body + * @param sessionID + * @returns + */ offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Occurs on post-raid healing page + * @param pmcData player profile + * @param info Request data from client + * @param sessionID Session id + * @returns + */ healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InsuranceController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InsuranceController.d.ts index db2c567..af45442 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InsuranceController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InsuranceController.d.ts @@ -3,6 +3,7 @@ import { ItemHelper } from "../helpers/ItemHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; @@ -33,6 +34,12 @@ export declare class InsuranceController { insuranceService: InsuranceService, configServer: ConfigServer); processReturn(): void; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - cost(info: IGetInsuranceCostRequestData, sessionID: string): any; + /** + * Calculate insurance cost + * @param info request object + * @param sessionID session id + * @returns response object to send to client + */ + cost(info: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; doAbsolutelyNothing(): void; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InventoryController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InventoryController.d.ts index b732aa9..f57f731 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InventoryController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/InventoryController.d.ts @@ -24,6 +24,8 @@ import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRout import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { FenceService } from "../services/FenceService"; +import { RagfairOfferService } from "../services/RagfairOfferService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; export declare class InventoryController { @@ -31,12 +33,14 @@ export declare class InventoryController { protected hashUtil: HashUtil; protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; + protected fenceService: FenceService; protected presetHelper: PresetHelper; protected inventoryHelper: InventoryHelper; + protected ragfairOfferService: RagfairOfferService; protected profileHelper: ProfileHelper; protected paymentHelper: PaymentHelper; protected itemEventRouter: ItemEventRouter; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); + constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); /** * Move Item * change location of item with parentId and slotId @@ -93,9 +97,19 @@ export declare class InventoryController { tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; /** - * Handles examining of the item * + * Handles examining an item + * @param pmcData player profile + * @param body request object + * @param sessionID session id + * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Get the tplid of an item from the examine request object + * @param body response request + * @returns tplid + */ + protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; /** * Handles sorting of Inventory. diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/MatchController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/MatchController.d.ts index c322d96..0851ab0 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/MatchController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/MatchController.d.ts @@ -1,30 +1,36 @@ import { ProfileHelper } from "../helpers/ProfileHelper"; import { TraderHelper } from "../helpers/TraderHelper"; import { IPmcData } from "../models/eft/common/IPmcData"; +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; +import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; +import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; +import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; import { IMatchConfig } from "../models/spt/config/IMatchConfig"; import { ConfigServer } from "../servers/ConfigServer"; import { SaveServer } from "../servers/SaveServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { MatchLocationService } from "../services/MatchLocationService"; export declare class MatchController { protected saveServer: SaveServer; protected profileHelper: ProfileHelper; protected matchLocationService: MatchLocationService; protected traderHelper: TraderHelper; + protected botLootCacheService: BotLootCacheService; protected configServer: ConfigServer; protected matchConfig: IMatchConfig; protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, configServer: ConfigServer); + constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer); getEnabled(): boolean; getProfile(info: IGetProfileRequestData): IPmcData[]; - protected getMatch(location: any): any; - createGroup(sessionID: string, info: any): any; + createGroup(sessionID: string, info: ICreateGroupRequestData): any; deleteGroup(info: any): void; - joinMatch(info: any, sessionID: string): any[]; - getGroupStatus(info: any): any; + joinMatch(info: IJoinMatchRequestData, sessionID: string): IJoinMatchResult[]; + protected getMatch(location: string): any; + getGroupStatus(info: IGetGroupStatusRequestData): any; startOfflineRaid(info: IStartOfflineRaidRequestData, sessionID: string): void; endOfflineRaid(info: IEndOfflineRaidRequestData, sessionID: string): void; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/ProfileController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/ProfileController.d.ts index 9b7a6d5..b40bb7d 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/ProfileController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/ProfileController.d.ts @@ -11,6 +11,7 @@ import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendRespon import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { HashUtil } from "../utils/HashUtil"; import { TimeUtil } from "../utils/TimeUtil"; export declare class ProfileController { @@ -19,13 +20,20 @@ export declare class ProfileController { protected saveServer: SaveServer; protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; + protected profileFixerService: ProfileFixerService; protected traderHelper: TraderHelper; protected extendedProfileHelper: ExtendedProfileHelper; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, traderHelper: TraderHelper, extendedProfileHelper: ExtendedProfileHelper); + constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, traderHelper: TraderHelper, extendedProfileHelper: ExtendedProfileHelper); getMiniProfiles(): IMiniProfile[]; getMiniProfile(sessionID: string): any; getCompleteProfile(sessionID: string): IPmcData[]; createProfile(info: IProfileCreateRequestData, sessionID: string): void; + /** + * Generate a player scav object + * pmc profile MUST exist first before pscav can be generated + * @param sessionID + * @returns IPmcData object + */ generatePlayerScav(sessionID: string): IPmcData; validateNickname(info: IValidateNicknameRequestData, sessionID: string): string; changeNickname(info: IProfileChangeNicknameRequestData, sessionID: string): string; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/QuestController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/QuestController.d.ts index c00cd6d..2cbccfb 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/QuestController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/QuestController.d.ts @@ -14,6 +14,7 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; import { PlayerService } from "../services/PlayerService"; import { TimeUtil } from "../utils/TimeUtil"; export declare class QuestController { @@ -27,9 +28,10 @@ export declare class QuestController { protected questHelper: QuestHelper; protected questConditionHelper: QuestConditionHelper; protected playerService: PlayerService; + protected localeService: LocaleService; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, configServer: ConfigServer); /** * Get all quests visible to player * Exclude quests with incomplete preconditions (level/loyalty) diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RagfairController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RagfairController.d.ts index c758593..c4ffc15 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RagfairController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RagfairController.d.ts @@ -60,6 +60,8 @@ export declare class RagfairController { protected ragfairConfig: IRagfairConfig; constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxHelper: RagfairTaxHelper, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, configServer: ConfigServer); getOffers(sessionID: string, info: ISearchRequestData): IGetOffersResult; + protected isLinkedSearch(info: ISearchRequestData): boolean; + protected isRequiredSearch(info: ISearchRequestData): boolean; update(): void; getItemPrice(info: IGetMarketPriceRequestData): IGetItemPriceResult; addPlayerOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RepeatableQuestController.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RepeatableQuestController.d.ts index 9aa9590..2bb2aa9 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RepeatableQuestController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/controllers/RepeatableQuestController.d.ts @@ -1,4 +1,3 @@ -import { GameHelper } from "../helpers/GameHelper"; import { ItemHelper } from "../helpers/ItemHelper"; import { PresetHelper } from "../helpers/PresetHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; @@ -16,6 +15,7 @@ import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { PaymentService } from "../services/PaymentService"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { JsonUtil } from "../utils/JsonUtil"; import { MathUtil } from "../utils/MathUtil"; import { ObjectId } from "../utils/ObjectId"; @@ -58,14 +58,14 @@ export declare class RepeatableQuestController { protected itemHelper: ItemHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; - protected gameHelper: GameHelper; + protected profileFixerService: ProfileFixerService; protected ragfairServerHelper: RagfairServerHelper; protected itemEventRouter: ItemEventRouter; protected paymentService: PaymentService; protected objectId: ObjectId; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, gameHelper: GameHelper, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); + constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); /** * This is the method reached by the /client/repeatalbeQuests/activityPeriods endpoint * Returns an array of objects in the format of repeatable quests to the client. diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotGenerator.d.ts index 88a8014..28f05a9 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotGenerator.d.ts @@ -31,16 +31,54 @@ export declare class BotGenerator { protected botConfig: IBotConfig; constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botHelper: BotHelper, gameEventHelper: GameEventHelper, configServer: ConfigServer); generate(info: IGenerateBotsRequestData, playerScav?: boolean): IBotBase[]; + /** + * Choose if a bot should become a Pmc by checking if bot type is allowed to become a Pmc in bot config + * @param isPlayerScav is a player scav being generated, forces choice returned to never be a pmc + */ + protected shouldBotBePmc(isPlayerScav: boolean, role: string): boolean; + /** + * Get a randomised PMC side based on bot config value 'isUsec' + * @returns pmc side as string + */ + protected getRandomisedPmcSide(): string; + /** + * Get a clone of the database\bots\base.json file + * @returns IBotBase object + */ + protected getCloneOfBotBase(): IBotBase; protected generateBot(bot: IBotBase, role: string, isPmc: boolean): IBotBase; + /** + * Log the number of PMCs generated to the debug console + */ + protected logPmcGeneratedCount(output: IBotBase[]): void; protected generateRandomLevel(min: number, max: number): BotGenerator.IRandomisedBotLevelResult; - /** Converts health object to the required format */ + /** + * Converts health object to the required format + * @param healthObj health object from bot json + * @param playerScav Is a pscav bot being generated + * @returns PmcHealth object + */ protected generateHealth(healthObj: Health, playerScav?: boolean): PmcHealth; protected generateSkills(skillsObj: Skills): Skills; + /** + * Convert from pmc side (usec/bear) to the side as defined in the bot config (usecType/bearType) + * @param pmcSide eft side (usec/bear) + * @returns pmc side as defined in config + */ protected getPmcRole(pmcSide: string): string; + /** + * Iterate through bots inventory and loot to find and remove christmas items (as defined in GameEventHelper) + * @param nodeInventory Bots inventory to iterate over + */ protected removeChristmasItemsFromBotInventory(nodeInventory: Inventory): void; protected generateId(bot: IBotBase): IBotBase; protected generateInventoryID(profile: IBotBase): IBotBase; protected getPMCDifficulty(requestedDifficulty: string): string; + /** + * Add a side-specific (usec/bear) dogtag item to a bots inventory + * @param bot bot to add dogtag to + * @returns Bot with dogtag added + */ protected generateDogtag(bot: IBotBase): IBotBase; } export {}; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotLootGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotLootGenerator.d.ts index 1d91836..2295f51 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotLootGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotLootGenerator.d.ts @@ -1,29 +1,27 @@ -import { PMCLootGenerator } from "../generators/PMCLootGenerator"; import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; import { HandbookHelper } from "../helpers/HandbookHelper"; import { Inventory as PmcInventory } from "../models/eft/common/IPmcData"; import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; import { IBotConfig } from "../models/spt/config/IBotConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; import { RandomUtil } from "../utils/RandomUtil"; export declare class BotLootGenerator { - protected jsonUtil: JsonUtil; + protected logger: ILogger; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; protected botGeneratorHelper: BotGeneratorHelper; - protected pmcLootGenerator: PMCLootGenerator; + protected botLootCacheService: BotLootCacheService; protected configServer: ConfigServer; protected botConfig: IBotConfig; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, pmcLootGenerator: PMCLootGenerator, configServer: ConfigServer); - generateLoot(lootPool: Items, itemCounts: ItemMinMax, isPmc: boolean, inventory: PmcInventory): void; + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer); + generateLoot(lootPool: Items, itemCounts: ItemMinMax, isPmc: boolean, botRole: string, inventory: PmcInventory): void; protected getRandomisedCount(min: number, max: number, nValue: number): number; protected addLootFromPool(pool: ITemplateItem[], equipmentSlots: string[], count: number, inventory: PmcInventory, totalValueLimit?: number, useLimits?: boolean): void; - /** Compares two item templates by their price to spawn chance ratio */ - protected compareByValue(a: ITemplateItem, b: ITemplateItem): number; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotWeaponGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotWeaponGenerator.d.ts index a43b18c..80dc37c 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotWeaponGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/generators/BotWeaponGenerator.d.ts @@ -9,7 +9,9 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { DatabaseServer } from "../servers/DatabaseServer"; import { HashUtil } from "../utils/HashUtil"; import { RandomUtil } from "../utils/RandomUtil"; +import { JsonUtil } from "../utils/JsonUtil"; export declare class BotWeaponGenerator { + protected jsonUtil: JsonUtil; protected logger: ILogger; protected hashUtil: HashUtil; protected databaseServer: DatabaseServer; @@ -18,7 +20,7 @@ export declare class BotWeaponGenerator { protected botGeneratorHelper: BotGeneratorHelper; protected randomUtil: RandomUtil; private readonly modMagazineSlotId; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil); + constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil); generateWeapon(equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, magCounts: MinMax, botRole: string, isPmc: boolean, inventory: PmcInventory): void; /** * Get the mods necessary to kit out a weapon to its preset level @@ -41,6 +43,13 @@ export declare class BotWeaponGenerator { * @returns */ protected generateExtraMagazines(weaponMods: Item[], weaponTemplate: ITemplateItem, magCounts: MinMax, ammoTpl: string, inventory: PmcInventory): void; + /** + * Get a randomised number of bullets for a specific magazine + * @param magCounts min and max count of magazines + * @param magTemplate magazine to generate bullet count for + * @returns bullet count number + */ + protected getRandomisedBulletCount(magCounts: MinMax, magTemplate: ITemplateItem): number; /** * Get a randomised count of magazines * @param magCounts min and max value returned value can be between diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/generators/RagfairOfferGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/generators/RagfairOfferGenerator.d.ts index de53ea9..3e7f4cc 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/generators/RagfairOfferGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/generators/RagfairOfferGenerator.d.ts @@ -11,6 +11,7 @@ import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; import { FenceService } from "../services/FenceService"; +import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; import { RagfairOfferService } from "../services/RagfairOfferService"; import { RagfairPriceService } from "../services/RagfairPriceService"; import { HashUtil } from "../utils/HashUtil"; @@ -31,11 +32,12 @@ export declare class RagfairOfferGenerator { protected ragfairAssortGenerator: RagfairAssortGenerator; protected ragfairOfferService: RagfairOfferService; protected ragfairPriceService: RagfairPriceService; + protected ragfairCategoriesService: RagfairCategoriesService; protected fenceService: FenceService; protected itemHelper: ItemHelper; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); + constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, ragfairCategoriesService: RagfairCategoriesService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; protected getTraderId(userID: string): string; protected getRating(userID: string): number; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/BotGeneratorHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/BotGeneratorHelper.d.ts index e4b0c11..243e7a8 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/BotGeneratorHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/BotGeneratorHelper.d.ts @@ -29,6 +29,12 @@ export declare class BotGeneratorHelper { protected botConfig: IBotConfig; constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer); generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[]; + /** + * Is this magazine cylinder related (revolvers and grenade launchers) + * @param magazineParentName the name of the magazines parent + * @returns true if it is cylinder related + */ + magazineIsCylinderRelated(magazineParentName: string): boolean; /** * Get a list of non black-listed cartridges from the PMC bot config * @param modSlot mod item slot @@ -69,6 +75,12 @@ export declare class BotGeneratorHelper { * @param {object} parentTemplate The CylinderMagazine's template */ protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; + /** + * Take a record of camoras and merge the compatable shells into one array + * @param camorasWithShells camoras we want to merge into one array + * @returns string array of shells fro luitple camora sources + */ + protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { upd?: Upd; }; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ExtendedProfileHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ExtendedProfileHelper.d.ts index d8b754d..c05d88e 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ExtendedProfileHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ExtendedProfileHelper.d.ts @@ -2,15 +2,20 @@ import { BotGenerator } from "../generators/BotGenerator"; import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { FenceService } from "../services/FenceService"; import { JsonUtil } from "../utils/JsonUtil"; import { TimeUtil } from "../utils/TimeUtil"; import { Watermark } from "../utils/Watermark"; import { ItemHelper } from "./ItemHelper"; import { ProfileHelper } from "./ProfileHelper"; +/** + * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load + */ export declare class ExtendedProfileHelper extends ProfileHelper { + protected botLootCacheService: BotLootCacheService; protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, fenceService: FenceService, botGenerator: BotGenerator); + constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); generatePlayerScav(sessionID: string): IPmcData; protected getScavSkills(sessionID: string): Skills; protected removeSecureContainer(profile: IPmcData): IPmcData; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/HealthHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/HealthHelper.d.ts index 518c23f..3116c9c 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/HealthHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/HealthHelper.d.ts @@ -15,13 +15,37 @@ export declare class HealthHelper { protected configServer: ConfigServer; protected healthConfig: IHealthConfig; constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); + /** + * Resets the profiles vitality/healh and vitality/effects properties to their defaults + * @param sessionID Session Id + * @returns updated profile + */ resetVitality(sessionID: string): IAkiProfile; - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string): void; + /** + * Update player profile with changes from request object + * @param pmcData Player profile + * @param info Request object + * @param sessionID Session id + * @param addEffects Should effects be added or removed (default - add) + */ + saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; protected saveHealth(pmcData: IPmcData, sessionID: string): void; - protected saveEffects(pmcData: IPmcData, sessionID: string): void; - protected addEffect(pmcData: IPmcData, sessionID: string, effect: { - bodyPart: string; - effectType: string; - }): void; + /** + * Save effects to profile + * Works by removing all effects and adding them back from profile + * Remoces empty 'Effects' objects if found + * @param pmcData Player profile + * @param sessionID Session id + * @param addEffects Should effects be added back to profile + * @returns + */ + protected saveEffects(pmcData: IPmcData, sessionID: string, addEffects: boolean): void; + /** + * Add effect to body part in profile + * @param pmcData Player profile + * @param effectBodyPart body part to edit + * @param effectType Effect to add to body part + */ + protected addEffect(pmcData: IPmcData, effectBodyPart: string, effectType: string): void; protected isEmpty(map: any): boolean; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/InRaidHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/InRaidHelper.d.ts index 05b6fdf..58e0f6a 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/InRaidHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/InRaidHelper.d.ts @@ -28,6 +28,18 @@ export declare class InRaidHelper { markFoundItems(pmcData: IPmcData, profile: IPmcData, isPlayerScav: boolean): IPmcData; removeFoundInRaidStatusFromItems(profile: IPmcData): IPmcData; setInventory(sessionID: string, pmcData: IPmcData, profile: IPmcData): IPmcData; + /** + * Clear pmc inventory of all items except those that are exempt + * @param pmcData Player profile + * @param sessionID Session id + * @returns Player profile with pmc inventory cleared + */ deleteInventory(pmcData: IPmcData, sessionID: string): IPmcData; + /** + * Does the provided items slotId mean its kept on the player after death + * @param slotId slotid of item to check + * @returns true if item is kept after death + */ + isItemKeptAfterDeath(slotId: string): boolean; getPlayerGear(items: Item[]): Item[]; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ItemHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ItemHelper.d.ts index 70c88d6..4e0eba4 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ItemHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ItemHelper.d.ts @@ -1,5 +1,5 @@ import { InsuredItem, IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; +import { Item, Repairable } from "../models/eft/common/tables/IItem"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; import { ILogger } from "../models/spt/utils/ILogger"; import { DatabaseServer } from "../servers/DatabaseServer"; @@ -18,7 +18,7 @@ declare class ItemHelper { */ isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; /** - * Checks if a id is a valid item. Valid meaning that it's an item that may be a reward + * Checks if an id is a valid item. Valid meaning that it's an item that may be a reward * or content of bot loot. Items that are tested as valid may be in a player backpack or stash. * @param {*} tpl template id of item to check * @returns boolean: true if item is valid reward @@ -83,26 +83,76 @@ declare class ItemHelper { * @returns {array} The array of StackSlotItems */ generateItemsFromStackSlot(item: ITemplateItem, parentId: string): Item[]; + /** + * Gets item data from items.json + * @param tpl items template id to look up + * @returns bool - is valid + template item object as array + */ getItem(tpl: string): [boolean, ITemplateItem]; + /** + * get normalized value (0-1) based on item condition + * @param item + * @returns number between 0 and 1 + */ getItemQualityModifier(item: Item): number; + /** + * Get a quality value based on a repairable items (weapon/armor) current state between current and max durability + * @param itemDetails + * @param repairable repairable object + * @param item + * @returns a number between 0 and 1 + */ + protected getRepairableItemQualityValue(itemDetails: ITemplateItem, repairable: Repairable, item: Item): number; + /** + * Recursive function that looks at every item from parameter and gets their childrens Ids + * @param items + * @param itemID + * @returns an array of strings + */ findAndReturnChildrenByItems(items: Item[], itemID: string): string[]; /** * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. + * @param items + * @param baseItemId + * @returns An array of Item objects */ findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; /** - * find children of the item in a given assort (weapons parts for example, need recursive loop function) + * Find children of the item in a given assort (weapons parts for example, need recursive loop function) + * @param itemIdToFind Template id of item to check for + * @param assort Array of items to check in + * @returns Array of children of requested item */ findAndReturnChildrenByAssort(itemIdToFind: string, assort: Item[]): Item[]; + /** + * Check if the passed in item has buy count restrictions + * @param itemToCheck Item to check + * @returns true if it has buy restrictions + */ hasBuyRestrictions(itemToCheck: Item): boolean; /** - * Is Dogtag - * Checks if an item is a dogtag. Used under profile_f.js to modify preparePrice based - * on the level of the dogtag + * is the passed in template id a dog tag + * @param tpl Template id to check + * @returns true if it is a dogtag */ isDogtag(tpl: string): boolean; + /** + * Can the item passed in be sold to a trader because it is raw money + * @param tpl Item template id to check + * @returns true if unsellable + */ isNotSellable(tpl: string): boolean; + /** + * Gets the identifier for a child using slotId, locationX and locationY. + * @param item + * @returns "slotId OR slotid,locationX,locationY" + */ getChildId(item: Item): string; + /** + * Can the pased in item be stacked + * @param tpl item to check + * @returns true if it can be stacked + */ isItemTplStackable(tpl: string): boolean; /** * split item stack if it exceeds StackMaxSize @@ -112,15 +162,17 @@ declare class ItemHelper { * Find Barter items in the inventory * @param {string} by * @param {Object} pmcData - * @param {string} barter_itemID - * @returns Array + * @param {string} barterItemId + * @returns Array of Item objects */ - findBarterItems(by: string, pmcData: IPmcData, barter_itemID: string): any[]; + findBarterItems(by: string, pmcData: IPmcData, barterItemId: string): Item[]; /** - * @param {Object} pmcData - * @param {Array} items - * @param {Object} fastPanel - * @returns Array + * + * @param pmcData + * @param items + * @param insuredItems insured items to not replace ids for + * @param fastPanel + * @returns */ replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): any[]; /** @@ -136,6 +188,12 @@ declare class ItemHelper { * @returns boolean */ isQuestItem(tpl: string): boolean; + /** + * Get the inventory size of an item + * @param items + * @param rootItemId + * @returns ItemSize object (width and height) + */ getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize; } declare namespace ItemHelper { diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/PresetHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/PresetHelper.d.ts index 0371886..a469582 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/PresetHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/PresetHelper.d.ts @@ -1,9 +1,11 @@ import { Preset } from "../models/eft/common/IGlobals"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { JsonUtil } from "../utils/JsonUtil"; export declare class PresetHelper { + protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected lookup: Record; - constructor(databaseServer: DatabaseServer); + constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); hydratePresetStore(input: Record): void; isPreset(id: string): boolean; hasPreset(templateId: string): boolean; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ProfileHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ProfileHelper.d.ts index 6a64291..b369000 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ProfileHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/ProfileHelper.d.ts @@ -20,6 +20,12 @@ export declare class ProfileHelper { resetProfileQuestCondition(sessionID: string, conditionId: string): void; getCompleteProfile(sessionID: string): IPmcData[]; isNicknameTaken(info: IValidateNicknameRequestData, sessionID: string): boolean; + /** + * Add experience to a PMC inside the players profile + * @param sessionID Session id + * @param experienceToAdd Experiecne to add to PMC character + */ + addExperienceToPmc(sessionID: string, experienceToAdd: number): void; getProfileByPmcId(pmcId: string): IPmcData; getExperience(level: number): number; getMaxLevel(): number; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/QuestHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/QuestHelper.d.ts index 04ede16..0b10135 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/QuestHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/QuestHelper.d.ts @@ -8,6 +8,7 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; import { TimeUtil } from "../utils/TimeUtil"; @@ -25,6 +26,7 @@ export declare class QuestHelper { protected itemHelper: ItemHelper; protected itemEventRouter: ItemEventRouter; protected databaseServer: DatabaseServer; + protected localeService: LocaleService; protected ragfairServerHelper: RagfairServerHelper; protected dialogueHelper: DialogueHelper; protected profileHelper: ProfileHelper; @@ -32,7 +34,7 @@ export declare class QuestHelper { protected traderHelper: TraderHelper; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); + constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); static get STATUS(): Record; questStatus(pmcData: IPmcData, questID: string): string; /** @@ -73,8 +75,22 @@ export declare class QuestHelper { */ cleanQuestConditions(quest: IQuest): IQuest; failQuest(pmcData: IPmcData, body: any, sessionID: string): any; + /** + * Get quest by id from database + * @param questId questid to look for + * @param pmcData player profile + * @returns IQuest object + */ getQuestFromDb(questId: string, pmcData: IPmcData): IQuest; - getQuestLocaleIdFromDb(messageId: string, localisation?: string): string; + getQuestLocaleIdFromDb(messageId: string): string; + /** + * Give player quest rewards - Skills/exp/trader standing/items/assort unlocks + * @param pmcData Player profile + * @param body complete quest request + * @param state State of the quest now its complete + * @param sessionID Seession id + * @returns array of reward objects + */ applyQuestReward(pmcData: IPmcData, body: ICompleteQuestRequestData, state: string, sessionID: string): Reward[]; /** * Get the intel center bonus a player has diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairOfferHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairOfferHelper.d.ts index 129bc1c..5a77e13 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairOfferHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairOfferHelper.d.ts @@ -10,6 +10,7 @@ import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { LocaleService } from "../services/LocaleService"; import { RagfairOfferService } from "../services/RagfairOfferService"; import { HashUtil } from "../utils/HashUtil"; import { TimeUtil } from "../utils/TimeUtil"; @@ -37,11 +38,12 @@ export declare class RagfairOfferHelper { protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; protected ragfairOfferService: RagfairOfferService; + protected localeService: LocaleService; protected configServer: ConfigServer; protected static TPL_GOODS_SOLD: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer); getValidOffers(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; getOffersForBuild(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; processOffers(sessionID: string): boolean; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairServerHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairServerHelper.d.ts index 2cb3ea5..a52306b 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairServerHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairServerHelper.d.ts @@ -1,11 +1,12 @@ -import { MemberCategory } from "../models/enums/MemberCategory"; import { Item } from "../models/eft/common/tables/IItem"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "../models/enums/MemberCategory"; import { IQuestConfig } from "../models/spt/config/IQuestConfig"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { LocaleService } from "../services/LocaleService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; import { RandomUtil } from "../utils/RandomUtil"; @@ -19,13 +20,14 @@ export declare class RagfairServerHelper { protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; protected itemHelper: ItemHelper; + protected localeService: LocaleService; protected dialogueHelper: DialogueHelper; protected jsonUtil: JsonUtil; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; protected static TPL_GOODS_RETURNED: string; - constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer); + constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer); /** * Is item valid / on blacklist / quest item * @param itemDetails diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairSortHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairSortHelper.d.ts index e983569..d20e10c 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairSortHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/RagfairSortHelper.d.ts @@ -1,8 +1,10 @@ import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; - constructor(databaseServer: DatabaseServer); + protected localeService: LocaleService; + constructor(databaseServer: DatabaseServer, localeService: LocaleService); sortOffers(offers: IRagfairOffer[], type: number, direction?: number): IRagfairOffer[]; protected sortOffersByID(a: IRagfairOffer, b: IRagfairOffer): number; protected sortOffersByRating(a: IRagfairOffer, b: IRagfairOffer): number; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderAssortHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderAssortHelper.d.ts index 4f41ac2..91ba6b9 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderAssortHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderAssortHelper.d.ts @@ -2,24 +2,32 @@ import { RagfairAssortGenerator } from "../generators/RagfairAssortGenerator"; import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; import { Item } from "../models/eft/common/tables/IItem"; import { ITraderAssort } from "../models/eft/common/tables/ITrader"; +import { ITraderConfig } from "../models/spt/config/ITraderConfig"; import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { FenceService } from "../services/FenceService"; import { TraderAssortService } from "../services/TraderAssortService"; import { JsonUtil } from "../utils/JsonUtil"; +import { MathUtil } from "../utils/MathUtil"; import { AssortHelper } from "./AssortHelper"; +import { PaymentHelper } from "./PaymentHelper"; import { ProfileHelper } from "./ProfileHelper"; export declare class TraderAssortHelper { protected logger: ILogger; protected jsonUtil: JsonUtil; + protected mathUtil: MathUtil; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; protected assortHelper: AssortHelper; + protected paymentHelper: PaymentHelper; protected ragfairAssortGenerator: RagfairAssortGenerator; protected ragfairOfferGenerator: RagfairOfferGenerator; protected traderAssortService: TraderAssortService; protected fenceService: FenceService; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService); + protected configServer: ConfigServer; + protected traderConfig: ITraderConfig; + constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService, configServer: ConfigServer); /** * Get a traders assorts * Can be used for returning ragfair / fence assorts @@ -29,7 +37,12 @@ export declare class TraderAssortHelper { */ getAssort(sessionId: string, traderId: string): ITraderAssort; /** - * Get an array of pristine trader items prior to any alteration by player + * Iterate over all assorts barter_scheme values, find barters selling for money and multiply by multipler in config + * @param traderAssort Assorts to multiple price of + */ + protected multiplyItemPricesByConfigMultipler(traderAssort: ITraderAssort): void; + /** + * Get an array of pristine trader items prior to any alteration by player (as they were on server start) * @param traderId trader id * @returns array of Items */ diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderHelper.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderHelper.d.ts index ab4a371..b2e9d38 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/helpers/TraderHelper.d.ts @@ -1,4 +1,6 @@ +import { FenceLevel } from "../models/eft/common/IGlobals"; import { IPmcData } from "../models/eft/common/IPmcData"; +import { Item } from "../models/eft/common/tables/IItem"; import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; import { ITraderConfig } from "../models/spt/config/ITraderConfig"; import { ILogger } from "../models/spt/utils/ILogger"; @@ -27,16 +29,70 @@ export declare class TraderHelper { getTrader(traderID: string, sessionID: string): ITraderBase; getTraderAssortsById(traderId: string): ITraderAssort; /** - * Reset a trader back to its initial state as seen by a level 1 player + * Reset a profiles trader data back to its initial state as seen by a level 1 player * Does NOT take into account different profile levels * @param sessionID session id * @param traderID trader id to reset */ resetTrader(sessionID: string, traderID: string): void; - changeTraderDisplay(traderID: string, status: boolean, sessionID: string): void; + /** + * Alter a traders unlocked status + * @param traderID Trader to alter + * @param status New status to use + * @param sessionID Session id + */ + setTraderUnlockedState(traderID: string, status: boolean, sessionID: string): void; + /** + * Get a list of items and their prices from player inventory that can be sold to a trader + * @param traderID trader id being traded with + * @param sessionID session id + * @returns IBarterScheme[][] + */ getPurchasesData(traderID: string, sessionID: string): Record; /** - * Calculate traders level based on exp amount and increment level if over threshold + * Should item be skipped when selling to trader according to its sell categories and other checks + * @param pmcData + * @param item + * @param sellCategory + * @returns true if should NOT be sold to trader + */ + protected isItemUnSellableToTrader(pmcData: IPmcData, item: Item, sellCategory: string[]): boolean; + /** + * Can this weapon be sold to a trader with its current durabiltiy level + * @param traderID + * @param item + * @returns boolean + */ + protected isWeaponAndBelowTraderBuyDurability(traderID: string, item: Item): boolean; + /** + * Get the price of an item and all of its attached children + * Take into account bonuses/adjsutments e.g. discounts + * @param pmcData profile data + * @param item item to calculate price of + * @param buyPriceCoefficient + * @param fenceInfo fence data + * @param traderBase trader details + * @param currencyTpl Currency to get price as + * @returns price of item + children + */ + protected getAdjustedItemPrice(pmcData: IPmcData, item: Item, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderBase: ITraderBase, currencyTpl: string): number; + /** + * Get the raw price of item+child items from handbook without any modification + * @param pmcData profile data + * @param item item to calculate price of + * @returns price as number + */ + protected getRawItemPrice(pmcData: IPmcData, item: Item): number; + protected getTraderDiscount(trader: ITraderBase, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderID: string): number; + /** + * Add standing to a trader and level them up if exp goes over level threshold + * @param sessionID Session id + * @param traderId traders id + * @param standingToAdd Standing value to add to trader + */ + addStandingToTrader(sessionID: string, traderId: string, standingToAdd: number): void; + /** + * Calculate traders level based on exp amount and increments level if over threshold * @param traderID trader to process * @param sessionID session id */ diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PostAkiModLoader.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PostAkiModLoader.d.ts new file mode 100644 index 0000000..edc6e5d --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PostAkiModLoader.d.ts @@ -0,0 +1,21 @@ +import { DependencyContainer } from "tsyringe"; +import { HandbookController } from "../controllers/HandbookController"; +import { IModLoader } from "../models/spt/mod/IModLoader"; +import { ModCompilerService } from "../services/ModCompilerService"; +import { VFS } from "../utils/VFS"; +import { BundleLoader } from "./BundleLoader"; +import { PreAkiModLoader } from "./PreAkiModLoader"; +export declare class PostAkiModLoader implements IModLoader { + protected bundleLoader: BundleLoader; + protected handbookController: HandbookController; + protected vfs: VFS; + protected modCompilerService: ModCompilerService; + protected preAkiModLoader: PreAkiModLoader; + constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, preAkiModLoader: PreAkiModLoader); + getBundles(local: boolean): string; + getBundle(key: string, local: boolean): void; + getModPath(mod: string): string; + load(): void; + protected executeMods(container: DependencyContainer): void; + protected addBundles(): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PostDBModLoader.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PostDBModLoader.d.ts new file mode 100644 index 0000000..5101b7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PostDBModLoader.d.ts @@ -0,0 +1,11 @@ +import { DependencyContainer } from "tsyringe"; +import { OnLoad } from "../di/OnLoad"; +import { PreAkiModLoader } from "./PreAkiModLoader"; +export declare class PostDBModLoader implements OnLoad { + protected preAkiModLoader: PreAkiModLoader; + constructor(preAkiModLoader: PreAkiModLoader); + onLoad(): void; + getRoute(): string; + getModPath(mod: string): string; + protected executeMods(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PreAkiModLoader.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PreAkiModLoader.d.ts new file mode 100644 index 0000000..6ded3c6 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/loaders/PreAkiModLoader.d.ts @@ -0,0 +1,64 @@ +import { DependencyContainer } from "tsyringe"; +import { ICoreConfig } from "../models/spt/config/ICoreConfig"; +import { ModLoader } from "../models/spt/mod/IMod"; +import { IModLoader } from "../models/spt/mod/IModLoader"; +import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; +import { ModCompilerService } from "../services/ModCompilerService"; +import { JsonUtil } from "../utils/JsonUtil"; +import { VFS } from "../utils/VFS"; +import { BundleLoader } from "./BundleLoader"; +export declare class PreAkiModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected bundleLoader: BundleLoader; + protected configServer: ConfigServer; + protected static container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected imported: Record; + protected akiConfig: ICoreConfig; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); + load(container: DependencyContainer): Promise; + getBundles(local: boolean): string; + getBundle(key: string, local: boolean): void; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getModPath(mod: string): string; + protected importClass(name: string, filepath: string, container: DependencyContainer): void; + protected importMods(): Promise; + /** + * + * @param mods Get an array of broken/invalid mods by name + * @returns Mod names array + */ + protected getBrokenMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns dictionary + */ + protected getModsPackageData(mods: string[]): Record; + /** + * Does mod have "delayedLoad(" string in its entry class + * @param modFolderName folder name + * @param modToValidate package.json details + * @returns boolean + */ + protected isModSpt3XXCompatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; + protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; + protected executeMods(container: DependencyContainer): void; + sortModsLoadOrder(): string[]; + protected addMod(mod: string): Promise; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Record): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; + protected validMod(mod: string): boolean; + protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; + protected getLoadOrder(mods: Record): Record; + getContainer(): DependencyContainer; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IGlobals.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IGlobals.d.ts index 456895c..9d28dbc 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IGlobals.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IGlobals.d.ts @@ -1128,8 +1128,11 @@ export interface Inertia { SprintAccelerationLimits: xyz; SideTime: xyz; DiagonalTime: xyz; + MaxTimeWithoutInput: xyz; MinDirectionBlendTime: number; - MoveTime: number; + MoveTimeRange: xyz; + ProneDirectionAccelerationRange: xyz; + ProneSpeedAccelerationRange: xyz; MinMovementAccelerationRangeRight: xyz; MaxMovementAccelerationRangeRight: xyz; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/ILocationBase.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/ILocationBase.d.ts index ad48d32..b1dd448 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/ILocationBase.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/ILocationBase.d.ts @@ -26,6 +26,7 @@ export interface ILocationBase { DisabledForScav: boolean; DisabledScavExits: string; Enabled: boolean; + EnableCoop: boolean; GlobalLootChanceModifier: number; IconX: number; IconY: number; @@ -41,6 +42,7 @@ export interface ILocationBase { MinDistToFreePoint: number; MinMaxBots: MinMaxBot[]; MinPlayers: number; + MaxCoopGroup: number; Name: string; NewSpawn: boolean; OcculsionCullingEnabled: boolean; @@ -48,6 +50,8 @@ export interface ILocationBase { OpenZones: string; Preview: Preview; RequiredPlayerLevel: number; + PmcMaxPlayersInGroup: number; + ScavMaxPlayersInGroup: number; Rules: string; SafeLocation: boolean; Scene: Scene; @@ -55,7 +59,8 @@ export interface ILocationBase { UnixDateTime: number; _Id: string; doors: any[]; - escape_time_limit: number; + EscapeTimeLimit: number; + EscapeTimeLimitCoop: number; exit_access_time: number; exit_count: number; exit_time: number; @@ -63,6 +68,7 @@ export interface ILocationBase { filter_ex: string[]; limits: ILimit[]; matching_min_seconds: number; + GenerateLocalLootCache: boolean; maxItemCountInLocation: MaxItemCountInLocation[]; sav_summon_seconds: number; tmp_location_field_remove_me: number; @@ -106,6 +112,7 @@ export interface BossLocationSpawn { BossName: string; BossPlayer: boolean; BossZone: string; + RandomTimeSpawn: boolean; Time: number; TriggerId: string; TriggerName: string; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IPmcData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IPmcData.d.ts index adc2aa5..56bf07f 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IPmcData.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/IPmcData.d.ts @@ -6,7 +6,7 @@ import { MemberCategory } from "../../enums/MemberCategory"; export interface IPmcData { _id: string; aid: string; - savage: string; + savage?: string; Info: Info; Customization: Customization; Health: Health; @@ -28,13 +28,6 @@ export interface IPmcData { CarExtractCounts: CarExtractCounts; SurvivorClass: SurvivorClass; } -export declare enum SurvivorClass { - Unknown = 0, - Neutralizer = 1, - Marauder = 2, - Paramedic = 3, - Survivor = 4 -} export interface Info { EntryPoint: string; Nickname: string; @@ -56,6 +49,9 @@ export interface Info { Bans: IBan[]; BannedState: boolean; BannedUntil: number; + NeedWipeOptions: any[]; + lastCompletedWipe: LastCompleted; + lastCompletedEvent?: LastCompleted; } export interface Settings { Role: string; @@ -339,3 +335,13 @@ export interface RagfairInfo { } export interface CarExtractCounts { } +export declare enum SurvivorClass { + Unknown = 0, + Neutralizer = 1, + Marauder = 2, + Paramedic = 3, + Survivor = 4 +} +export interface LastCompleted { + $oid: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/IProfileTemplate.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/IProfileTemplate.d.ts new file mode 100644 index 0000000..fbcd81a --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -0,0 +1,25 @@ +import { Dialogue, WeaponBuild } from "../../profile/IAkiProfile"; +import { IPmcData } from "../IPmcData"; +export interface IProfileTemplates { + Standard: IProfileSides; + "Left Behind": IProfileSides; + "Prepare To Escape": IProfileSides; + "Edge Of Darkness": IProfileSides; +} +export interface IProfileSides { + usec: TemplateSide; + bear: TemplateSide; +} +export interface TemplateSide { + character: IPmcData; + suits: string[]; + dialogues: Record; + weaponbuilds: WeaponBuild[]; + trader: ProfileTraderTemplate; +} +export interface ProfileTraderTemplate { + initialLoyaltyLevel: number; + initialStanding: number; + initialSalesSum: number; + jaegerUnlocked: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/IQuest.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/IQuest.d.ts index e1fc888..a349a6d 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/IQuest.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/IQuest.d.ts @@ -1,3 +1,4 @@ +import { QuestRewardType } from "../../../enums/QuestRewardType"; import { Item } from "./IItem"; export interface IQuest { QuestName: string; @@ -23,6 +24,7 @@ export interface IQuest { status: string; KeyQuest: boolean; changeQuestMessageText: string; + side: string; } export interface Conditions { Started: AvailableForConditions[]; @@ -56,6 +58,7 @@ export interface AvailableForProps { plantTime?: number; zoneId?: string; type?: boolean; + countInRaid?: boolean; } export interface AvailableForCounter { id: string; @@ -97,9 +100,9 @@ export interface Rewards { Expired: Reward[]; } export interface Reward { - value?: string; + value?: string | number; id: string; - type: string; + type: QuestRewardType; index: number; target?: string; items?: Item[]; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/ITemplateItem.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/ITemplateItem.d.ts index 934ea7d..23a1a14 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/common/tables/ITemplateItem.d.ts @@ -50,6 +50,7 @@ export interface Props { UnlootableFromSide?: string[]; AnimationVariantsNumber?: number; DiscardingBlock?: boolean; + DropSoundType?: string; RagFairCommissionModifier?: number; IsAlwaysAvailableForInsurance?: boolean; DiscardLimit?: number; @@ -89,7 +90,7 @@ export interface Props { SightModesCount?: number; OpticCalibrationDistances?: number[]; ScopesCount?: number; - AimSensitivity: any; + AimSensitivity?: number | number[][]; Zooms?: number[][]; CalibrationDistances?: number[][]; Intensity?: number; @@ -200,6 +201,9 @@ export interface Props { MinRepairDegradation?: number; MaxRepairDegradation?: number; IronSightRange?: number; + IsFlareGun?: boolean; + IsGrenadeLauncher?: boolean; + IsOneoff?: boolean; MustBoltBeOpennedForExternalReload?: boolean; MustBoltBeOpennedForInternalReload?: boolean; BoltAction?: boolean; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/game/IReportNicknameRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/game/IReportNicknameRequestData.d.ts new file mode 100644 index 0000000..087c58b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/game/IReportNicknameRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IReportNicknameRequestData { + uid: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/health/Effect.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/health/Effect.d.ts new file mode 100644 index 0000000..2f0adac --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/health/Effect.d.ts @@ -0,0 +1,5 @@ +export declare enum Effect { + Fracture = "Fracture", + LightBleeding = "LightBleeding", + HeavyBleeding = "HeavyBleeding" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts new file mode 100644 index 0000000..bf209c6 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts @@ -0,0 +1 @@ +export declare type IGetInsuranceCostResponseData = Record>; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/ICreateGroupRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/ICreateGroupRequestData.d.ts new file mode 100644 index 0000000..7413a8a --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/ICreateGroupRequestData.d.ts @@ -0,0 +1,6 @@ +import { RaidMode } from "../../enums/RaidMode"; +export interface ICreateGroupRequestData { + location: string; + raidMode: RaidMode; + startInGroup: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IGetGroupStatusRequestData.d.ts new file mode 100644 index 0000000..55d7079 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IGetGroupStatusRequestData.d.ts @@ -0,0 +1,9 @@ +import { RaidMode } from "../../enums/RaidMode"; +export interface IGetGroupStatusRequestData { + location: string; + savage: boolean; + dt: string; + keyId: string; + raidMode: RaidMode; + startInGroup: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IJoinMatchRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IJoinMatchRequestData.d.ts new file mode 100644 index 0000000..cd34f7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IJoinMatchRequestData.d.ts @@ -0,0 +1,12 @@ +export interface IJoinMatchRequestData { + location: string; + savage: boolean; + dt: string; + servers: Server[]; + keyId: string; +} +export interface Server { + ping: number; + ip: string; + port: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IJoinMatchResult.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IJoinMatchResult.d.ts new file mode 100644 index 0000000..df695f4 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IJoinMatchResult.d.ts @@ -0,0 +1,11 @@ +export interface IJoinMatchResult { + profileid: string; + status: string; + sid: string; + ip: string; + port: number; + version: string; + location: string; + gamemode: string; + shortid: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IPutMetricsRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IPutMetricsRequestData.d.ts new file mode 100644 index 0000000..d9ed214 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IPutMetricsRequestData.d.ts @@ -0,0 +1,10 @@ +export interface IPutMetricsRequestData { + sid: string; + settings: any; + SharedSettings: any; + HardwareDescription: any; + Location: string; + Metrics: any; + ClientEvents: any; + SpikeSamples: any[]; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IStartOffineRaidRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IStartOffineRaidRequestData.d.ts index 84bccc8..af0625e 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IStartOffineRaidRequestData.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IStartOffineRaidRequestData.d.ts @@ -1,6 +1,7 @@ +import { BotAmount } from "../../enums/BotAmount"; +import { BotDifficulty } from "../../enums/BotDifficulty"; export interface IStartOfflineRaidRequestData { locationName: string; - entryPoint: string; startTime: number; dateTime: string; gameSettings: GameSettings; @@ -17,11 +18,11 @@ export interface TimeAndWeatherSettings { export interface BotsSettings { isEnabled: boolean; isScavWars: boolean; - botAmount: string; + botAmount: BotAmount; } export interface WavesSettings { - botDifficulty: string; + botDifficulty: BotDifficulty; isBosses: boolean; isTaggedAndCursed: boolean; - wavesBotAmount: string; + wavesBotAmount: BotAmount; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IUpdatePingRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IUpdatePingRequestData.d.ts new file mode 100644 index 0000000..defbd66 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/match/IUpdatePingRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IUpdatePingRequestData { + servers: any[]; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/profile/GetProfileStatusResponseData.d.ts new file mode 100644 index 0000000..eee9b4f --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/profile/GetProfileStatusResponseData.d.ts @@ -0,0 +1,11 @@ +export interface GetProfileStatusResponseData { + maxPveCountExceeded: false; + profiles: ProfileData[]; +} +export interface ProfileData { + profileid: string; + status: string; + sid: string; + ip: string; + port: number; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/quests/ICompleteQuestRequestData.d.ts index cc67404..36a6db3 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/quests/ICompleteQuestRequestData.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/quests/ICompleteQuestRequestData.d.ts @@ -1,5 +1,6 @@ export interface ICompleteQuestRequestData { Action: string; + /** Quest Id */ qid: string; removeExcessItems: boolean; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/ragfair/IGetOffersResult.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/ragfair/IGetOffersResult.d.ts index 1c11422..fbc631d 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,6 +1,6 @@ import { IRagfairOffer } from "./IRagfairOffer"; export interface IGetOffersResult { - categories: Record; + categories?: Record; offers: IRagfairOffer[]; offersCount: number; selectedCategory: string; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts new file mode 100644 index 0000000..2d14d20 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts @@ -0,0 +1,3 @@ +export interface ISendRagfairReportRequestData { + offerId: number; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/BotAmount.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/BotAmount.d.ts new file mode 100644 index 0000000..d0e1df1 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/BotAmount.d.ts @@ -0,0 +1,7 @@ +export declare enum BotAmount { + AsOnline = "AsOnline", + Low = "Low", + Medium = "Medium", + High = "High", + Horde = "Horde" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/BotDifficulty.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/BotDifficulty.d.ts new file mode 100644 index 0000000..c901bcf --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/BotDifficulty.d.ts @@ -0,0 +1,8 @@ +export declare enum BotDifficulty { + AsOnline = "AsOnline", + Easy = "Easy", + Medium = "Medium", + Hard = "Hard", + Impossible = "Impossible", + Random = "Random" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/ConfigTypes.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/ConfigTypes.d.ts index 6bd31e8..1c49e62 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/ConfigTypes.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/ConfigTypes.d.ts @@ -8,6 +8,7 @@ export declare enum ConfigTypes { IN_RAID = "aki-inraid", INSURANCE = "aki-insurance", INVENTORY = "aki-inventory", + LOCALE = "aki-locale", LOCATION = "aki-location", MATCH = "aki-match", QUEST = "aki-quest", diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/QuestRewardType.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/QuestRewardType.d.ts new file mode 100644 index 0000000..1d3db86 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/QuestRewardType.d.ts @@ -0,0 +1,8 @@ +export declare enum QuestRewardType { + Skill = "Skill", + Experience = "Experience", + TraderStanding = "TraderStanding", + TraderUnlock = "TraderUnlock", + Item = "Item", + AssortmentUnlock = "AssortmentUnlock" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/RaidMode.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/RaidMode.d.ts new file mode 100644 index 0000000..c5a8cff --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/enums/RaidMode.d.ts @@ -0,0 +1,5 @@ +export declare enum RaidMode { + Online = "Online", + Local = "Local", + Coop = "Coop" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPostAkiLoadMod.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPostAkiLoadMod.d.ts new file mode 100644 index 0000000..f6950e8 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPostAkiLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPostAkiLoadMod { + postAkiLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPostDBLoadMod.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPostDBLoadMod.d.ts new file mode 100644 index 0000000..ca7c682 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPostDBLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPostDBLoadMod { + postDBLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPreAkiLoadMod.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPreAkiLoadMod.d.ts new file mode 100644 index 0000000..ae7579e --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/external/IPreAkiLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPreAkiLoadMod { + preAkiLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/bots/BotLootCache.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/bots/BotLootCache.d.ts new file mode 100644 index 0000000..e185315 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/bots/BotLootCache.d.ts @@ -0,0 +1,23 @@ +import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; +export declare class BotLootCache { + backpackLoot: ITemplateItem[]; + pocketLoot: ITemplateItem[]; + vestLoot: ITemplateItem[]; + combinedPoolLoot: ITemplateItem[]; + specialItems: ITemplateItem[]; + healingItems: ITemplateItem[]; + drugItems: ITemplateItem[]; + stimItems: ITemplateItem[]; + grenadeItems: ITemplateItem[]; +} +export declare enum LootCacheType { + Special = "Special", + Backpack = "Backpack", + Pocket = "Pocket", + Vest = "Vest", + Combined = "Combined", + HealingItems = "HealingItems", + DrugItems = "DrugItems", + StimItems = "StimItems", + GrenadeItems = "GrenadeItems" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IBotConfig.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IBotConfig.d.ts index 5fb9d93..f8cf39b 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IBotConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IBotConfig.d.ts @@ -18,6 +18,7 @@ export interface PresetBatch { bossKojaniy: number; bossSanitar: number; bossTagilla: number; + bossKnight: number; bossTest: number; cursedAssault: number; followerBully: number; @@ -28,6 +29,8 @@ export interface PresetBatch { followerKojaniy: number; followerSanitar: number; followerTagilla: number; + followerBirdEye: number; + followerBigPipe: number; followerTest: number; marksman: number; pmcBot: number; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IInRaidConfig.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IInRaidConfig.d.ts index baaf083..3ae2972 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IInRaidConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IInRaidConfig.d.ts @@ -14,6 +14,7 @@ export interface RaidMenuSettings { bossEnabled: boolean; scavWars: boolean; taggedAndCursed: boolean; + enablePve: boolean; } export interface Save { loot: boolean; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/ILocaleConfig.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/ILocaleConfig.d.ts new file mode 100644 index 0000000..fe9abf7 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/ILocaleConfig.d.ts @@ -0,0 +1,5 @@ +import { IBaseConfig } from "./IBaseConfig"; +export interface ILocaleConfig extends IBaseConfig { + kind: "aki-locale"; + desiredLocale: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IRagfairConfig.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IRagfairConfig.d.ts index 2d151ca..8518252 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IRagfairConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/IRagfairConfig.d.ts @@ -30,6 +30,7 @@ export interface Dynamic { expiredOfferThreshold: number; offerItemCount: MinMax; price: MinMax; + presetPrice: MinMax; endTimeSeconds: MinMax; condition: Condition; stackablePercent: MinMax; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/ITraderConfig.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/ITraderConfig.d.ts index dab73e3..c8e8044 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/ITraderConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/config/ITraderConfig.d.ts @@ -3,13 +3,17 @@ export interface ITraderConfig extends IBaseConfig { kind: "aki-trader"; updateTime: UpdateTime[]; updateTimeDefault: number; - fenceAssortSize: number; - fenceMaxPresetsCount: number; - fencePresetPriceMult: number; + traderPriceMultipler: number; minDurabilityForSale: number; - fenceItemIgnoreList: string[]; + fence: FenceConfig; } export interface UpdateTime { traderId: string; seconds: number; } +export interface FenceConfig { + assortSize: number; + maxPresetsCount: number; + presetPriceMult: number; + blacklist: string[]; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/LogBackgroundColor.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/LogBackgroundColor.d.ts new file mode 100644 index 0000000..87e08a9 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/LogBackgroundColor.d.ts @@ -0,0 +1,11 @@ +export declare enum LogBackgroundColor { + default = "", + black = "blackBG", + red = "redBG", + green = "greenBG", + yellow = "yellowBG", + blue = "blueBG", + magenta = "magentaBG", + cyan = "cyanBG", + white = "whiteBG" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/LogTextColor.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/LogTextColor.d.ts new file mode 100644 index 0000000..7147ae3 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/LogTextColor.d.ts @@ -0,0 +1,11 @@ +export declare enum LogTextColor { + black = "black", + red = "red", + green = "green", + yellow = "yellow", + blue = "blue", + magenta = "magenta", + cyan = "cyan", + white = "white", + gray = "" +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/SptLogger.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/SptLogger.d.ts new file mode 100644 index 0000000..ea1b3d8 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/logging/SptLogger.d.ts @@ -0,0 +1,7 @@ +export interface SptLogger { + error: (msg: string | Record) => void; + warn: (msg: string | Record) => void; + succ?: (msg: string | Record) => void; + info: (msg: string | Record) => void; + debug: (msg: string | Record) => void; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/server/IDatabaseTables.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/server/IDatabaseTables.d.ts index e0d3fdd..9978459 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/server/IDatabaseTables.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/server/IDatabaseTables.d.ts @@ -6,6 +6,7 @@ import { ICustomizationItem } from "../../eft/common/tables/ICustomizationItem"; import { IHandbookBase } from "../../eft/common/tables/IHandbookBase"; import { ILootBase } from "../../eft/common/tables/ILootBase"; import { IMatch } from "../../eft/common/tables/IMatch"; +import { IProfileTemplates } from "../../eft/common/tables/IProfileTemplate"; import { IQuest } from "../../eft/common/tables/IQuest"; import { IRepeatableQuestDatabase } from "../../eft/common/tables/IRepeatableQuests"; import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; @@ -39,10 +40,13 @@ export interface IDatabaseTables { items: Record; quests: IQuest[]; repeatableQuests: IRepeatableQuestDatabase; + /** DEPRECATED - Items file found in the client, massivly out of date compared to templates.items, try not to use this, remove ASAP*/ clientItems: Record; handbook: IHandbookBase; customization: Record; - profiles: any; + /** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */ + profiles: IProfileTemplates; + /** Flea prices of items - gathered from online flea market dump */ prices: Record; }; traders?: Record; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/utils/ILogger.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/utils/ILogger.d.ts index c983701..2af3fac 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/utils/ILogger.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/models/spt/utils/ILogger.d.ts @@ -1,7 +1,10 @@ import { Daum } from "../../eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "../logging/LogBackgroundColor"; +import { LogTextColor } from "../logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; - log(data: string | Record | Error, color: string): void; + log(data: string | Record | Error, color: string, backgroundColor?: string): void; + logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): void; error(data: string): void; warning(data: string): void; success(data: string): void; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/servers/RagfairServer.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/servers/RagfairServer.d.ts index 60c92b5..bc86cdb 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/servers/RagfairServer.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/servers/RagfairServer.d.ts @@ -17,7 +17,8 @@ export declare class RagfairServer { constructor(logger: ILogger, ragfairOfferGenerator: RagfairOfferGenerator, ragfairOfferService: RagfairOfferService, ragfairCategoriesService: RagfairCategoriesService, ragfairRequiredItemsService: RagfairRequiredItemsService, configServer: ConfigServer); load(): void; update(): void; - getCategories(): Record; + getAllCategories(): Record; + getBespokeCategories(offers: IRagfairOffer[]): Record; /** * Disable/Hide an offer from flea * @param offerId diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/BotLootCacheService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/BotLootCacheService.d.ts new file mode 100644 index 0000000..72eb332 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/BotLootCacheService.d.ts @@ -0,0 +1,59 @@ +import { PMCLootGenerator } from "../generators/PMCLootGenerator"; +import { Items } from "../models/eft/common/tables/IBotType"; +import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; +import { BotLootCache, LootCacheType } from "../models/spt/bots/BotLootCache"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { JsonUtil } from "../utils/JsonUtil"; +import { RagfairPriceService } from "./RagfairPriceService"; +export declare class BotLootCacheService { + protected logger: ILogger; + protected jsonUtil: JsonUtil; + protected databaseServer: DatabaseServer; + protected pmcLootGenerator: PMCLootGenerator; + protected ragfairPriceService: RagfairPriceService; + protected lootCache: Record; + constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, ragfairPriceService: RagfairPriceService); + /** + * Remove all cached bot loot data + */ + clearCache(): void; + /** + * Get the fully created loot array, ordered by price low to high + * @param botRole bot to get loot for + * @param isPmc is the bot a pmc + * @param lootType what type of loot is needed + * @param lootPool the full pool of loot (needed when cache is empty) + * @returns ITemplateItem array + */ + getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): ITemplateItem[]; + /** + * Generate loot for a bot and store inside a private class property + * @param botRole + * @param lootType + * @param lootPool the full pool of loot we use to create the various sub-categories with + * @param isPmc + */ + protected addLootToCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): void; + /** + * Check if a bot type exists inside the loot cache + * @param botRole role to check for + * @returns true if they exist + */ + protected botRoleExistsInCache(botRole: string): boolean; + /** + * If lootcache is null, init with empty property arrays + * @param botRole Bot role to hydrate + */ + protected initCacheForBotRole(botRole: string): void; + /** + * Compares two item prices by their flea (or handbook if that doesnt exist) price + * -1 when a < b + * 0 when a === b + * 1 when a > b + * @param itemAPrice + * @param itemBPrice + * @returns + */ + protected compareByValue(itemAPrice: number, itemBPrice: number): number; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/FenceService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/FenceService.d.ts index 12723fb..79058c6 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/services/FenceService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/FenceService.d.ts @@ -29,8 +29,8 @@ export declare class FenceService { hasExpiredCache(refreshAssort: boolean): boolean; generateFenceAssortCache(pmcData: IPmcData): void; /** - * - * @param pmcData Get the fence level the passed in profile has + * Get the fence level the passed in profile has + * @param pmcData Player profile * @returns FenceLevel */ getFenceInfo(pmcData: IPmcData): FenceLevel; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/LocaleService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/LocaleService.d.ts new file mode 100644 index 0000000..33bea7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/LocaleService.d.ts @@ -0,0 +1,14 @@ +import { ILocaleConfig } from "../models/spt/config/ILocaleConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; +export declare class LocaleService { + protected logger: ILogger; + protected configServer: ConfigServer; + protected localeConfig: ILocaleConfig; + constructor(logger: ILogger, configServer: ConfigServer); + /** + * Gets the locale key from the locale.json file + * @returns locale e.g en/ge/cz/cn + */ + getDesiredLocale(): string; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/MatchLocationService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/MatchLocationService.d.ts index 2b5fc0e..c027bec 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/services/MatchLocationService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/MatchLocationService.d.ts @@ -1,8 +1,9 @@ +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { TimeUtil } from "../utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected locations: {}; constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: any): any; + createGroup(sessionID: string, info: ICreateGroupRequestData): any; deleteGroup(info: any): void; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/PaymentService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/PaymentService.d.ts index 5834750..a5e538f 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/services/PaymentService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/PaymentService.d.ts @@ -45,5 +45,22 @@ export declare class PaymentService { * ancestor with slotId=hideout */ protected isItemInStash(pmcData: IPmcData, item: Item): boolean; + /** + * Remove currency from player stash/inventory + * @param pmcData Player profile to find and remove currency from + * @param currencyTpl Type of currency to pay + * @param amountToPay money value to pay + * @param sessionID Sessino id + * @param output output object to send to client + * @returns IItemEventRouterResponse + */ addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + /** + * Prioritise player stash first over player inventory + * Post-raid healing would often take money out of the players pockets/secure container + * @param a Firsat money stack item + * @param b Second money stack item + * @returns sorted item + */ + protected moneySort(a: Item, b: Item): number; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/ProfileFixerService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/ProfileFixerService.d.ts new file mode 100644 index 0000000..313a907 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/ProfileFixerService.d.ts @@ -0,0 +1,40 @@ +import { IPmcData } from "../models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; +import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { Watermark } from "../utils/Watermark"; +export declare class ProfileFixerService { + protected logger: ILogger; + protected watermark: Watermark; + protected databaseServer: DatabaseServer; + constructor(logger: ILogger, watermark: Watermark, databaseServer: DatabaseServer); + /** + * Find issues in the pmc profile data that may cause issues and fix them + * @param pmcProfile profile to check and fix + */ + checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void; + /** + * Add tag to profile to indicate when it was made + * @param fullProfile + */ + addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + /** + * TODO - make this non-public - currently used by RepeatableQuestController + * Remove unused condition counters + * @param pmcProfile profile to remove old counters from + */ + removeDanglingConditionCounters(pmcProfile: IPmcData): void; + protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; + protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; + protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; + protected addMissingBonusesProperty(pmcProfile: IPmcData): void; + protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; + protected addMissingWorkbenchWeaponSkills(pmcProfile: IPmcData): void; + /** + * In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots + * @param pmcProfile + */ + protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void; + addMissingArmorRepairSkill(pmcProfile: IPmcData): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairCategoriesService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairCategoriesService.d.ts index 09956cc..83910e5 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairCategoriesService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairCategoriesService.d.ts @@ -1,10 +1,40 @@ import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "../models/spt/utils/ILogger"; export declare class RagfairCategoriesService { - updateCategories(offers: IRagfairOffer[]): void; + protected logger: ILogger; protected categories: Record; - getCategories(): Record; - getCategoryByItemId(itemId: string): number; - resetCategories(): void; - setCategoryValue(itemId: string, newValue: number): void; - incrementCategory(itemId: string): void; + constructor(logger: ILogger); + /** + * Get all flea categories and their count of offers + * @returns item categories and count + */ + getAllCategories(): Record; + /** + * With the supplied items, get custom categories + * @returns a custom list of categories + */ + getBespokeCategories(offers: IRagfairOffer[]): Record; + /** + * Take an array of ragfair offers and create a dictionary of items with thier corrisponding offer count + * @param offers ragfair offers + * @returns categories and count + */ + protected processOffersIntoCategories(offers: IRagfairOffer[]): Record; + /** + * Increment or decrement a category array + * @param offer offer to process + * @param categories categories to update + * @param increment should item be incremented or decremented + */ + protected addOrIncrementCategory(offer: IRagfairOffer, categories: Record, increment?: boolean): void; + /** + * Increase category count by 1 + * @param offer + */ + incrementCategory(offer: IRagfairOffer): void; + /** + * Reduce category count by 1 + * @param offer + */ + decrementCategory(offer: IRagfairOffer): void; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairOfferService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairOfferService.d.ts index 7afbf8c..7398a8f 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairOfferService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairOfferService.d.ts @@ -11,12 +11,14 @@ import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; import { HttpResponseUtil } from "../utils/HttpResponseUtil"; import { TimeUtil } from "../utils/TimeUtil"; +import { RagfairCategoriesService } from "./RagfairCategoriesService"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; protected databaseServer: DatabaseServer; protected saveServer: SaveServer; protected ragfairServerHelper: RagfairServerHelper; + protected ragfairCategoriesService: RagfairCategoriesService; protected profileHelper: ProfileHelper; protected itemEventRouter: ItemEventRouter; protected httpResponse: HttpResponseUtil; @@ -26,12 +28,16 @@ export declare class RagfairOfferService { protected expiredOffers: Item[]; protected offers: IRagfairOffer[]; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, ragfairCategoriesService: RagfairCategoriesService, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); + /** + * Get all offers + * @returns IRagfairOffer array + */ getOffers(): IRagfairOffer[]; getOfferByOfferId(offerId: string): IRagfairOffer; getOffersOfType(templateId: string): IRagfairOffer[]; addOffer(offer: IRagfairOffer): void; - addOfferToExpired(offer: Item): void; + addOfferToExpired(staleOffer: IRagfairOffer): void; setTraderUpdateStatus(traderId: string, shouldUpdate: boolean): void; shouldTraderBeUpdated(traderID: string): boolean; getExpiredOfferCount(): number; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairPriceService.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairPriceService.d.ts index 5256b99..e33bbb9 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairPriceService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/services/RagfairPriceService.d.ts @@ -1,6 +1,7 @@ import { HandbookHelper } from "../helpers/HandbookHelper"; import { ItemHelper } from "../helpers/ItemHelper"; import { PresetHelper } from "../helpers/PresetHelper"; +import { Preset } from "../models/eft/common/IGlobals"; import { Item } from "../models/eft/common/tables/IItem"; import { IBarterScheme } from "../models/eft/common/tables/ITrader"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; @@ -28,5 +29,26 @@ export declare class RagfairPriceService { getFleaPriceForItem(tplId: string): number; getBarterPrice(barterScheme: IBarterScheme[]): number; getDynamicOfferPrice(items: Item[], desiredCurrency: string): number; + /** + * Multiply the price by a randomised curve where n = 2, shift = 2 + * @param existingPrice price to alter + * @param isPreset is the item we're multiplying a preset + * @returns multiplied price + */ + protected randomisePrice(existingPrice: number, isPreset: boolean): number; + /** + * Calculate the cost of a weapon preset by adding together the price of its mods + base price of default weapon preset + * @param item base weapon + * @param items weapon plus mods + * @param existingPrice price of existing base weapon + * @returns + */ getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; + /** + * Attempt to get the default preset for a weapon, failing that get the first preset in the array + * (assumes default = has encyclopedia entry) + * @param presets weapon presets to choose from + * @returns Default preset object + */ + protected getDefaultWeaponPreset(presets: Preset[], weapon: Item): Preset; } diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/utils/DatabaseImporter.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/utils/DatabaseImporter.d.ts index 24c1cd6..483e135 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/utils/DatabaseImporter.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/utils/DatabaseImporter.d.ts @@ -3,10 +3,6 @@ import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; import { ILogger } from "../models/spt/utils/ILogger"; import { ImageRouter } from "../routers/ImageRouter"; import { DatabaseServer } from "../servers/DatabaseServer"; -import { CustomHandbookItemService } from "../services/CustomHandbookItemService"; -import { CustomItemService } from "../services/CustomItemService"; -import { CustomPresetService } from "../services/customPresetService"; -import { CustomTraderAssortService } from "../services/CustomTraderAssortService"; import { JsonUtil } from "./JsonUtil"; import { VFS } from "./VFS"; export declare class DatabaseImporter extends OnLoad { @@ -14,38 +10,14 @@ export declare class DatabaseImporter extends OnLoad { protected vfs: VFS; protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; - protected customItemService: CustomItemService; - protected customTraderAssortService: CustomTraderAssortService; - protected customHandbookItemService: CustomHandbookItemService; - protected customPresetService: CustomPresetService; protected imageRouter: ImageRouter; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, customItemService: CustomItemService, customTraderAssortService: CustomTraderAssortService, customHandbookItemService: CustomHandbookItemService, customPresetService: CustomPresetService, imageRouter: ImageRouter); + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, imageRouter: ImageRouter); onLoad(): void; /** * Read all json files in database folder and map into a json object * @param filepath path to database folder */ protected hydrateDatabase(filepath: string): void; - /** - * Get all items added through CustomItemService and add to database.templates.items - * @param dataToImport db data to amend - */ - protected addCustomItemsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all assorts added through CustomTraderAssortService and add to database.traders[x].assort - * @param dataToImport db data to amend - */ - protected addCustomTraderAssortsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all custom handbook items added through CustomHandbookItemService and add to database.templates.handbook.items - * @param dataToImport db data to amend - */ - protected addCustomHandbookItemsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all custom preset items added through CustomPresetService and add to database.globals.ItemPresets - * @param dataToImport - */ - protected addCustomPresetsToDb(dataToImport: IDatabaseTables): void; getRoute(): string; loadRecursive(filepath: string): IDatabaseTables; loadImages(filepath: string): void; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/utils/Logger.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/utils/Logger.d.ts index f5b774b..3d9013f 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/utils/Logger.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/utils/Logger.d.ts @@ -1,17 +1,13 @@ /// -import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { ILogger } from "../models/spt/utils/ILogger"; -import winston from "winston"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; import fs from "fs"; -interface SptLogger { - error: (msg: string | Record) => void; - warn: (msg: string | Record) => void; - succ?: (msg: string | Record) => void; - info: (msg: string | Record) => void; - debug: (msg: string | Record) => void; -} +import winston from "winston"; +import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "../models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "../models/spt/logging/LogTextColor"; +import { SptLogger } from "../models/spt/logging/SptLogger"; +import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; export declare class WinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected uuidGenerator: IUUidGenerator; @@ -36,16 +32,27 @@ export declare class WinstonLogger implements ILogger { custom: string; debug: string; }; + bgColors: { + default: string; + blackBG: string; + redBG: string; + greenBG: string; + yellowBG: string; + blueBG: string; + magentaBG: string; + cyanBG: string; + whiteBG: string; + }; }; protected logger: winston.Logger & SptLogger; - writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; + protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); writeToLogFile(data: string | Daum): Promise; - log(data: string | Error | Record, color: string): Promise; + log(data: string | Error | Record, color: string, backgroundColor?: string): Promise; error(data: string | Record): Promise; warning(data: string | Record): Promise; success(data: string | Record): Promise; info(data: string | Record): Promise; + logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): Promise; debug(data: string | Record, onlyShowInConsole?: boolean): Promise; } -export {}; diff --git a/KcY-SeeItemValue/itemValue/server/dist/types/utils/Watermark.d.ts b/KcY-SeeItemValue/itemValue/server/dist/types/utils/Watermark.d.ts index 111bdd0..c6dc120 100644 --- a/KcY-SeeItemValue/itemValue/server/dist/types/utils/Watermark.d.ts +++ b/KcY-SeeItemValue/itemValue/server/dist/types/utils/Watermark.d.ts @@ -28,7 +28,12 @@ export declare class Watermark { protected text: string[]; protected versionLabel: string; initialize(): void; - getVersionTag(): string; + /** + * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) + * @param withEftVersion Include the eft version this spt version was made for + * @returns string + */ + getVersionTag(withEftVersion?: boolean): string; getVersionLabel(): string; /** Set window title */ setTitle(): void; diff --git a/KcY-SeeItemValue/itemValue/server/package.json b/KcY-SeeItemValue/itemValue/server/package.json index 3b4886e..36adb2e 100644 --- a/KcY-SeeItemValue/itemValue/server/package.json +++ b/KcY-SeeItemValue/itemValue/server/package.json @@ -1,11 +1,11 @@ { "name": "SeeItemValue", "author": "KcY", - "version": "1.3.3", + "version": "1.3.6", "license": "NCSA Open Source", "main": "src/mod.js", - "akiVersion": "3.0.0", - "UpdatedBy": "CWX", + "akiVersion": "3.1.0", + "UpdatedBy": "CWX, Valens", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/KcY-SeeItemValue/itemValue/server/src/mod.ts b/KcY-SeeItemValue/itemValue/server/src/mod.ts index 6373f11..2f697fa 100644 --- a/KcY-SeeItemValue/itemValue/server/src/mod.ts +++ b/KcY-SeeItemValue/itemValue/server/src/mod.ts @@ -30,7 +30,7 @@ class SeeItemValue implements IMod private tradersArr; private cfg; - public load(container: DependencyContainer) + public preAkiLoad(container: DependencyContainer) { this.pkg = require("../package.json"); this.router = container.resolve("DynamicRouterModService"); @@ -41,7 +41,7 @@ class SeeItemValue implements IMod this.addRoute() } - public delayedLoad(container: DependencyContainer) + public postAkiLoad(container: DependencyContainer) { this.database = container.resolve("DatabaseServer"); this.table = this.database.getTables(); diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/GameCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/GameCallbacks.d.ts index d5cad76..06da1b5 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/GameCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/GameCallbacks.d.ts @@ -2,6 +2,7 @@ import { GameController } from "../controllers/GameController"; import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; import { IGameEmptyCrcRequestData } from "../models/eft/game/IGameEmptyCrcRequestData"; +import { IReportNicknameRequestData } from "../models/eft/game/IReportNicknameRequestData"; import { IVersionValidateRequestData } from "../models/eft/game/IVersionValidateRequestData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; @@ -20,5 +21,6 @@ declare class GameCallbacks { validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; + reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; } export { GameCallbacks }; diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/HealthCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/HealthCallbacks.d.ts index 8f7b89d..8672be7 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/HealthCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/HealthCallbacks.d.ts @@ -13,6 +13,13 @@ export declare class HealthCallbacks { protected profileHelper: ProfileHelper; protected healthController: HealthController; constructor(httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, healthController: HealthController); + /** + * Custom aki server request found in modules/HealthSynchronizer.cs + * @param url + * @param info HealthListener.Instance.CurrentHealth class + * @param sessionID session id + * @returns empty response, no data sent back to client + */ syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/InsuranceCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/InsuranceCallbacks.d.ts index 520d0eb..6819960 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/InsuranceCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/InsuranceCallbacks.d.ts @@ -3,6 +3,7 @@ import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; @@ -17,7 +18,7 @@ export declare class InsuranceCallbacks extends OnLoadOnUpdate { protected insuranceConfig: IInsuranceConfig; constructor(insuranceController: InsuranceController, insuranceService: InsuranceService, httpResponse: HttpResponseUtil, configServer: ConfigServer); onLoad(): void; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; + getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; onUpdate(secondsSinceLastRun: number): boolean; getRoute(): string; diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/MatchCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/MatchCallbacks.d.ts index 083c1f5..2a92ef5 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/MatchCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/MatchCallbacks.d.ts @@ -1,10 +1,17 @@ import { MatchController } from "../controllers/MatchController"; +import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; +import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; +import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; +import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; +import { IPutMetricsRequestData } from "../models/eft/match/IPutMetricsRequestData"; import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; +import { IUpdatePingRequestData } from "../models/eft/match/IUpdatePingRequestData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { HttpResponseUtil } from "../utils/HttpResponseUtil"; import { JsonUtil } from "../utils/JsonUtil"; @@ -14,21 +21,21 @@ export declare class MatchCallbacks { protected matchController: MatchController; protected databaseServer: DatabaseServer; constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, matchController: MatchController, databaseServer: DatabaseServer); - updatePing(url: string, info: any, sessionID: string): INullResponseData; - exitMatch(url: string, info: any, sessionID: string): INullResponseData; - exitToMenu(url: string, info: any, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: any, sessionID: string): INullResponseData; + updatePing(url: string, info: IUpdatePingRequestData, sessionID: string): INullResponseData; + exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; + stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: any, sessionID: string): INullResponseData; + putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: any, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: any, sessionID: string): IGetBodyResponseData; + serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; + joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: any, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: any, sessionID: string): IGetBodyResponseData; + getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; + createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; deleteGroup(url: string, info: any, sessionID: string): INullResponseData; startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/ModCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/ModCallbacks.d.ts index 866abf7..58342dc 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/ModCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/ModCallbacks.d.ts @@ -1,5 +1,5 @@ import { OnLoad } from "../di/OnLoad"; -import { DelayedModLoader } from "../loaders/DelayedModLoader"; +import { PostAkiModLoader } from "../loaders/PostAkiModLoader"; import { IHttpConfig } from "../models/spt/config/IHttpConfig"; import { IHttpServer } from "../models/spt/server/IHttpServer"; import { ILogger } from "../models/spt/utils/ILogger"; @@ -9,10 +9,10 @@ declare class ModCallbacks extends OnLoad { protected logger: ILogger; protected httpResponse: HttpResponseUtil; protected httpServer: IHttpServer; - protected modLoader: DelayedModLoader; + protected postAkiModLoader: PostAkiModLoader; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, modLoader: DelayedModLoader, configServer: ConfigServer); + constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, postAkiModLoader: PostAkiModLoader, configServer: ConfigServer); onLoad(): void; getRoute(): string; sendBundle(sessionID: string, req: any, resp: any, body: any): void; diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/PresetBuildCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/PresetBuildCallbacks.d.ts index 8a0c155..541715a 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/PresetBuildCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/PresetBuildCallbacks.d.ts @@ -1,4 +1,5 @@ import { PresetBuildController } from "../controllers/PresetBuildController"; +import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; @@ -9,7 +10,7 @@ export declare class PresetBuildCallbacks { protected httpResponse: HttpResponseUtil; protected presetBuildController: PresetBuildController; constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; + getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; } diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/ProfileCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/ProfileCallbacks.d.ts index 116e7c5..6a86fc0 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/ProfileCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/ProfileCallbacks.d.ts @@ -3,6 +3,7 @@ import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; +import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; @@ -23,7 +24,14 @@ export declare class ProfileCallbacks { changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; + /** + * Called when creating a character, when you choose a character face/voice + * @param url + * @param info response (empty) + * @param sessionID + * @returns + */ + getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; getAllMiniProfiles(url: string, info: any, sessionID: string): string; diff --git a/KcY-SeeItemValue/itemValue/server/types/callbacks/RagfairCallbacks.d.ts b/KcY-SeeItemValue/itemValue/server/types/callbacks/RagfairCallbacks.d.ts index d5bab8b..3a405c9 100644 --- a/KcY-SeeItemValue/itemValue/server/types/callbacks/RagfairCallbacks.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/callbacks/RagfairCallbacks.d.ts @@ -9,8 +9,10 @@ import { IAddOfferRequestData } from "../models/eft/ragfair/IAddOfferRequestData import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; +import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; import { IRemoveOfferRequestData } from "../models/eft/ragfair/IRemoveOfferRequestData"; import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; +import { ISendRagfairReportRequestData } from "../models/eft/ragfair/ISendRagfairReportRequestData"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; @@ -28,12 +30,12 @@ export declare class RagfairCallbacks extends OnLoadOnUpdate { constructor(httpResponse: HttpResponseUtil, logger: ILogger, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, configServer: ConfigServer); onLoad(): void; getRoute(): string; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; + search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; onUpdate(timeSinceLastRun: number): boolean; - sendReport(url: string, info: any, sessionID: string): INullResponseData; + sendReport(url: string, info: ISendRagfairReportRequestData, sessionID: string): INullResponseData; } diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/GameController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/GameController.d.ts index 7f632d6..85ec418 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/GameController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/GameController.d.ts @@ -1,33 +1,28 @@ -import { GameHelper } from "../helpers/GameHelper"; import { HttpServerHelper } from "../helpers/HttpServerHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; +import { ICoreConfig } from "../models/spt/config/ICoreConfig"; import { IHttpConfig } from "../models/spt/config/IHttpConfig"; import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; +import { LocaleService } from "../services/LocaleService"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { Watermark } from "../utils/Watermark"; export declare class GameController { protected logger: ILogger; protected watermark: Watermark; protected httpServerHelper: HttpServerHelper; + protected localeService: LocaleService; protected profileHelper: ProfileHelper; - protected gameHelper: GameHelper; + protected profileFixerService: ProfileFixerService; protected configServer: ConfigServer; protected httpConfig: IHttpConfig; - constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, profileHelper: ProfileHelper, gameHelper: GameHelper, configServer: ConfigServer); + protected coreConfig: ICoreConfig; + constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, localeService: LocaleService, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, configServer: ConfigServer); gameStart(_url: string, _info: IEmptyRequestData, sessionID: string): void; - protected addMissingBonusesProperty(pmcProfile: IPmcData): void; - protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; - protected addMissingWeaponRepairSkill(pmcProfile: IPmcData): void; - protected addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; - protected addMissingArmorRepairSkill(pmcProfile: IPmcData): void; - protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; + protected logProfileDetails(fullProfile: IAkiProfile): void; getGameConfig(sessionID: string): IGameConfigResponse; getServer(): any[]; - protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; } diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/HealthController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/HealthController.d.ts index aafb8df..cc13603 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/HealthController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/HealthController.d.ts @@ -18,8 +18,29 @@ export declare class HealthController { protected inventoryHelper: InventoryHelper; protected healthHelper: HealthHelper; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, healthHelper: HealthHelper); - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string): void; + /** + * stores in-raid player health + * @param pmcData Player profile + * @param info Request data + * @param sessionID + * @param addEffects Should effects found be added or removed from profile + */ + saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; + /** + * When healing in menu + * @param pmcData + * @param body + * @param sessionID + * @returns + */ offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Occurs on post-raid healing page + * @param pmcData player profile + * @param info Request data from client + * @param sessionID Session id + * @returns + */ healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; } diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/InsuranceController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/InsuranceController.d.ts index db2c567..af45442 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/InsuranceController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/InsuranceController.d.ts @@ -3,6 +3,7 @@ import { ItemHelper } from "../helpers/ItemHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; +import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; @@ -33,6 +34,12 @@ export declare class InsuranceController { insuranceService: InsuranceService, configServer: ConfigServer); processReturn(): void; insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - cost(info: IGetInsuranceCostRequestData, sessionID: string): any; + /** + * Calculate insurance cost + * @param info request object + * @param sessionID session id + * @returns response object to send to client + */ + cost(info: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; doAbsolutelyNothing(): void; } diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/InventoryController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/InventoryController.d.ts index b732aa9..f57f731 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/InventoryController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/InventoryController.d.ts @@ -24,6 +24,8 @@ import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRout import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { FenceService } from "../services/FenceService"; +import { RagfairOfferService } from "../services/RagfairOfferService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; export declare class InventoryController { @@ -31,12 +33,14 @@ export declare class InventoryController { protected hashUtil: HashUtil; protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; + protected fenceService: FenceService; protected presetHelper: PresetHelper; protected inventoryHelper: InventoryHelper; + protected ragfairOfferService: RagfairOfferService; protected profileHelper: ProfileHelper; protected paymentHelper: PaymentHelper; protected itemEventRouter: ItemEventRouter; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); + constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); /** * Move Item * change location of item with parentId and slotId @@ -93,9 +97,19 @@ export declare class InventoryController { tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; /** - * Handles examining of the item * + * Handles examining an item + * @param pmcData player profile + * @param body request object + * @param sessionID session id + * @returns response */ examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; + /** + * Get the tplid of an item from the examine request object + * @param body response request + * @returns tplid + */ + protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; /** * Handles sorting of Inventory. diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/MatchController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/MatchController.d.ts index c322d96..0851ab0 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/MatchController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/MatchController.d.ts @@ -1,30 +1,36 @@ import { ProfileHelper } from "../helpers/ProfileHelper"; import { TraderHelper } from "../helpers/TraderHelper"; import { IPmcData } from "../models/eft/common/IPmcData"; +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; +import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; +import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; +import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; import { IMatchConfig } from "../models/spt/config/IMatchConfig"; import { ConfigServer } from "../servers/ConfigServer"; import { SaveServer } from "../servers/SaveServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { MatchLocationService } from "../services/MatchLocationService"; export declare class MatchController { protected saveServer: SaveServer; protected profileHelper: ProfileHelper; protected matchLocationService: MatchLocationService; protected traderHelper: TraderHelper; + protected botLootCacheService: BotLootCacheService; protected configServer: ConfigServer; protected matchConfig: IMatchConfig; protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, configServer: ConfigServer); + constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer); getEnabled(): boolean; getProfile(info: IGetProfileRequestData): IPmcData[]; - protected getMatch(location: any): any; - createGroup(sessionID: string, info: any): any; + createGroup(sessionID: string, info: ICreateGroupRequestData): any; deleteGroup(info: any): void; - joinMatch(info: any, sessionID: string): any[]; - getGroupStatus(info: any): any; + joinMatch(info: IJoinMatchRequestData, sessionID: string): IJoinMatchResult[]; + protected getMatch(location: string): any; + getGroupStatus(info: IGetGroupStatusRequestData): any; startOfflineRaid(info: IStartOfflineRaidRequestData, sessionID: string): void; endOfflineRaid(info: IEndOfflineRaidRequestData, sessionID: string): void; } diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/ProfileController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/ProfileController.d.ts index 9b7a6d5..b40bb7d 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/ProfileController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/ProfileController.d.ts @@ -11,6 +11,7 @@ import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendRespon import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { HashUtil } from "../utils/HashUtil"; import { TimeUtil } from "../utils/TimeUtil"; export declare class ProfileController { @@ -19,13 +20,20 @@ export declare class ProfileController { protected saveServer: SaveServer; protected databaseServer: DatabaseServer; protected itemHelper: ItemHelper; + protected profileFixerService: ProfileFixerService; protected traderHelper: TraderHelper; protected extendedProfileHelper: ExtendedProfileHelper; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, traderHelper: TraderHelper, extendedProfileHelper: ExtendedProfileHelper); + constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, traderHelper: TraderHelper, extendedProfileHelper: ExtendedProfileHelper); getMiniProfiles(): IMiniProfile[]; getMiniProfile(sessionID: string): any; getCompleteProfile(sessionID: string): IPmcData[]; createProfile(info: IProfileCreateRequestData, sessionID: string): void; + /** + * Generate a player scav object + * pmc profile MUST exist first before pscav can be generated + * @param sessionID + * @returns IPmcData object + */ generatePlayerScav(sessionID: string): IPmcData; validateNickname(info: IValidateNicknameRequestData, sessionID: string): string; changeNickname(info: IProfileChangeNicknameRequestData, sessionID: string): string; diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/QuestController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/QuestController.d.ts index c00cd6d..2cbccfb 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/QuestController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/QuestController.d.ts @@ -14,6 +14,7 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; import { PlayerService } from "../services/PlayerService"; import { TimeUtil } from "../utils/TimeUtil"; export declare class QuestController { @@ -27,9 +28,10 @@ export declare class QuestController { protected questHelper: QuestHelper; protected questConditionHelper: QuestConditionHelper; protected playerService: PlayerService; + protected localeService: LocaleService; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, configServer: ConfigServer); /** * Get all quests visible to player * Exclude quests with incomplete preconditions (level/loyalty) diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/RagfairController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/RagfairController.d.ts index c758593..c4ffc15 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/RagfairController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/RagfairController.d.ts @@ -60,6 +60,8 @@ export declare class RagfairController { protected ragfairConfig: IRagfairConfig; constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxHelper: RagfairTaxHelper, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, configServer: ConfigServer); getOffers(sessionID: string, info: ISearchRequestData): IGetOffersResult; + protected isLinkedSearch(info: ISearchRequestData): boolean; + protected isRequiredSearch(info: ISearchRequestData): boolean; update(): void; getItemPrice(info: IGetMarketPriceRequestData): IGetItemPriceResult; addPlayerOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/KcY-SeeItemValue/itemValue/server/types/controllers/RepeatableQuestController.d.ts b/KcY-SeeItemValue/itemValue/server/types/controllers/RepeatableQuestController.d.ts index 9aa9590..2bb2aa9 100644 --- a/KcY-SeeItemValue/itemValue/server/types/controllers/RepeatableQuestController.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/controllers/RepeatableQuestController.d.ts @@ -1,4 +1,3 @@ -import { GameHelper } from "../helpers/GameHelper"; import { ItemHelper } from "../helpers/ItemHelper"; import { PresetHelper } from "../helpers/PresetHelper"; import { ProfileHelper } from "../helpers/ProfileHelper"; @@ -16,6 +15,7 @@ import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { PaymentService } from "../services/PaymentService"; +import { ProfileFixerService } from "../services/ProfileFixerService"; import { JsonUtil } from "../utils/JsonUtil"; import { MathUtil } from "../utils/MathUtil"; import { ObjectId } from "../utils/ObjectId"; @@ -58,14 +58,14 @@ export declare class RepeatableQuestController { protected itemHelper: ItemHelper; protected presetHelper: PresetHelper; protected profileHelper: ProfileHelper; - protected gameHelper: GameHelper; + protected profileFixerService: ProfileFixerService; protected ragfairServerHelper: RagfairServerHelper; protected itemEventRouter: ItemEventRouter; protected paymentService: PaymentService; protected objectId: ObjectId; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, gameHelper: GameHelper, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); + constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); /** * This is the method reached by the /client/repeatalbeQuests/activityPeriods endpoint * Returns an array of objects in the format of repeatable quests to the client. diff --git a/KcY-SeeItemValue/itemValue/server/types/generators/BotGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/types/generators/BotGenerator.d.ts index 88a8014..28f05a9 100644 --- a/KcY-SeeItemValue/itemValue/server/types/generators/BotGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/generators/BotGenerator.d.ts @@ -31,16 +31,54 @@ export declare class BotGenerator { protected botConfig: IBotConfig; constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botHelper: BotHelper, gameEventHelper: GameEventHelper, configServer: ConfigServer); generate(info: IGenerateBotsRequestData, playerScav?: boolean): IBotBase[]; + /** + * Choose if a bot should become a Pmc by checking if bot type is allowed to become a Pmc in bot config + * @param isPlayerScav is a player scav being generated, forces choice returned to never be a pmc + */ + protected shouldBotBePmc(isPlayerScav: boolean, role: string): boolean; + /** + * Get a randomised PMC side based on bot config value 'isUsec' + * @returns pmc side as string + */ + protected getRandomisedPmcSide(): string; + /** + * Get a clone of the database\bots\base.json file + * @returns IBotBase object + */ + protected getCloneOfBotBase(): IBotBase; protected generateBot(bot: IBotBase, role: string, isPmc: boolean): IBotBase; + /** + * Log the number of PMCs generated to the debug console + */ + protected logPmcGeneratedCount(output: IBotBase[]): void; protected generateRandomLevel(min: number, max: number): BotGenerator.IRandomisedBotLevelResult; - /** Converts health object to the required format */ + /** + * Converts health object to the required format + * @param healthObj health object from bot json + * @param playerScav Is a pscav bot being generated + * @returns PmcHealth object + */ protected generateHealth(healthObj: Health, playerScav?: boolean): PmcHealth; protected generateSkills(skillsObj: Skills): Skills; + /** + * Convert from pmc side (usec/bear) to the side as defined in the bot config (usecType/bearType) + * @param pmcSide eft side (usec/bear) + * @returns pmc side as defined in config + */ protected getPmcRole(pmcSide: string): string; + /** + * Iterate through bots inventory and loot to find and remove christmas items (as defined in GameEventHelper) + * @param nodeInventory Bots inventory to iterate over + */ protected removeChristmasItemsFromBotInventory(nodeInventory: Inventory): void; protected generateId(bot: IBotBase): IBotBase; protected generateInventoryID(profile: IBotBase): IBotBase; protected getPMCDifficulty(requestedDifficulty: string): string; + /** + * Add a side-specific (usec/bear) dogtag item to a bots inventory + * @param bot bot to add dogtag to + * @returns Bot with dogtag added + */ protected generateDogtag(bot: IBotBase): IBotBase; } export {}; diff --git a/KcY-SeeItemValue/itemValue/server/types/generators/BotLootGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/types/generators/BotLootGenerator.d.ts index 1d91836..2295f51 100644 --- a/KcY-SeeItemValue/itemValue/server/types/generators/BotLootGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/generators/BotLootGenerator.d.ts @@ -1,29 +1,27 @@ -import { PMCLootGenerator } from "../generators/PMCLootGenerator"; import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; import { HandbookHelper } from "../helpers/HandbookHelper"; import { Inventory as PmcInventory } from "../models/eft/common/IPmcData"; import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; import { IBotConfig } from "../models/spt/config/IBotConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; import { RandomUtil } from "../utils/RandomUtil"; export declare class BotLootGenerator { - protected jsonUtil: JsonUtil; + protected logger: ILogger; protected hashUtil: HashUtil; protected randomUtil: RandomUtil; protected databaseServer: DatabaseServer; protected handbookHelper: HandbookHelper; protected botGeneratorHelper: BotGeneratorHelper; - protected pmcLootGenerator: PMCLootGenerator; + protected botLootCacheService: BotLootCacheService; protected configServer: ConfigServer; protected botConfig: IBotConfig; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, pmcLootGenerator: PMCLootGenerator, configServer: ConfigServer); - generateLoot(lootPool: Items, itemCounts: ItemMinMax, isPmc: boolean, inventory: PmcInventory): void; + constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer); + generateLoot(lootPool: Items, itemCounts: ItemMinMax, isPmc: boolean, botRole: string, inventory: PmcInventory): void; protected getRandomisedCount(min: number, max: number, nValue: number): number; protected addLootFromPool(pool: ITemplateItem[], equipmentSlots: string[], count: number, inventory: PmcInventory, totalValueLimit?: number, useLimits?: boolean): void; - /** Compares two item templates by their price to spawn chance ratio */ - protected compareByValue(a: ITemplateItem, b: ITemplateItem): number; } diff --git a/KcY-SeeItemValue/itemValue/server/types/generators/BotWeaponGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/types/generators/BotWeaponGenerator.d.ts index a43b18c..80dc37c 100644 --- a/KcY-SeeItemValue/itemValue/server/types/generators/BotWeaponGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/generators/BotWeaponGenerator.d.ts @@ -9,7 +9,9 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { DatabaseServer } from "../servers/DatabaseServer"; import { HashUtil } from "../utils/HashUtil"; import { RandomUtil } from "../utils/RandomUtil"; +import { JsonUtil } from "../utils/JsonUtil"; export declare class BotWeaponGenerator { + protected jsonUtil: JsonUtil; protected logger: ILogger; protected hashUtil: HashUtil; protected databaseServer: DatabaseServer; @@ -18,7 +20,7 @@ export declare class BotWeaponGenerator { protected botGeneratorHelper: BotGeneratorHelper; protected randomUtil: RandomUtil; private readonly modMagazineSlotId; - constructor(logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil); + constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil); generateWeapon(equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, magCounts: MinMax, botRole: string, isPmc: boolean, inventory: PmcInventory): void; /** * Get the mods necessary to kit out a weapon to its preset level @@ -41,6 +43,13 @@ export declare class BotWeaponGenerator { * @returns */ protected generateExtraMagazines(weaponMods: Item[], weaponTemplate: ITemplateItem, magCounts: MinMax, ammoTpl: string, inventory: PmcInventory): void; + /** + * Get a randomised number of bullets for a specific magazine + * @param magCounts min and max count of magazines + * @param magTemplate magazine to generate bullet count for + * @returns bullet count number + */ + protected getRandomisedBulletCount(magCounts: MinMax, magTemplate: ITemplateItem): number; /** * Get a randomised count of magazines * @param magCounts min and max value returned value can be between diff --git a/KcY-SeeItemValue/itemValue/server/types/generators/RagfairOfferGenerator.d.ts b/KcY-SeeItemValue/itemValue/server/types/generators/RagfairOfferGenerator.d.ts index de53ea9..3e7f4cc 100644 --- a/KcY-SeeItemValue/itemValue/server/types/generators/RagfairOfferGenerator.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/generators/RagfairOfferGenerator.d.ts @@ -11,6 +11,7 @@ import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; import { FenceService } from "../services/FenceService"; +import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; import { RagfairOfferService } from "../services/RagfairOfferService"; import { RagfairPriceService } from "../services/RagfairPriceService"; import { HashUtil } from "../utils/HashUtil"; @@ -31,11 +32,12 @@ export declare class RagfairOfferGenerator { protected ragfairAssortGenerator: RagfairAssortGenerator; protected ragfairOfferService: RagfairOfferService; protected ragfairPriceService: RagfairPriceService; + protected ragfairCategoriesService: RagfairCategoriesService; protected fenceService: FenceService; protected itemHelper: ItemHelper; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); + constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, ragfairCategoriesService: RagfairCategoriesService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; protected getTraderId(userID: string): string; protected getRating(userID: string): number; diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/BotGeneratorHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/BotGeneratorHelper.d.ts index e4b0c11..243e7a8 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/BotGeneratorHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/BotGeneratorHelper.d.ts @@ -29,6 +29,12 @@ export declare class BotGeneratorHelper { protected botConfig: IBotConfig; constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer); generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[]; + /** + * Is this magazine cylinder related (revolvers and grenade launchers) + * @param magazineParentName the name of the magazines parent + * @returns true if it is cylinder related + */ + magazineIsCylinderRelated(magazineParentName: string): boolean; /** * Get a list of non black-listed cartridges from the PMC bot config * @param modSlot mod item slot @@ -69,6 +75,12 @@ export declare class BotGeneratorHelper { * @param {object} parentTemplate The CylinderMagazine's template */ protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; + /** + * Take a record of camoras and merge the compatable shells into one array + * @param camorasWithShells camoras we want to merge into one array + * @returns string array of shells fro luitple camora sources + */ + protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { upd?: Upd; }; diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/ExtendedProfileHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/ExtendedProfileHelper.d.ts index d8b754d..c05d88e 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/ExtendedProfileHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/ExtendedProfileHelper.d.ts @@ -2,15 +2,20 @@ import { BotGenerator } from "../generators/BotGenerator"; import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { BotLootCacheService } from "../services/BotLootCacheService"; import { FenceService } from "../services/FenceService"; import { JsonUtil } from "../utils/JsonUtil"; import { TimeUtil } from "../utils/TimeUtil"; import { Watermark } from "../utils/Watermark"; import { ItemHelper } from "./ItemHelper"; import { ProfileHelper } from "./ProfileHelper"; +/** + * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load + */ export declare class ExtendedProfileHelper extends ProfileHelper { + protected botLootCacheService: BotLootCacheService; protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, fenceService: FenceService, botGenerator: BotGenerator); + constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); generatePlayerScav(sessionID: string): IPmcData; protected getScavSkills(sessionID: string): Skills; protected removeSecureContainer(profile: IPmcData): IPmcData; diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/GameHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/GameHelper.d.ts deleted file mode 100644 index fd49e84..0000000 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/GameHelper.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class GameHelper { - protected logger: ILogger; - constructor(logger: ILogger); - /** - * Remove condition conters no longer used - * @param pmcProfile profile to remove old counters from - */ - removeDanglingConditionCounters(pmcProfile: IPmcData): void; -} diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/HealthHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/HealthHelper.d.ts index 518c23f..3116c9c 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/HealthHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/HealthHelper.d.ts @@ -15,13 +15,37 @@ export declare class HealthHelper { protected configServer: ConfigServer; protected healthConfig: IHealthConfig; constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); + /** + * Resets the profiles vitality/healh and vitality/effects properties to their defaults + * @param sessionID Session Id + * @returns updated profile + */ resetVitality(sessionID: string): IAkiProfile; - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string): void; + /** + * Update player profile with changes from request object + * @param pmcData Player profile + * @param info Request object + * @param sessionID Session id + * @param addEffects Should effects be added or removed (default - add) + */ + saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; protected saveHealth(pmcData: IPmcData, sessionID: string): void; - protected saveEffects(pmcData: IPmcData, sessionID: string): void; - protected addEffect(pmcData: IPmcData, sessionID: string, effect: { - bodyPart: string; - effectType: string; - }): void; + /** + * Save effects to profile + * Works by removing all effects and adding them back from profile + * Remoces empty 'Effects' objects if found + * @param pmcData Player profile + * @param sessionID Session id + * @param addEffects Should effects be added back to profile + * @returns + */ + protected saveEffects(pmcData: IPmcData, sessionID: string, addEffects: boolean): void; + /** + * Add effect to body part in profile + * @param pmcData Player profile + * @param effectBodyPart body part to edit + * @param effectType Effect to add to body part + */ + protected addEffect(pmcData: IPmcData, effectBodyPart: string, effectType: string): void; protected isEmpty(map: any): boolean; } diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/InRaidHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/InRaidHelper.d.ts index 05b6fdf..58e0f6a 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/InRaidHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/InRaidHelper.d.ts @@ -28,6 +28,18 @@ export declare class InRaidHelper { markFoundItems(pmcData: IPmcData, profile: IPmcData, isPlayerScav: boolean): IPmcData; removeFoundInRaidStatusFromItems(profile: IPmcData): IPmcData; setInventory(sessionID: string, pmcData: IPmcData, profile: IPmcData): IPmcData; + /** + * Clear pmc inventory of all items except those that are exempt + * @param pmcData Player profile + * @param sessionID Session id + * @returns Player profile with pmc inventory cleared + */ deleteInventory(pmcData: IPmcData, sessionID: string): IPmcData; + /** + * Does the provided items slotId mean its kept on the player after death + * @param slotId slotid of item to check + * @returns true if item is kept after death + */ + isItemKeptAfterDeath(slotId: string): boolean; getPlayerGear(items: Item[]): Item[]; } diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/ItemHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/ItemHelper.d.ts index 70c88d6..4e0eba4 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/ItemHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/ItemHelper.d.ts @@ -1,5 +1,5 @@ import { InsuredItem, IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; +import { Item, Repairable } from "../models/eft/common/tables/IItem"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; import { ILogger } from "../models/spt/utils/ILogger"; import { DatabaseServer } from "../servers/DatabaseServer"; @@ -18,7 +18,7 @@ declare class ItemHelper { */ isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; /** - * Checks if a id is a valid item. Valid meaning that it's an item that may be a reward + * Checks if an id is a valid item. Valid meaning that it's an item that may be a reward * or content of bot loot. Items that are tested as valid may be in a player backpack or stash. * @param {*} tpl template id of item to check * @returns boolean: true if item is valid reward @@ -83,26 +83,76 @@ declare class ItemHelper { * @returns {array} The array of StackSlotItems */ generateItemsFromStackSlot(item: ITemplateItem, parentId: string): Item[]; + /** + * Gets item data from items.json + * @param tpl items template id to look up + * @returns bool - is valid + template item object as array + */ getItem(tpl: string): [boolean, ITemplateItem]; + /** + * get normalized value (0-1) based on item condition + * @param item + * @returns number between 0 and 1 + */ getItemQualityModifier(item: Item): number; + /** + * Get a quality value based on a repairable items (weapon/armor) current state between current and max durability + * @param itemDetails + * @param repairable repairable object + * @param item + * @returns a number between 0 and 1 + */ + protected getRepairableItemQualityValue(itemDetails: ITemplateItem, repairable: Repairable, item: Item): number; + /** + * Recursive function that looks at every item from parameter and gets their childrens Ids + * @param items + * @param itemID + * @returns an array of strings + */ findAndReturnChildrenByItems(items: Item[], itemID: string): string[]; /** * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. + * @param items + * @param baseItemId + * @returns An array of Item objects */ findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; /** - * find children of the item in a given assort (weapons parts for example, need recursive loop function) + * Find children of the item in a given assort (weapons parts for example, need recursive loop function) + * @param itemIdToFind Template id of item to check for + * @param assort Array of items to check in + * @returns Array of children of requested item */ findAndReturnChildrenByAssort(itemIdToFind: string, assort: Item[]): Item[]; + /** + * Check if the passed in item has buy count restrictions + * @param itemToCheck Item to check + * @returns true if it has buy restrictions + */ hasBuyRestrictions(itemToCheck: Item): boolean; /** - * Is Dogtag - * Checks if an item is a dogtag. Used under profile_f.js to modify preparePrice based - * on the level of the dogtag + * is the passed in template id a dog tag + * @param tpl Template id to check + * @returns true if it is a dogtag */ isDogtag(tpl: string): boolean; + /** + * Can the item passed in be sold to a trader because it is raw money + * @param tpl Item template id to check + * @returns true if unsellable + */ isNotSellable(tpl: string): boolean; + /** + * Gets the identifier for a child using slotId, locationX and locationY. + * @param item + * @returns "slotId OR slotid,locationX,locationY" + */ getChildId(item: Item): string; + /** + * Can the pased in item be stacked + * @param tpl item to check + * @returns true if it can be stacked + */ isItemTplStackable(tpl: string): boolean; /** * split item stack if it exceeds StackMaxSize @@ -112,15 +162,17 @@ declare class ItemHelper { * Find Barter items in the inventory * @param {string} by * @param {Object} pmcData - * @param {string} barter_itemID - * @returns Array + * @param {string} barterItemId + * @returns Array of Item objects */ - findBarterItems(by: string, pmcData: IPmcData, barter_itemID: string): any[]; + findBarterItems(by: string, pmcData: IPmcData, barterItemId: string): Item[]; /** - * @param {Object} pmcData - * @param {Array} items - * @param {Object} fastPanel - * @returns Array + * + * @param pmcData + * @param items + * @param insuredItems insured items to not replace ids for + * @param fastPanel + * @returns */ replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): any[]; /** @@ -136,6 +188,12 @@ declare class ItemHelper { * @returns boolean */ isQuestItem(tpl: string): boolean; + /** + * Get the inventory size of an item + * @param items + * @param rootItemId + * @returns ItemSize object (width and height) + */ getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize; } declare namespace ItemHelper { diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/PresetHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/PresetHelper.d.ts index 0371886..a469582 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/PresetHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/PresetHelper.d.ts @@ -1,9 +1,11 @@ import { Preset } from "../models/eft/common/IGlobals"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { JsonUtil } from "../utils/JsonUtil"; export declare class PresetHelper { + protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; protected lookup: Record; - constructor(databaseServer: DatabaseServer); + constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); hydratePresetStore(input: Record): void; isPreset(id: string): boolean; hasPreset(templateId: string): boolean; diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/ProfileHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/ProfileHelper.d.ts index 6a64291..b369000 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/ProfileHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/ProfileHelper.d.ts @@ -20,6 +20,12 @@ export declare class ProfileHelper { resetProfileQuestCondition(sessionID: string, conditionId: string): void; getCompleteProfile(sessionID: string): IPmcData[]; isNicknameTaken(info: IValidateNicknameRequestData, sessionID: string): boolean; + /** + * Add experience to a PMC inside the players profile + * @param sessionID Session id + * @param experienceToAdd Experiecne to add to PMC character + */ + addExperienceToPmc(sessionID: string, experienceToAdd: number): void; getProfileByPmcId(pmcId: string): IPmcData; getExperience(level: number): number; getMaxLevel(): number; diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/QuestHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/QuestHelper.d.ts index 04ede16..0b10135 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/QuestHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/QuestHelper.d.ts @@ -8,6 +8,7 @@ import { ILogger } from "../models/spt/utils/ILogger"; import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; import { TimeUtil } from "../utils/TimeUtil"; @@ -25,6 +26,7 @@ export declare class QuestHelper { protected itemHelper: ItemHelper; protected itemEventRouter: ItemEventRouter; protected databaseServer: DatabaseServer; + protected localeService: LocaleService; protected ragfairServerHelper: RagfairServerHelper; protected dialogueHelper: DialogueHelper; protected profileHelper: ProfileHelper; @@ -32,7 +34,7 @@ export declare class QuestHelper { protected traderHelper: TraderHelper; protected configServer: ConfigServer; protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); + constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); static get STATUS(): Record; questStatus(pmcData: IPmcData, questID: string): string; /** @@ -73,8 +75,22 @@ export declare class QuestHelper { */ cleanQuestConditions(quest: IQuest): IQuest; failQuest(pmcData: IPmcData, body: any, sessionID: string): any; + /** + * Get quest by id from database + * @param questId questid to look for + * @param pmcData player profile + * @returns IQuest object + */ getQuestFromDb(questId: string, pmcData: IPmcData): IQuest; - getQuestLocaleIdFromDb(messageId: string, localisation?: string): string; + getQuestLocaleIdFromDb(messageId: string): string; + /** + * Give player quest rewards - Skills/exp/trader standing/items/assort unlocks + * @param pmcData Player profile + * @param body complete quest request + * @param state State of the quest now its complete + * @param sessionID Seession id + * @returns array of reward objects + */ applyQuestReward(pmcData: IPmcData, body: ICompleteQuestRequestData, state: string, sessionID: string): Reward[]; /** * Get the intel center bonus a player has diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairOfferHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairOfferHelper.d.ts index 129bc1c..5a77e13 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairOfferHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairOfferHelper.d.ts @@ -10,6 +10,7 @@ import { ItemEventRouter } from "../routers/ItemEventRouter"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { LocaleService } from "../services/LocaleService"; import { RagfairOfferService } from "../services/RagfairOfferService"; import { HashUtil } from "../utils/HashUtil"; import { TimeUtil } from "../utils/TimeUtil"; @@ -37,11 +38,12 @@ export declare class RagfairOfferHelper { protected ragfairSortHelper: RagfairSortHelper; protected ragfairHelper: RagfairHelper; protected ragfairOfferService: RagfairOfferService; + protected localeService: LocaleService; protected configServer: ConfigServer; protected static TPL_GOODS_SOLD: string; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer); getValidOffers(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; getOffersForBuild(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; processOffers(sessionID: string): boolean; diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairServerHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairServerHelper.d.ts index 2cb3ea5..a52306b 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairServerHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairServerHelper.d.ts @@ -1,11 +1,12 @@ -import { MemberCategory } from "../models/enums/MemberCategory"; import { Item } from "../models/eft/common/tables/IItem"; import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; +import { MemberCategory } from "../models/enums/MemberCategory"; import { IQuestConfig } from "../models/spt/config/IQuestConfig"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; +import { LocaleService } from "../services/LocaleService"; import { HashUtil } from "../utils/HashUtil"; import { JsonUtil } from "../utils/JsonUtil"; import { RandomUtil } from "../utils/RandomUtil"; @@ -19,13 +20,14 @@ export declare class RagfairServerHelper { protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; protected itemHelper: ItemHelper; + protected localeService: LocaleService; protected dialogueHelper: DialogueHelper; protected jsonUtil: JsonUtil; protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; protected static TPL_GOODS_RETURNED: string; - constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer); + constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer); /** * Is item valid / on blacklist / quest item * @param itemDetails diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairSortHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairSortHelper.d.ts index e983569..d20e10c 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairSortHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/RagfairSortHelper.d.ts @@ -1,8 +1,10 @@ import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; import { DatabaseServer } from "../servers/DatabaseServer"; +import { LocaleService } from "../services/LocaleService"; export declare class RagfairSortHelper { protected databaseServer: DatabaseServer; - constructor(databaseServer: DatabaseServer); + protected localeService: LocaleService; + constructor(databaseServer: DatabaseServer, localeService: LocaleService); sortOffers(offers: IRagfairOffer[], type: number, direction?: number): IRagfairOffer[]; protected sortOffersByID(a: IRagfairOffer, b: IRagfairOffer): number; protected sortOffersByRating(a: IRagfairOffer, b: IRagfairOffer): number; diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/TraderAssortHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/TraderAssortHelper.d.ts index 4f41ac2..91ba6b9 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/TraderAssortHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/TraderAssortHelper.d.ts @@ -2,24 +2,32 @@ import { RagfairAssortGenerator } from "../generators/RagfairAssortGenerator"; import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; import { Item } from "../models/eft/common/tables/IItem"; import { ITraderAssort } from "../models/eft/common/tables/ITrader"; +import { ITraderConfig } from "../models/spt/config/ITraderConfig"; import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; import { DatabaseServer } from "../servers/DatabaseServer"; import { FenceService } from "../services/FenceService"; import { TraderAssortService } from "../services/TraderAssortService"; import { JsonUtil } from "../utils/JsonUtil"; +import { MathUtil } from "../utils/MathUtil"; import { AssortHelper } from "./AssortHelper"; +import { PaymentHelper } from "./PaymentHelper"; import { ProfileHelper } from "./ProfileHelper"; export declare class TraderAssortHelper { protected logger: ILogger; protected jsonUtil: JsonUtil; + protected mathUtil: MathUtil; protected databaseServer: DatabaseServer; protected profileHelper: ProfileHelper; protected assortHelper: AssortHelper; + protected paymentHelper: PaymentHelper; protected ragfairAssortGenerator: RagfairAssortGenerator; protected ragfairOfferGenerator: RagfairOfferGenerator; protected traderAssortService: TraderAssortService; protected fenceService: FenceService; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService); + protected configServer: ConfigServer; + protected traderConfig: ITraderConfig; + constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService, configServer: ConfigServer); /** * Get a traders assorts * Can be used for returning ragfair / fence assorts @@ -29,7 +37,12 @@ export declare class TraderAssortHelper { */ getAssort(sessionId: string, traderId: string): ITraderAssort; /** - * Get an array of pristine trader items prior to any alteration by player + * Iterate over all assorts barter_scheme values, find barters selling for money and multiply by multipler in config + * @param traderAssort Assorts to multiple price of + */ + protected multiplyItemPricesByConfigMultipler(traderAssort: ITraderAssort): void; + /** + * Get an array of pristine trader items prior to any alteration by player (as they were on server start) * @param traderId trader id * @returns array of Items */ diff --git a/KcY-SeeItemValue/itemValue/server/types/helpers/TraderHelper.d.ts b/KcY-SeeItemValue/itemValue/server/types/helpers/TraderHelper.d.ts index ab4a371..b2e9d38 100644 --- a/KcY-SeeItemValue/itemValue/server/types/helpers/TraderHelper.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/helpers/TraderHelper.d.ts @@ -1,4 +1,6 @@ +import { FenceLevel } from "../models/eft/common/IGlobals"; import { IPmcData } from "../models/eft/common/IPmcData"; +import { Item } from "../models/eft/common/tables/IItem"; import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; import { ITraderConfig } from "../models/spt/config/ITraderConfig"; import { ILogger } from "../models/spt/utils/ILogger"; @@ -27,16 +29,70 @@ export declare class TraderHelper { getTrader(traderID: string, sessionID: string): ITraderBase; getTraderAssortsById(traderId: string): ITraderAssort; /** - * Reset a trader back to its initial state as seen by a level 1 player + * Reset a profiles trader data back to its initial state as seen by a level 1 player * Does NOT take into account different profile levels * @param sessionID session id * @param traderID trader id to reset */ resetTrader(sessionID: string, traderID: string): void; - changeTraderDisplay(traderID: string, status: boolean, sessionID: string): void; + /** + * Alter a traders unlocked status + * @param traderID Trader to alter + * @param status New status to use + * @param sessionID Session id + */ + setTraderUnlockedState(traderID: string, status: boolean, sessionID: string): void; + /** + * Get a list of items and their prices from player inventory that can be sold to a trader + * @param traderID trader id being traded with + * @param sessionID session id + * @returns IBarterScheme[][] + */ getPurchasesData(traderID: string, sessionID: string): Record; /** - * Calculate traders level based on exp amount and increment level if over threshold + * Should item be skipped when selling to trader according to its sell categories and other checks + * @param pmcData + * @param item + * @param sellCategory + * @returns true if should NOT be sold to trader + */ + protected isItemUnSellableToTrader(pmcData: IPmcData, item: Item, sellCategory: string[]): boolean; + /** + * Can this weapon be sold to a trader with its current durabiltiy level + * @param traderID + * @param item + * @returns boolean + */ + protected isWeaponAndBelowTraderBuyDurability(traderID: string, item: Item): boolean; + /** + * Get the price of an item and all of its attached children + * Take into account bonuses/adjsutments e.g. discounts + * @param pmcData profile data + * @param item item to calculate price of + * @param buyPriceCoefficient + * @param fenceInfo fence data + * @param traderBase trader details + * @param currencyTpl Currency to get price as + * @returns price of item + children + */ + protected getAdjustedItemPrice(pmcData: IPmcData, item: Item, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderBase: ITraderBase, currencyTpl: string): number; + /** + * Get the raw price of item+child items from handbook without any modification + * @param pmcData profile data + * @param item item to calculate price of + * @returns price as number + */ + protected getRawItemPrice(pmcData: IPmcData, item: Item): number; + protected getTraderDiscount(trader: ITraderBase, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderID: string): number; + /** + * Add standing to a trader and level them up if exp goes over level threshold + * @param sessionID Session id + * @param traderId traders id + * @param standingToAdd Standing value to add to trader + */ + addStandingToTrader(sessionID: string, traderId: string, standingToAdd: number): void; + /** + * Calculate traders level based on exp amount and increments level if over threshold * @param traderID trader to process * @param sessionID session id */ diff --git a/KcY-SeeItemValue/itemValue/server/types/loaders/PostAkiModLoader.d.ts b/KcY-SeeItemValue/itemValue/server/types/loaders/PostAkiModLoader.d.ts new file mode 100644 index 0000000..edc6e5d --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/loaders/PostAkiModLoader.d.ts @@ -0,0 +1,21 @@ +import { DependencyContainer } from "tsyringe"; +import { HandbookController } from "../controllers/HandbookController"; +import { IModLoader } from "../models/spt/mod/IModLoader"; +import { ModCompilerService } from "../services/ModCompilerService"; +import { VFS } from "../utils/VFS"; +import { BundleLoader } from "./BundleLoader"; +import { PreAkiModLoader } from "./PreAkiModLoader"; +export declare class PostAkiModLoader implements IModLoader { + protected bundleLoader: BundleLoader; + protected handbookController: HandbookController; + protected vfs: VFS; + protected modCompilerService: ModCompilerService; + protected preAkiModLoader: PreAkiModLoader; + constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, preAkiModLoader: PreAkiModLoader); + getBundles(local: boolean): string; + getBundle(key: string, local: boolean): void; + getModPath(mod: string): string; + load(): void; + protected executeMods(container: DependencyContainer): void; + protected addBundles(): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/loaders/PostDBModLoader.d.ts b/KcY-SeeItemValue/itemValue/server/types/loaders/PostDBModLoader.d.ts new file mode 100644 index 0000000..5101b7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/loaders/PostDBModLoader.d.ts @@ -0,0 +1,11 @@ +import { DependencyContainer } from "tsyringe"; +import { OnLoad } from "../di/OnLoad"; +import { PreAkiModLoader } from "./PreAkiModLoader"; +export declare class PostDBModLoader implements OnLoad { + protected preAkiModLoader: PreAkiModLoader; + constructor(preAkiModLoader: PreAkiModLoader); + onLoad(): void; + getRoute(): string; + getModPath(mod: string): string; + protected executeMods(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/loaders/PreAkiModLoader.d.ts b/KcY-SeeItemValue/itemValue/server/types/loaders/PreAkiModLoader.d.ts new file mode 100644 index 0000000..6ded3c6 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/loaders/PreAkiModLoader.d.ts @@ -0,0 +1,64 @@ +import { DependencyContainer } from "tsyringe"; +import { ICoreConfig } from "../models/spt/config/ICoreConfig"; +import { ModLoader } from "../models/spt/mod/IMod"; +import { IModLoader } from "../models/spt/mod/IModLoader"; +import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; +import { ModCompilerService } from "../services/ModCompilerService"; +import { JsonUtil } from "../utils/JsonUtil"; +import { VFS } from "../utils/VFS"; +import { BundleLoader } from "./BundleLoader"; +export declare class PreAkiModLoader implements IModLoader { + protected logger: ILogger; + protected vfs: VFS; + protected jsonUtil: JsonUtil; + protected modCompilerService: ModCompilerService; + protected bundleLoader: BundleLoader; + protected configServer: ConfigServer; + protected static container: DependencyContainer; + protected readonly basepath = "user/mods/"; + protected imported: Record; + protected akiConfig: ICoreConfig; + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); + load(container: DependencyContainer): Promise; + getBundles(local: boolean): string; + getBundle(key: string, local: boolean): void; + /** + * Returns a list of mods with preserved load order + * @returns Array of mod names in load order + */ + getImportedModsNames(): string[]; + getModPath(mod: string): string; + protected importClass(name: string, filepath: string, container: DependencyContainer): void; + protected importMods(): Promise; + /** + * + * @param mods Get an array of broken/invalid mods by name + * @returns Mod names array + */ + protected getBrokenMods(mods: string[]): string[]; + /** + * Get packageJson data for mods + * @param mods mods to get packageJson for + * @returns dictionary + */ + protected getModsPackageData(mods: string[]): Record; + /** + * Does mod have "delayedLoad(" string in its entry class + * @param modFolderName folder name + * @param modToValidate package.json details + * @returns boolean + */ + protected isModSpt3XXCompatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; + protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; + protected executeMods(container: DependencyContainer): void; + sortModsLoadOrder(): string[]; + protected addMod(mod: string): Promise; + protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Record): boolean; + protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; + protected validMod(mod: string): boolean; + protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; + protected getLoadOrder(mods: Record): Record; + getContainer(): DependencyContainer; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IGlobals.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IGlobals.d.ts index 456895c..9d28dbc 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IGlobals.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IGlobals.d.ts @@ -1128,8 +1128,11 @@ export interface Inertia { SprintAccelerationLimits: xyz; SideTime: xyz; DiagonalTime: xyz; + MaxTimeWithoutInput: xyz; MinDirectionBlendTime: number; - MoveTime: number; + MoveTimeRange: xyz; + ProneDirectionAccelerationRange: xyz; + ProneSpeedAccelerationRange: xyz; MinMovementAccelerationRangeRight: xyz; MaxMovementAccelerationRangeRight: xyz; } diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/ILocationBase.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/ILocationBase.d.ts index ad48d32..b1dd448 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/ILocationBase.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/ILocationBase.d.ts @@ -26,6 +26,7 @@ export interface ILocationBase { DisabledForScav: boolean; DisabledScavExits: string; Enabled: boolean; + EnableCoop: boolean; GlobalLootChanceModifier: number; IconX: number; IconY: number; @@ -41,6 +42,7 @@ export interface ILocationBase { MinDistToFreePoint: number; MinMaxBots: MinMaxBot[]; MinPlayers: number; + MaxCoopGroup: number; Name: string; NewSpawn: boolean; OcculsionCullingEnabled: boolean; @@ -48,6 +50,8 @@ export interface ILocationBase { OpenZones: string; Preview: Preview; RequiredPlayerLevel: number; + PmcMaxPlayersInGroup: number; + ScavMaxPlayersInGroup: number; Rules: string; SafeLocation: boolean; Scene: Scene; @@ -55,7 +59,8 @@ export interface ILocationBase { UnixDateTime: number; _Id: string; doors: any[]; - escape_time_limit: number; + EscapeTimeLimit: number; + EscapeTimeLimitCoop: number; exit_access_time: number; exit_count: number; exit_time: number; @@ -63,6 +68,7 @@ export interface ILocationBase { filter_ex: string[]; limits: ILimit[]; matching_min_seconds: number; + GenerateLocalLootCache: boolean; maxItemCountInLocation: MaxItemCountInLocation[]; sav_summon_seconds: number; tmp_location_field_remove_me: number; @@ -106,6 +112,7 @@ export interface BossLocationSpawn { BossName: string; BossPlayer: boolean; BossZone: string; + RandomTimeSpawn: boolean; Time: number; TriggerId: string; TriggerName: string; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IPmcData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IPmcData.d.ts index adc2aa5..56bf07f 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IPmcData.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/IPmcData.d.ts @@ -6,7 +6,7 @@ import { MemberCategory } from "../../enums/MemberCategory"; export interface IPmcData { _id: string; aid: string; - savage: string; + savage?: string; Info: Info; Customization: Customization; Health: Health; @@ -28,13 +28,6 @@ export interface IPmcData { CarExtractCounts: CarExtractCounts; SurvivorClass: SurvivorClass; } -export declare enum SurvivorClass { - Unknown = 0, - Neutralizer = 1, - Marauder = 2, - Paramedic = 3, - Survivor = 4 -} export interface Info { EntryPoint: string; Nickname: string; @@ -56,6 +49,9 @@ export interface Info { Bans: IBan[]; BannedState: boolean; BannedUntil: number; + NeedWipeOptions: any[]; + lastCompletedWipe: LastCompleted; + lastCompletedEvent?: LastCompleted; } export interface Settings { Role: string; @@ -339,3 +335,13 @@ export interface RagfairInfo { } export interface CarExtractCounts { } +export declare enum SurvivorClass { + Unknown = 0, + Neutralizer = 1, + Marauder = 2, + Paramedic = 3, + Survivor = 4 +} +export interface LastCompleted { + $oid: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/IProfileTemplate.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/IProfileTemplate.d.ts new file mode 100644 index 0000000..fbcd81a --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/IProfileTemplate.d.ts @@ -0,0 +1,25 @@ +import { Dialogue, WeaponBuild } from "../../profile/IAkiProfile"; +import { IPmcData } from "../IPmcData"; +export interface IProfileTemplates { + Standard: IProfileSides; + "Left Behind": IProfileSides; + "Prepare To Escape": IProfileSides; + "Edge Of Darkness": IProfileSides; +} +export interface IProfileSides { + usec: TemplateSide; + bear: TemplateSide; +} +export interface TemplateSide { + character: IPmcData; + suits: string[]; + dialogues: Record; + weaponbuilds: WeaponBuild[]; + trader: ProfileTraderTemplate; +} +export interface ProfileTraderTemplate { + initialLoyaltyLevel: number; + initialStanding: number; + initialSalesSum: number; + jaegerUnlocked: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/IQuest.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/IQuest.d.ts index e1fc888..a349a6d 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/IQuest.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/IQuest.d.ts @@ -1,3 +1,4 @@ +import { QuestRewardType } from "../../../enums/QuestRewardType"; import { Item } from "./IItem"; export interface IQuest { QuestName: string; @@ -23,6 +24,7 @@ export interface IQuest { status: string; KeyQuest: boolean; changeQuestMessageText: string; + side: string; } export interface Conditions { Started: AvailableForConditions[]; @@ -56,6 +58,7 @@ export interface AvailableForProps { plantTime?: number; zoneId?: string; type?: boolean; + countInRaid?: boolean; } export interface AvailableForCounter { id: string; @@ -97,9 +100,9 @@ export interface Rewards { Expired: Reward[]; } export interface Reward { - value?: string; + value?: string | number; id: string; - type: string; + type: QuestRewardType; index: number; target?: string; items?: Item[]; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/ITemplateItem.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/ITemplateItem.d.ts index 934ea7d..23a1a14 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/common/tables/ITemplateItem.d.ts @@ -50,6 +50,7 @@ export interface Props { UnlootableFromSide?: string[]; AnimationVariantsNumber?: number; DiscardingBlock?: boolean; + DropSoundType?: string; RagFairCommissionModifier?: number; IsAlwaysAvailableForInsurance?: boolean; DiscardLimit?: number; @@ -89,7 +90,7 @@ export interface Props { SightModesCount?: number; OpticCalibrationDistances?: number[]; ScopesCount?: number; - AimSensitivity: any; + AimSensitivity?: number | number[][]; Zooms?: number[][]; CalibrationDistances?: number[][]; Intensity?: number; @@ -200,6 +201,9 @@ export interface Props { MinRepairDegradation?: number; MaxRepairDegradation?: number; IronSightRange?: number; + IsFlareGun?: boolean; + IsGrenadeLauncher?: boolean; + IsOneoff?: boolean; MustBoltBeOpennedForExternalReload?: boolean; MustBoltBeOpennedForInternalReload?: boolean; BoltAction?: boolean; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/game/IReportNicknameRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/game/IReportNicknameRequestData.d.ts new file mode 100644 index 0000000..087c58b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/game/IReportNicknameRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IReportNicknameRequestData { + uid: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/health/Effect.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/health/Effect.d.ts new file mode 100644 index 0000000..2f0adac --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/health/Effect.d.ts @@ -0,0 +1,5 @@ +export declare enum Effect { + Fracture = "Fracture", + LightBleeding = "LightBleeding", + HeavyBleeding = "HeavyBleeding" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts new file mode 100644 index 0000000..bf209c6 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts @@ -0,0 +1 @@ +export declare type IGetInsuranceCostResponseData = Record>; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/ICreateGroupRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/ICreateGroupRequestData.d.ts new file mode 100644 index 0000000..7413a8a --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/ICreateGroupRequestData.d.ts @@ -0,0 +1,6 @@ +import { RaidMode } from "../../enums/RaidMode"; +export interface ICreateGroupRequestData { + location: string; + raidMode: RaidMode; + startInGroup: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IGetGroupStatusRequestData.d.ts new file mode 100644 index 0000000..55d7079 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IGetGroupStatusRequestData.d.ts @@ -0,0 +1,9 @@ +import { RaidMode } from "../../enums/RaidMode"; +export interface IGetGroupStatusRequestData { + location: string; + savage: boolean; + dt: string; + keyId: string; + raidMode: RaidMode; + startInGroup: boolean; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IJoinMatchRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IJoinMatchRequestData.d.ts new file mode 100644 index 0000000..cd34f7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IJoinMatchRequestData.d.ts @@ -0,0 +1,12 @@ +export interface IJoinMatchRequestData { + location: string; + savage: boolean; + dt: string; + servers: Server[]; + keyId: string; +} +export interface Server { + ping: number; + ip: string; + port: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IJoinMatchResult.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IJoinMatchResult.d.ts new file mode 100644 index 0000000..df695f4 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IJoinMatchResult.d.ts @@ -0,0 +1,11 @@ +export interface IJoinMatchResult { + profileid: string; + status: string; + sid: string; + ip: string; + port: number; + version: string; + location: string; + gamemode: string; + shortid: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IPutMetricsRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IPutMetricsRequestData.d.ts new file mode 100644 index 0000000..d9ed214 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IPutMetricsRequestData.d.ts @@ -0,0 +1,10 @@ +export interface IPutMetricsRequestData { + sid: string; + settings: any; + SharedSettings: any; + HardwareDescription: any; + Location: string; + Metrics: any; + ClientEvents: any; + SpikeSamples: any[]; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IStartOffineRaidRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IStartOffineRaidRequestData.d.ts index 84bccc8..af0625e 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IStartOffineRaidRequestData.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IStartOffineRaidRequestData.d.ts @@ -1,6 +1,7 @@ +import { BotAmount } from "../../enums/BotAmount"; +import { BotDifficulty } from "../../enums/BotDifficulty"; export interface IStartOfflineRaidRequestData { locationName: string; - entryPoint: string; startTime: number; dateTime: string; gameSettings: GameSettings; @@ -17,11 +18,11 @@ export interface TimeAndWeatherSettings { export interface BotsSettings { isEnabled: boolean; isScavWars: boolean; - botAmount: string; + botAmount: BotAmount; } export interface WavesSettings { - botDifficulty: string; + botDifficulty: BotDifficulty; isBosses: boolean; isTaggedAndCursed: boolean; - wavesBotAmount: string; + wavesBotAmount: BotAmount; } diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IUpdatePingRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IUpdatePingRequestData.d.ts new file mode 100644 index 0000000..defbd66 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/match/IUpdatePingRequestData.d.ts @@ -0,0 +1,3 @@ +export interface IUpdatePingRequestData { + servers: any[]; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/profile/GetProfileStatusResponseData.d.ts new file mode 100644 index 0000000..eee9b4f --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/profile/GetProfileStatusResponseData.d.ts @@ -0,0 +1,11 @@ +export interface GetProfileStatusResponseData { + maxPveCountExceeded: false; + profiles: ProfileData[]; +} +export interface ProfileData { + profileid: string; + status: string; + sid: string; + ip: string; + port: number; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/quests/ICompleteQuestRequestData.d.ts index cc67404..36a6db3 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/quests/ICompleteQuestRequestData.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/quests/ICompleteQuestRequestData.d.ts @@ -1,5 +1,6 @@ export interface ICompleteQuestRequestData { Action: string; + /** Quest Id */ qid: string; removeExcessItems: boolean; } diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/ragfair/IGetOffersResult.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/ragfair/IGetOffersResult.d.ts index 1c11422..fbc631d 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/eft/ragfair/IGetOffersResult.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/ragfair/IGetOffersResult.d.ts @@ -1,6 +1,6 @@ import { IRagfairOffer } from "./IRagfairOffer"; export interface IGetOffersResult { - categories: Record; + categories?: Record; offers: IRagfairOffer[]; offersCount: number; selectedCategory: string; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts new file mode 100644 index 0000000..2d14d20 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts @@ -0,0 +1,3 @@ +export interface ISendRagfairReportRequestData { + offerId: number; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/enums/BotAmount.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/enums/BotAmount.d.ts new file mode 100644 index 0000000..d0e1df1 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/enums/BotAmount.d.ts @@ -0,0 +1,7 @@ +export declare enum BotAmount { + AsOnline = "AsOnline", + Low = "Low", + Medium = "Medium", + High = "High", + Horde = "Horde" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/enums/BotDifficulty.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/enums/BotDifficulty.d.ts new file mode 100644 index 0000000..c901bcf --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/enums/BotDifficulty.d.ts @@ -0,0 +1,8 @@ +export declare enum BotDifficulty { + AsOnline = "AsOnline", + Easy = "Easy", + Medium = "Medium", + Hard = "Hard", + Impossible = "Impossible", + Random = "Random" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/enums/ConfigTypes.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/enums/ConfigTypes.d.ts index 6bd31e8..1c49e62 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/enums/ConfigTypes.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/enums/ConfigTypes.d.ts @@ -8,6 +8,7 @@ export declare enum ConfigTypes { IN_RAID = "aki-inraid", INSURANCE = "aki-insurance", INVENTORY = "aki-inventory", + LOCALE = "aki-locale", LOCATION = "aki-location", MATCH = "aki-match", QUEST = "aki-quest", diff --git a/KcY-SeeItemValue/itemValue/server/types/models/enums/QuestRewardType.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/enums/QuestRewardType.d.ts new file mode 100644 index 0000000..1d3db86 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/enums/QuestRewardType.d.ts @@ -0,0 +1,8 @@ +export declare enum QuestRewardType { + Skill = "Skill", + Experience = "Experience", + TraderStanding = "TraderStanding", + TraderUnlock = "TraderUnlock", + Item = "Item", + AssortmentUnlock = "AssortmentUnlock" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/enums/RaidMode.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/enums/RaidMode.d.ts new file mode 100644 index 0000000..c5a8cff --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/enums/RaidMode.d.ts @@ -0,0 +1,5 @@ +export declare enum RaidMode { + Online = "Online", + Local = "Local", + Coop = "Coop" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/external/IPostAkiLoadMod.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/external/IPostAkiLoadMod.d.ts new file mode 100644 index 0000000..f6950e8 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/external/IPostAkiLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPostAkiLoadMod { + postAkiLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/external/IPostDBLoadMod.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/external/IPostDBLoadMod.d.ts new file mode 100644 index 0000000..ca7c682 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/external/IPostDBLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPostDBLoadMod { + postDBLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/external/IPreAkiLoadMod.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/external/IPreAkiLoadMod.d.ts new file mode 100644 index 0000000..ae7579e --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/external/IPreAkiLoadMod.d.ts @@ -0,0 +1,4 @@ +import { DependencyContainer } from "./tsyringe"; +export interface IPreAkiLoadMod { + preAkiLoad(container: DependencyContainer): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/external/mod.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/KcY-SeeItemValue/itemValue/server/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/bots/BotLootCache.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/bots/BotLootCache.d.ts new file mode 100644 index 0000000..e185315 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/bots/BotLootCache.d.ts @@ -0,0 +1,23 @@ +import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; +export declare class BotLootCache { + backpackLoot: ITemplateItem[]; + pocketLoot: ITemplateItem[]; + vestLoot: ITemplateItem[]; + combinedPoolLoot: ITemplateItem[]; + specialItems: ITemplateItem[]; + healingItems: ITemplateItem[]; + drugItems: ITemplateItem[]; + stimItems: ITemplateItem[]; + grenadeItems: ITemplateItem[]; +} +export declare enum LootCacheType { + Special = "Special", + Backpack = "Backpack", + Pocket = "Pocket", + Vest = "Vest", + Combined = "Combined", + HealingItems = "HealingItems", + DrugItems = "DrugItems", + StimItems = "StimItems", + GrenadeItems = "GrenadeItems" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IBotConfig.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IBotConfig.d.ts index 5fb9d93..f8cf39b 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IBotConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IBotConfig.d.ts @@ -18,6 +18,7 @@ export interface PresetBatch { bossKojaniy: number; bossSanitar: number; bossTagilla: number; + bossKnight: number; bossTest: number; cursedAssault: number; followerBully: number; @@ -28,6 +29,8 @@ export interface PresetBatch { followerKojaniy: number; followerSanitar: number; followerTagilla: number; + followerBirdEye: number; + followerBigPipe: number; followerTest: number; marksman: number; pmcBot: number; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IInRaidConfig.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IInRaidConfig.d.ts index baaf083..3ae2972 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IInRaidConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IInRaidConfig.d.ts @@ -14,6 +14,7 @@ export interface RaidMenuSettings { bossEnabled: boolean; scavWars: boolean; taggedAndCursed: boolean; + enablePve: boolean; } export interface Save { loot: boolean; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/ILocaleConfig.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/ILocaleConfig.d.ts new file mode 100644 index 0000000..fe9abf7 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/ILocaleConfig.d.ts @@ -0,0 +1,5 @@ +import { IBaseConfig } from "./IBaseConfig"; +export interface ILocaleConfig extends IBaseConfig { + kind: "aki-locale"; + desiredLocale: string; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IRagfairConfig.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IRagfairConfig.d.ts index 2d151ca..8518252 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IRagfairConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/IRagfairConfig.d.ts @@ -30,6 +30,7 @@ export interface Dynamic { expiredOfferThreshold: number; offerItemCount: MinMax; price: MinMax; + presetPrice: MinMax; endTimeSeconds: MinMax; condition: Condition; stackablePercent: MinMax; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/ITraderConfig.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/ITraderConfig.d.ts index dab73e3..c8e8044 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/spt/config/ITraderConfig.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/config/ITraderConfig.d.ts @@ -3,13 +3,17 @@ export interface ITraderConfig extends IBaseConfig { kind: "aki-trader"; updateTime: UpdateTime[]; updateTimeDefault: number; - fenceAssortSize: number; - fenceMaxPresetsCount: number; - fencePresetPriceMult: number; + traderPriceMultipler: number; minDurabilityForSale: number; - fenceItemIgnoreList: string[]; + fence: FenceConfig; } export interface UpdateTime { traderId: string; seconds: number; } +export interface FenceConfig { + assortSize: number; + maxPresetsCount: number; + presetPriceMult: number; + blacklist: string[]; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/LogBackgroundColor.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/LogBackgroundColor.d.ts new file mode 100644 index 0000000..87e08a9 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/LogBackgroundColor.d.ts @@ -0,0 +1,11 @@ +export declare enum LogBackgroundColor { + default = "", + black = "blackBG", + red = "redBG", + green = "greenBG", + yellow = "yellowBG", + blue = "blueBG", + magenta = "magentaBG", + cyan = "cyanBG", + white = "whiteBG" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/LogTextColor.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/LogTextColor.d.ts new file mode 100644 index 0000000..7147ae3 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/LogTextColor.d.ts @@ -0,0 +1,11 @@ +export declare enum LogTextColor { + black = "black", + red = "red", + green = "green", + yellow = "yellow", + blue = "blue", + magenta = "magenta", + cyan = "cyan", + white = "white", + gray = "" +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/SptLogger.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/SptLogger.d.ts new file mode 100644 index 0000000..ea1b3d8 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/logging/SptLogger.d.ts @@ -0,0 +1,7 @@ +export interface SptLogger { + error: (msg: string | Record) => void; + warn: (msg: string | Record) => void; + succ?: (msg: string | Record) => void; + info: (msg: string | Record) => void; + debug: (msg: string | Record) => void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/server/IDatabaseTables.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/server/IDatabaseTables.d.ts index e0d3fdd..9978459 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/spt/server/IDatabaseTables.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/server/IDatabaseTables.d.ts @@ -6,6 +6,7 @@ import { ICustomizationItem } from "../../eft/common/tables/ICustomizationItem"; import { IHandbookBase } from "../../eft/common/tables/IHandbookBase"; import { ILootBase } from "../../eft/common/tables/ILootBase"; import { IMatch } from "../../eft/common/tables/IMatch"; +import { IProfileTemplates } from "../../eft/common/tables/IProfileTemplate"; import { IQuest } from "../../eft/common/tables/IQuest"; import { IRepeatableQuestDatabase } from "../../eft/common/tables/IRepeatableQuests"; import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; @@ -39,10 +40,13 @@ export interface IDatabaseTables { items: Record; quests: IQuest[]; repeatableQuests: IRepeatableQuestDatabase; + /** DEPRECATED - Items file found in the client, massivly out of date compared to templates.items, try not to use this, remove ASAP*/ clientItems: Record; handbook: IHandbookBase; customization: Record; - profiles: any; + /** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */ + profiles: IProfileTemplates; + /** Flea prices of items - gathered from online flea market dump */ prices: Record; }; traders?: Record; diff --git a/KcY-SeeItemValue/itemValue/server/types/models/spt/utils/ILogger.d.ts b/KcY-SeeItemValue/itemValue/server/types/models/spt/utils/ILogger.d.ts index c983701..2af3fac 100644 --- a/KcY-SeeItemValue/itemValue/server/types/models/spt/utils/ILogger.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/models/spt/utils/ILogger.d.ts @@ -1,7 +1,10 @@ import { Daum } from "../../eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "../logging/LogBackgroundColor"; +import { LogTextColor } from "../logging/LogTextColor"; export interface ILogger { writeToLogFile(data: string | Daum): void; - log(data: string | Record | Error, color: string): void; + log(data: string | Record | Error, color: string, backgroundColor?: string): void; + logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): void; error(data: string): void; warning(data: string): void; success(data: string): void; diff --git a/KcY-SeeItemValue/itemValue/server/types/servers/RagfairServer.d.ts b/KcY-SeeItemValue/itemValue/server/types/servers/RagfairServer.d.ts index 60c92b5..bc86cdb 100644 --- a/KcY-SeeItemValue/itemValue/server/types/servers/RagfairServer.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/servers/RagfairServer.d.ts @@ -17,7 +17,8 @@ export declare class RagfairServer { constructor(logger: ILogger, ragfairOfferGenerator: RagfairOfferGenerator, ragfairOfferService: RagfairOfferService, ragfairCategoriesService: RagfairCategoriesService, ragfairRequiredItemsService: RagfairRequiredItemsService, configServer: ConfigServer); load(): void; update(): void; - getCategories(): Record; + getAllCategories(): Record; + getBespokeCategories(offers: IRagfairOffer[]): Record; /** * Disable/Hide an offer from flea * @param offerId diff --git a/KcY-SeeItemValue/itemValue/server/types/services/BotLootCacheService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/BotLootCacheService.d.ts new file mode 100644 index 0000000..72eb332 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/services/BotLootCacheService.d.ts @@ -0,0 +1,59 @@ +import { PMCLootGenerator } from "../generators/PMCLootGenerator"; +import { Items } from "../models/eft/common/tables/IBotType"; +import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; +import { BotLootCache, LootCacheType } from "../models/spt/bots/BotLootCache"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { JsonUtil } from "../utils/JsonUtil"; +import { RagfairPriceService } from "./RagfairPriceService"; +export declare class BotLootCacheService { + protected logger: ILogger; + protected jsonUtil: JsonUtil; + protected databaseServer: DatabaseServer; + protected pmcLootGenerator: PMCLootGenerator; + protected ragfairPriceService: RagfairPriceService; + protected lootCache: Record; + constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, ragfairPriceService: RagfairPriceService); + /** + * Remove all cached bot loot data + */ + clearCache(): void; + /** + * Get the fully created loot array, ordered by price low to high + * @param botRole bot to get loot for + * @param isPmc is the bot a pmc + * @param lootType what type of loot is needed + * @param lootPool the full pool of loot (needed when cache is empty) + * @returns ITemplateItem array + */ + getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): ITemplateItem[]; + /** + * Generate loot for a bot and store inside a private class property + * @param botRole + * @param lootType + * @param lootPool the full pool of loot we use to create the various sub-categories with + * @param isPmc + */ + protected addLootToCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): void; + /** + * Check if a bot type exists inside the loot cache + * @param botRole role to check for + * @returns true if they exist + */ + protected botRoleExistsInCache(botRole: string): boolean; + /** + * If lootcache is null, init with empty property arrays + * @param botRole Bot role to hydrate + */ + protected initCacheForBotRole(botRole: string): void; + /** + * Compares two item prices by their flea (or handbook if that doesnt exist) price + * -1 when a < b + * 0 when a === b + * 1 when a > b + * @param itemAPrice + * @param itemBPrice + * @returns + */ + protected compareByValue(itemAPrice: number, itemBPrice: number): number; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/services/CustomHandbookItemService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/CustomHandbookItemService.d.ts deleted file mode 100644 index 1c25b99..0000000 --- a/KcY-SeeItemValue/itemValue/server/types/services/CustomHandbookItemService.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { HandbookItem } from "../models/eft/common/tables/IHandbookBase"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class CustomHandbookItemService { - protected logger: ILogger; - private customHandbookItems; - constructor(logger: ILogger); - /** - * Add handbook item - * @param handbookItem item to add - */ - add(handbookItem: HandbookItem): void; - get(): HandbookItem[]; -} diff --git a/KcY-SeeItemValue/itemValue/server/types/services/CustomItemService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/CustomItemService.d.ts deleted file mode 100644 index d5806b4..0000000 --- a/KcY-SeeItemValue/itemValue/server/types/services/CustomItemService.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class CustomItemService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - private customItems; - constructor(logger: ILogger, databaseServer: DatabaseServer); - add(itemToAdd: ITemplateItem): void; - get(): ITemplateItem[]; -} diff --git a/KcY-SeeItemValue/itemValue/server/types/services/CustomTraderAssortService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/CustomTraderAssortService.d.ts deleted file mode 100644 index e63d67b..0000000 --- a/KcY-SeeItemValue/itemValue/server/types/services/CustomTraderAssortService.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { CustomTraderAssortData } from "../models/spt/services/CustomTraderAssortData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class CustomTraderAssortService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - private customAssorts; - constructor(logger: ILogger, databaseServer: DatabaseServer); - /** - * Add assorts to a specific trader - */ - add(assortsToAdd: CustomTraderAssortData): void; - get(): CustomTraderAssortData[]; -} diff --git a/KcY-SeeItemValue/itemValue/server/types/services/FenceService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/FenceService.d.ts index 12723fb..79058c6 100644 --- a/KcY-SeeItemValue/itemValue/server/types/services/FenceService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/services/FenceService.d.ts @@ -29,8 +29,8 @@ export declare class FenceService { hasExpiredCache(refreshAssort: boolean): boolean; generateFenceAssortCache(pmcData: IPmcData): void; /** - * - * @param pmcData Get the fence level the passed in profile has + * Get the fence level the passed in profile has + * @param pmcData Player profile * @returns FenceLevel */ getFenceInfo(pmcData: IPmcData): FenceLevel; diff --git a/KcY-SeeItemValue/itemValue/server/types/services/LocaleService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/LocaleService.d.ts new file mode 100644 index 0000000..33bea7b --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/services/LocaleService.d.ts @@ -0,0 +1,14 @@ +import { ILocaleConfig } from "../models/spt/config/ILocaleConfig"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { ConfigServer } from "../servers/ConfigServer"; +export declare class LocaleService { + protected logger: ILogger; + protected configServer: ConfigServer; + protected localeConfig: ILocaleConfig; + constructor(logger: ILogger, configServer: ConfigServer); + /** + * Gets the locale key from the locale.json file + * @returns locale e.g en/ge/cz/cn + */ + getDesiredLocale(): string; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/services/MatchLocationService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/MatchLocationService.d.ts index 2b5fc0e..c027bec 100644 --- a/KcY-SeeItemValue/itemValue/server/types/services/MatchLocationService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/services/MatchLocationService.d.ts @@ -1,8 +1,9 @@ +import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; import { TimeUtil } from "../utils/TimeUtil"; export declare class MatchLocationService { protected timeUtil: TimeUtil; protected locations: {}; constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: any): any; + createGroup(sessionID: string, info: ICreateGroupRequestData): any; deleteGroup(info: any): void; } diff --git a/KcY-SeeItemValue/itemValue/server/types/services/PaymentService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/PaymentService.d.ts index 5834750..a5e538f 100644 --- a/KcY-SeeItemValue/itemValue/server/types/services/PaymentService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/services/PaymentService.d.ts @@ -45,5 +45,22 @@ export declare class PaymentService { * ancestor with slotId=hideout */ protected isItemInStash(pmcData: IPmcData, item: Item): boolean; + /** + * Remove currency from player stash/inventory + * @param pmcData Player profile to find and remove currency from + * @param currencyTpl Type of currency to pay + * @param amountToPay money value to pay + * @param sessionID Sessino id + * @param output output object to send to client + * @returns IItemEventRouterResponse + */ addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; + /** + * Prioritise player stash first over player inventory + * Post-raid healing would often take money out of the players pockets/secure container + * @param a Firsat money stack item + * @param b Second money stack item + * @returns sorted item + */ + protected moneySort(a: Item, b: Item): number; } diff --git a/KcY-SeeItemValue/itemValue/server/types/services/ProfileFixerService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/ProfileFixerService.d.ts new file mode 100644 index 0000000..313a907 --- /dev/null +++ b/KcY-SeeItemValue/itemValue/server/types/services/ProfileFixerService.d.ts @@ -0,0 +1,40 @@ +import { IPmcData } from "../models/eft/common/IPmcData"; +import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; +import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { DatabaseServer } from "../servers/DatabaseServer"; +import { Watermark } from "../utils/Watermark"; +export declare class ProfileFixerService { + protected logger: ILogger; + protected watermark: Watermark; + protected databaseServer: DatabaseServer; + constructor(logger: ILogger, watermark: Watermark, databaseServer: DatabaseServer); + /** + * Find issues in the pmc profile data that may cause issues and fix them + * @param pmcProfile profile to check and fix + */ + checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void; + /** + * Add tag to profile to indicate when it was made + * @param fullProfile + */ + addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; + /** + * TODO - make this non-public - currently used by RepeatableQuestController + * Remove unused condition counters + * @param pmcProfile profile to remove old counters from + */ + removeDanglingConditionCounters(pmcProfile: IPmcData): void; + protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; + protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; + protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; + protected addMissingBonusesProperty(pmcProfile: IPmcData): void; + protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; + protected addMissingWorkbenchWeaponSkills(pmcProfile: IPmcData): void; + /** + * In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots + * @param pmcProfile + */ + protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void; + addMissingArmorRepairSkill(pmcProfile: IPmcData): void; +} diff --git a/KcY-SeeItemValue/itemValue/server/types/services/RagfairCategoriesService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/RagfairCategoriesService.d.ts index 09956cc..83910e5 100644 --- a/KcY-SeeItemValue/itemValue/server/types/services/RagfairCategoriesService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/services/RagfairCategoriesService.d.ts @@ -1,10 +1,40 @@ import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; +import { ILogger } from "../models/spt/utils/ILogger"; export declare class RagfairCategoriesService { - updateCategories(offers: IRagfairOffer[]): void; + protected logger: ILogger; protected categories: Record; - getCategories(): Record; - getCategoryByItemId(itemId: string): number; - resetCategories(): void; - setCategoryValue(itemId: string, newValue: number): void; - incrementCategory(itemId: string): void; + constructor(logger: ILogger); + /** + * Get all flea categories and their count of offers + * @returns item categories and count + */ + getAllCategories(): Record; + /** + * With the supplied items, get custom categories + * @returns a custom list of categories + */ + getBespokeCategories(offers: IRagfairOffer[]): Record; + /** + * Take an array of ragfair offers and create a dictionary of items with thier corrisponding offer count + * @param offers ragfair offers + * @returns categories and count + */ + protected processOffersIntoCategories(offers: IRagfairOffer[]): Record; + /** + * Increment or decrement a category array + * @param offer offer to process + * @param categories categories to update + * @param increment should item be incremented or decremented + */ + protected addOrIncrementCategory(offer: IRagfairOffer, categories: Record, increment?: boolean): void; + /** + * Increase category count by 1 + * @param offer + */ + incrementCategory(offer: IRagfairOffer): void; + /** + * Reduce category count by 1 + * @param offer + */ + decrementCategory(offer: IRagfairOffer): void; } diff --git a/KcY-SeeItemValue/itemValue/server/types/services/RagfairOfferService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/RagfairOfferService.d.ts index 7afbf8c..7398a8f 100644 --- a/KcY-SeeItemValue/itemValue/server/types/services/RagfairOfferService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/services/RagfairOfferService.d.ts @@ -11,12 +11,14 @@ import { DatabaseServer } from "../servers/DatabaseServer"; import { SaveServer } from "../servers/SaveServer"; import { HttpResponseUtil } from "../utils/HttpResponseUtil"; import { TimeUtil } from "../utils/TimeUtil"; +import { RagfairCategoriesService } from "./RagfairCategoriesService"; export declare class RagfairOfferService { protected logger: ILogger; protected timeUtil: TimeUtil; protected databaseServer: DatabaseServer; protected saveServer: SaveServer; protected ragfairServerHelper: RagfairServerHelper; + protected ragfairCategoriesService: RagfairCategoriesService; protected profileHelper: ProfileHelper; protected itemEventRouter: ItemEventRouter; protected httpResponse: HttpResponseUtil; @@ -26,12 +28,16 @@ export declare class RagfairOfferService { protected expiredOffers: Item[]; protected offers: IRagfairOffer[]; protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); + constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, ragfairCategoriesService: RagfairCategoriesService, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); + /** + * Get all offers + * @returns IRagfairOffer array + */ getOffers(): IRagfairOffer[]; getOfferByOfferId(offerId: string): IRagfairOffer; getOffersOfType(templateId: string): IRagfairOffer[]; addOffer(offer: IRagfairOffer): void; - addOfferToExpired(offer: Item): void; + addOfferToExpired(staleOffer: IRagfairOffer): void; setTraderUpdateStatus(traderId: string, shouldUpdate: boolean): void; shouldTraderBeUpdated(traderID: string): boolean; getExpiredOfferCount(): number; diff --git a/KcY-SeeItemValue/itemValue/server/types/services/RagfairPriceService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/RagfairPriceService.d.ts index 5256b99..e33bbb9 100644 --- a/KcY-SeeItemValue/itemValue/server/types/services/RagfairPriceService.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/services/RagfairPriceService.d.ts @@ -1,6 +1,7 @@ import { HandbookHelper } from "../helpers/HandbookHelper"; import { ItemHelper } from "../helpers/ItemHelper"; import { PresetHelper } from "../helpers/PresetHelper"; +import { Preset } from "../models/eft/common/IGlobals"; import { Item } from "../models/eft/common/tables/IItem"; import { IBarterScheme } from "../models/eft/common/tables/ITrader"; import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; @@ -28,5 +29,26 @@ export declare class RagfairPriceService { getFleaPriceForItem(tplId: string): number; getBarterPrice(barterScheme: IBarterScheme[]): number; getDynamicOfferPrice(items: Item[], desiredCurrency: string): number; + /** + * Multiply the price by a randomised curve where n = 2, shift = 2 + * @param existingPrice price to alter + * @param isPreset is the item we're multiplying a preset + * @returns multiplied price + */ + protected randomisePrice(existingPrice: number, isPreset: boolean): number; + /** + * Calculate the cost of a weapon preset by adding together the price of its mods + base price of default weapon preset + * @param item base weapon + * @param items weapon plus mods + * @param existingPrice price of existing base weapon + * @returns + */ getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; + /** + * Attempt to get the default preset for a weapon, failing that get the first preset in the array + * (assumes default = has encyclopedia entry) + * @param presets weapon presets to choose from + * @returns Default preset object + */ + protected getDefaultWeaponPreset(presets: Preset[], weapon: Item): Preset; } diff --git a/KcY-SeeItemValue/itemValue/server/types/services/customPresetService.d.ts b/KcY-SeeItemValue/itemValue/server/types/services/customPresetService.d.ts deleted file mode 100644 index 84a8baf..0000000 --- a/KcY-SeeItemValue/itemValue/server/types/services/customPresetService.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Preset } from "../models/eft/common/IGlobals"; -import { CustomPreset } from "../models/spt/services/CustomPreset"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class CustomPresetService { - protected logger: ILogger; - private customPresets; - constructor(logger: ILogger); - /** - * Add custom preset to internal array - * @param presetKey presets key - * @param presetToAdd preset item to add - */ - add(presetKey: string, presetToAdd: Preset): void; - /** - * Get all custom presets - * @returns - */ - get(): CustomPreset[]; -} diff --git a/KcY-SeeItemValue/itemValue/server/types/utils/DatabaseImporter.d.ts b/KcY-SeeItemValue/itemValue/server/types/utils/DatabaseImporter.d.ts index 24c1cd6..483e135 100644 --- a/KcY-SeeItemValue/itemValue/server/types/utils/DatabaseImporter.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/utils/DatabaseImporter.d.ts @@ -3,10 +3,6 @@ import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; import { ILogger } from "../models/spt/utils/ILogger"; import { ImageRouter } from "../routers/ImageRouter"; import { DatabaseServer } from "../servers/DatabaseServer"; -import { CustomHandbookItemService } from "../services/CustomHandbookItemService"; -import { CustomItemService } from "../services/CustomItemService"; -import { CustomPresetService } from "../services/customPresetService"; -import { CustomTraderAssortService } from "../services/CustomTraderAssortService"; import { JsonUtil } from "./JsonUtil"; import { VFS } from "./VFS"; export declare class DatabaseImporter extends OnLoad { @@ -14,38 +10,14 @@ export declare class DatabaseImporter extends OnLoad { protected vfs: VFS; protected jsonUtil: JsonUtil; protected databaseServer: DatabaseServer; - protected customItemService: CustomItemService; - protected customTraderAssortService: CustomTraderAssortService; - protected customHandbookItemService: CustomHandbookItemService; - protected customPresetService: CustomPresetService; protected imageRouter: ImageRouter; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, customItemService: CustomItemService, customTraderAssortService: CustomTraderAssortService, customHandbookItemService: CustomHandbookItemService, customPresetService: CustomPresetService, imageRouter: ImageRouter); + constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, imageRouter: ImageRouter); onLoad(): void; /** * Read all json files in database folder and map into a json object * @param filepath path to database folder */ protected hydrateDatabase(filepath: string): void; - /** - * Get all items added through CustomItemService and add to database.templates.items - * @param dataToImport db data to amend - */ - protected addCustomItemsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all assorts added through CustomTraderAssortService and add to database.traders[x].assort - * @param dataToImport db data to amend - */ - protected addCustomTraderAssortsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all custom handbook items added through CustomHandbookItemService and add to database.templates.handbook.items - * @param dataToImport db data to amend - */ - protected addCustomHandbookItemsToDb(dataToImport: IDatabaseTables): void; - /** - * Get all custom preset items added through CustomPresetService and add to database.globals.ItemPresets - * @param dataToImport - */ - protected addCustomPresetsToDb(dataToImport: IDatabaseTables): void; getRoute(): string; loadRecursive(filepath: string): IDatabaseTables; loadImages(filepath: string): void; diff --git a/KcY-SeeItemValue/itemValue/server/types/utils/Logger.d.ts b/KcY-SeeItemValue/itemValue/server/types/utils/Logger.d.ts index f5b774b..3d9013f 100644 --- a/KcY-SeeItemValue/itemValue/server/types/utils/Logger.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/utils/Logger.d.ts @@ -1,17 +1,13 @@ /// -import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { ILogger } from "../models/spt/utils/ILogger"; -import winston from "winston"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; import fs from "fs"; -interface SptLogger { - error: (msg: string | Record) => void; - warn: (msg: string | Record) => void; - succ?: (msg: string | Record) => void; - info: (msg: string | Record) => void; - debug: (msg: string | Record) => void; -} +import winston from "winston"; +import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; +import { LogBackgroundColor } from "../models/spt/logging/LogBackgroundColor"; +import { LogTextColor } from "../models/spt/logging/LogTextColor"; +import { SptLogger } from "../models/spt/logging/SptLogger"; +import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; +import { ILogger } from "../models/spt/utils/ILogger"; +import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; export declare class WinstonLogger implements ILogger { protected asyncQueue: IAsyncQueue; protected uuidGenerator: IUUidGenerator; @@ -36,16 +32,27 @@ export declare class WinstonLogger implements ILogger { custom: string; debug: string; }; + bgColors: { + default: string; + blackBG: string; + redBG: string; + greenBG: string; + yellowBG: string; + blueBG: string; + magentaBG: string; + cyanBG: string; + whiteBG: string; + }; }; protected logger: winston.Logger & SptLogger; - writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; + protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); writeToLogFile(data: string | Daum): Promise; - log(data: string | Error | Record, color: string): Promise; + log(data: string | Error | Record, color: string, backgroundColor?: string): Promise; error(data: string | Record): Promise; warning(data: string | Record): Promise; success(data: string | Record): Promise; info(data: string | Record): Promise; + logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): Promise; debug(data: string | Record, onlyShowInConsole?: boolean): Promise; } -export {}; diff --git a/KcY-SeeItemValue/itemValue/server/types/utils/Watermark.d.ts b/KcY-SeeItemValue/itemValue/server/types/utils/Watermark.d.ts index 111bdd0..c6dc120 100644 --- a/KcY-SeeItemValue/itemValue/server/types/utils/Watermark.d.ts +++ b/KcY-SeeItemValue/itemValue/server/types/utils/Watermark.d.ts @@ -28,7 +28,12 @@ export declare class Watermark { protected text: string[]; protected versionLabel: string; initialize(): void; - getVersionTag(): string; + /** + * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) + * @param withEftVersion Include the eft version this spt version was made for + * @returns string + */ + getVersionTag(withEftVersion?: boolean): string; getVersionLabel(): string; /** Set window title */ setTitle(): void; diff --git a/Shared/EFT/Assembly-CSharp.dll b/Shared/EFT/Assembly-CSharp.dll index 79401f7..23cbaaa 100644 Binary files a/Shared/EFT/Assembly-CSharp.dll and b/Shared/EFT/Assembly-CSharp.dll differ