From 3586f650d2ec7bbe38806e3dcb1cdffe8dc13e7d Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 8 Aug 2022 11:13:42 +0100 Subject: [PATCH] Update types for 3.2.0 release --- .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + .../types/callbacks/NotifierCallbacks.d.ts | 2 +- .../types/controllers/HideoutController.d.ts | 1 + .../types/controllers/NoteController.d.ts | 3 +- .../types/controllers/RepairController.d.ts | 1 - .../types/helpers/BotGeneratorHelper.d.ts | 2 +- .../types/helpers/GameEventHelper.d.ts | 2 +- .../types/helpers/HideoutHelper.d.ts | 12 ++--- .../types/helpers/QuestHelper.d.ts | 2 +- .../types/helpers/RagfairOfferHelper.d.ts | 2 +- .../types/helpers/RagfairServerHelper.d.ts | 2 +- .../types/models/enums/SkillTypes.d.ts | 52 +++++++++++++++++++ .../types/models/enums/WeaponSkillTypes.d.ts | 14 +++++ .../models/spt/config/IHideoutConfig.d.ts | 1 + .../models/spt/config/IRepairConfig.d.ts | 1 + 196 files changed, 1120 insertions(+), 238 deletions(-) create mode 100644 TypeScript/10ScopesAndTypes/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/10ScopesAndTypes/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/11BundleLoadingSample/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/12ClassExtensionOverride/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/13AddTrader/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/13AddTrader/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/14AfterDBLoadHook/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/1LogToConsole/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/1LogToConsole/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/2EditDatabase/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/2EditDatabase/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/3GetSptConfigFile/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/4UseACustomConfigFile/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/5ReplaceMethod/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/6ReferenceAnotherClass/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/7OnLoadHook/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/7OnLoadHook/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/8OnUpdateHook/types/models/enums/WeaponSkillTypes.d.ts create mode 100644 TypeScript/9RouterHooks/types/models/enums/SkillTypes.d.ts create mode 100644 TypeScript/9RouterHooks/types/models/enums/WeaponSkillTypes.d.ts diff --git a/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/10ScopesAndTypes/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts b/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts +++ b/TypeScript/10ScopesAndTypes/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts b/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/10ScopesAndTypes/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/10ScopesAndTypes/types/models/enums/SkillTypes.d.ts b/TypeScript/10ScopesAndTypes/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/10ScopesAndTypes/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/10ScopesAndTypes/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/10ScopesAndTypes/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/11BundleLoadingSample/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts b/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts +++ b/TypeScript/11BundleLoadingSample/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts b/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/11BundleLoadingSample/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/11BundleLoadingSample/types/models/enums/SkillTypes.d.ts b/TypeScript/11BundleLoadingSample/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/11BundleLoadingSample/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/11BundleLoadingSample/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/11BundleLoadingSample/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts b/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/12ClassExtensionOverride/types/models/enums/SkillTypes.d.ts b/TypeScript/12ClassExtensionOverride/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/12ClassExtensionOverride/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/12ClassExtensionOverride/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/12ClassExtensionOverride/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/13AddTrader/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts b/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/controllers/NoteController.d.ts b/TypeScript/13AddTrader/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/13AddTrader/types/controllers/NoteController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/13AddTrader/types/controllers/RepairController.d.ts b/TypeScript/13AddTrader/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/13AddTrader/types/controllers/RepairController.d.ts +++ b/TypeScript/13AddTrader/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts b/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts b/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts b/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts b/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/13AddTrader/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/13AddTrader/types/models/enums/SkillTypes.d.ts b/TypeScript/13AddTrader/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/13AddTrader/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/13AddTrader/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/13AddTrader/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/13AddTrader/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/13AddTrader/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts b/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/14AfterDBLoadHook/types/models/enums/SkillTypes.d.ts b/TypeScript/14AfterDBLoadHook/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/14AfterDBLoadHook/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/14AfterDBLoadHook/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/1LogToConsole/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts b/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts b/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts b/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts +++ b/TypeScript/1LogToConsole/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts b/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/1LogToConsole/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/1LogToConsole/types/models/enums/SkillTypes.d.ts b/TypeScript/1LogToConsole/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/1LogToConsole/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/1LogToConsole/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/1LogToConsole/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/1LogToConsole/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/1LogToConsole/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/2EditDatabase/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts b/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts b/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts b/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts +++ b/TypeScript/2EditDatabase/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts b/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/2EditDatabase/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/2EditDatabase/types/models/enums/SkillTypes.d.ts b/TypeScript/2EditDatabase/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/2EditDatabase/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/2EditDatabase/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/2EditDatabase/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/2EditDatabase/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/2EditDatabase/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/3GetSptConfigFile/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts b/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts +++ b/TypeScript/3GetSptConfigFile/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts b/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/3GetSptConfigFile/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/3GetSptConfigFile/types/models/enums/SkillTypes.d.ts b/TypeScript/3GetSptConfigFile/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/3GetSptConfigFile/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/3GetSptConfigFile/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/3GetSptConfigFile/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts b/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/4UseACustomConfigFile/types/models/enums/SkillTypes.d.ts b/TypeScript/4UseACustomConfigFile/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/4UseACustomConfigFile/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/4UseACustomConfigFile/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/5ReplaceMethod/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts b/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts +++ b/TypeScript/5ReplaceMethod/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts b/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/5ReplaceMethod/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/5ReplaceMethod/types/models/enums/SkillTypes.d.ts b/TypeScript/5ReplaceMethod/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/5ReplaceMethod/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/5ReplaceMethod/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/5ReplaceMethod/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts b/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/6ReferenceAnotherClass/types/models/enums/SkillTypes.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/6ReferenceAnotherClass/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/7OnLoadHook/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts b/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts b/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts b/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts +++ b/TypeScript/7OnLoadHook/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts b/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/7OnLoadHook/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/7OnLoadHook/types/models/enums/SkillTypes.d.ts b/TypeScript/7OnLoadHook/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/7OnLoadHook/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/7OnLoadHook/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/7OnLoadHook/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/7OnLoadHook/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/7OnLoadHook/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/8OnUpdateHook/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts b/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts +++ b/TypeScript/8OnUpdateHook/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts b/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/8OnUpdateHook/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/8OnUpdateHook/types/models/enums/SkillTypes.d.ts b/TypeScript/8OnUpdateHook/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/8OnUpdateHook/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/8OnUpdateHook/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/8OnUpdateHook/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; } diff --git a/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts b/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts index cd1e736..c42058f 100644 --- a/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts +++ b/TypeScript/9RouterHooks/types/callbacks/NotifierCallbacks.d.ts @@ -16,7 +16,7 @@ export declare class NotifierCallbacks { * until we actually have something to send because otherwise we'd spam the client * and the client would abort the connection due to spam. */ - sendNotification(_sessionID: string, req: any, resp: any, _data: any): void; + sendNotification(sessionID: string, req: any, resp: any, data: any): void; getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; diff --git a/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts b/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts index dbf5434..3eefe1a 100644 --- a/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/HideoutController.d.ts @@ -45,6 +45,7 @@ export declare class HideoutController { protected hideoutHelper: HideoutHelper; protected scavCaseRewardGenerator: ScavCaseRewardGenerator; protected configServer: ConfigServer; + protected static nameBackendCountersCrafting: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer); upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts b/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts index cc78383..ee70541 100644 --- a/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/NoteController.d.ts @@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData"; import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; import { INoteActionData } from "../models/eft/notes/INoteActionData"; import { ItemEventRouter } from "../routers/ItemEventRouter"; -declare class NoteController { +export declare class NoteController { protected itemEventRouter: ItemEventRouter; constructor(itemEventRouter: ItemEventRouter); addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; } -export { NoteController }; diff --git a/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts b/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts index 330684d..0e78ef6 100644 --- a/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts +++ b/TypeScript/9RouterHooks/types/controllers/RepairController.d.ts @@ -21,7 +21,6 @@ export declare class RepairController { protected repairHelper: RepairHelper; protected configServer: ConfigServer; protected repairConfig: IRepairConfig; - protected readonly WEAPON_SKILL_REPAIR_GAIN: number; constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); /** * Repair with trader diff --git a/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts index 284bbae..3cd7256 100644 --- a/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/BotGeneratorHelper.d.ts @@ -28,7 +28,7 @@ export declare class BotGeneratorHelper { protected configServer: ConfigServer; 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[]; + generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[]; /** * Is this magazine cylinder related (revolvers and grenade launchers) * @param magazineParentName the name of the magazines parent diff --git a/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts index b2d6377..7613053 100644 --- a/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/GameEventHelper.d.ts @@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer"; export declare class GameEventHelper { protected databaseServer: DatabaseServer; constructor(databaseServer: DatabaseServer); - get EVENT(): Record; + get events(): Record; get christmasEventItems(): string[]; itemIsChristmasRelated(itemId: string): boolean; christmasEventEnabled(): boolean; diff --git a/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts index 6ac0945..36e4009 100644 --- a/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/HideoutHelper.d.ts @@ -30,14 +30,10 @@ export declare class HideoutHelper { protected inventoryHelper: InventoryHelper; protected playerService: PlayerService; protected configServer: ConfigServer; - static BITCOIN_FARM: string; - protected WATER_COLLECTOR: string; - protected BITCOIN: string; - protected EXPEDITIONARY_FUEL_TANK: string; - static NAME_BACKENDCOUNTERS_CRAFTING: string; - static SKILL_NAME_HIDEOUT: string; - static HOUR_FOR_SKILL_CRAFTING: number; - static SKILL_NAME_CRAFITING: string; + static bitcoinFarm: string; + static waterCollector: string; + static bitcoin: string; + static expeditionaryFuelTank: string; protected hideoutConfig: IHideoutConfig; constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer); registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; diff --git a/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts index 61b7958..0f68cd5 100644 --- a/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/QuestHelper.d.ts @@ -48,7 +48,7 @@ export declare class QuestHelper { * Debug Routine for showing some information on the * quest list in question. */ - dumpQuests(quests: any, label?: any): void; + dumpQuests(quests: any): void; loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; protected processReward(reward: Reward): any[]; getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; diff --git a/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts index 5a77e13..8d03bee 100644 --- a/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RagfairOfferHelper.d.ts @@ -40,7 +40,7 @@ export declare class RagfairOfferHelper { protected ragfairOfferService: RagfairOfferService; protected localeService: LocaleService; protected configServer: ConfigServer; - protected static TPL_GOODS_SOLD: string; + protected static goodSoldTemplate: 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, localeService: LocaleService, configServer: ConfigServer); diff --git a/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts b/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts index a52306b..e4939d1 100644 --- a/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts +++ b/TypeScript/9RouterHooks/types/helpers/RagfairServerHelper.d.ts @@ -26,7 +26,7 @@ export declare class RagfairServerHelper { protected configServer: ConfigServer; protected ragfairConfig: IRagfairConfig; protected questConfig: IQuestConfig; - protected static TPL_GOODS_RETURNED: string; + protected static goodsReturnedTemplate: string; 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 diff --git a/TypeScript/9RouterHooks/types/models/enums/SkillTypes.d.ts b/TypeScript/9RouterHooks/types/models/enums/SkillTypes.d.ts new file mode 100644 index 0000000..4eb90af --- /dev/null +++ b/TypeScript/9RouterHooks/types/models/enums/SkillTypes.d.ts @@ -0,0 +1,52 @@ +export declare enum SkillTypes { + HIDEOUT_MANAGEMENT = "HideoutManagement", + CRAFTING = "Crafting", + METABOLISM = "Metabolism", + IMMUNITY = "Immunity", + ENDURANCE = "Endurance", + STRENGTH = "Strength", + VITALITY = "Vitality", + HEALTH = "Health", + STRESS_RESISTANCE = "StressResistance", + THROWING = "Throwing", + RECOIL_CONTROL = "RecoilControl", + COVERT_MOVEMENT = "CovertMovement", + FIELD_MEDICINE = "FieldMedicine", + SEARCH = "Search", + SNIPING = "Sniping", + PERCEPTION = "Perception", + INTELLECT = "Intellect", + ATTENTION = "Attention", + CHARISMA = "Charisma", + MEMORY = "Memory", + SURGERY = "Surgery", + AIM_DRILLS = "AimDrills", + TROUBLESHOOTING = "TroubleShooting", + PRONE_MOVEMENT = "ProneMovement", + FIRST_AID = "FirstAid", + LIGHT_VESTS = "LightVests", + HEAVY_VESTS = "HeavyVests", + WEAPON_MODDING = "WeaponModding", + ADVANCED_MODDING = "AdvancedModding", + NIGHT_OPS = "NightOps", + SILENT_OPS = "SilentOps", + LOCKPICKING = "Lockpicking", + WEAPON_TREATMENT = "WeaponTreatment", + MAG_DRILLS = "MagDrills", + FREE_TRADING = "Freetrading", + AUCTIONS = "Auctions", + CLEAN_OPS = "Cleanoperations", + BARTER = "Barter", + SHADOW_CONNECTIONS = "Shadowconnections", + TASK_PERFORMANCE = "Taskperformance", + BEAR_ASSAULT_OPS = "BearAssaultoperations", + BEAR_AUTHORITY = "BearAuthority", + BEAR_AK_SYSTEMS = "BearAksystems", + BEAR_HEAVY_CAL = "BearHeavycaliber", + BEAR_RAW_POWER = "BearRawpower", + USEC_AR_SYSTEMS = "UsecArsystems", + USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings", + USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings", + USEC_NEGOTIATIONS = "UsecNegotiations", + USEC_TACTICS = "UsecTactics" +} diff --git a/TypeScript/9RouterHooks/types/models/enums/WeaponSkillTypes.d.ts b/TypeScript/9RouterHooks/types/models/enums/WeaponSkillTypes.d.ts new file mode 100644 index 0000000..1e20a2d --- /dev/null +++ b/TypeScript/9RouterHooks/types/models/enums/WeaponSkillTypes.d.ts @@ -0,0 +1,14 @@ +export declare enum WeaponSkillTypes { + PISTOL = "Pistol", + REVOLVER = "Revolver", + SMG = "SMG", + ASSAULT = "Assault", + SHOTGUN = "Shotgun", + SNIPER = "Sniper", + LMG = "LMG", + HMG = "HMG", + DMR = "DMR", + LAUNCHER = "Launcher", + ATTACHED_LAUNCHER = "AttachedLauncher", + MELEE = "Melee" +} diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts index cf17871..36d6246 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IHideoutConfig.d.ts @@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig { kind: "aki-hideout"; runIntervalSeconds: number; fuelDrainRateMultipler: number; + hoursForSkillCrafting: number; } diff --git a/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts b/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts index 0733931..23e6838 100644 --- a/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts +++ b/TypeScript/9RouterHooks/types/models/spt/config/IRepairConfig.d.ts @@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig { kind: "aki-repair"; priceMultiplier: number; applyRandomizeDurabilityLoss: boolean; + weaponSkillRepairGain: number; }