diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/Program.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/Program.d.ts deleted file mode 100644 index d4b71b9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/Program.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class Program { - constructor(); - start(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/TYPES.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/TYPES.d.ts deleted file mode 100644 index 6407c3a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/TYPES.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const TYPES: { - [name: string]: symbol; -}; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/Utils.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/BotCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/BotCallbacks.d.ts deleted file mode 100644 index 2db60dc..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/BotCallbacks.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { BotController } from "../controllers/BotController"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BotCallbacks { - protected botController: BotController; - protected httpResponse: HttpResponseUtil; - constructor(botController: BotController, httpResponse: HttpResponseUtil); - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/BundleCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/BundleCallbacks.d.ts deleted file mode 100644 index b28abe1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/BundleCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { BundleLoader } from "../loaders/BundleLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BundleCallbacks { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, bundleLoader: BundleLoader, configServer: ConfigServer); - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/CustomizationCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/CustomizationCallbacks.d.ts deleted file mode 100644 index 3bab8c0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/CustomizationCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { CustomizationController } from "../controllers/CustomizationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class CustomizationCallbacks { - protected customizationController: CustomizationController; - protected saveServer: SaveServer; - protected httpResponse: HttpResponseUtil; - constructor(customizationController: CustomizationController, saveServer: SaveServer, httpResponse: HttpResponseUtil); - getSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<{ - _id: string; - suites: string[]; - }>; - getTraderSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/DataCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/DataCallbacks.d.ts deleted file mode 100644 index cfb1c16..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/DataCallbacks.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGlobals } from "../models/eft/common/IGlobals"; -import { ICustomizationItem } from "../models/eft/common/tables/ICustomizationItem"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IHideoutArea } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../models/spt/server/ILocaleBase"; -import { ISettingsBase } from "../models/spt/server/ISettingsBase"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DataCallbacks { - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, databaseServer: DatabaseServer); - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/DialogueCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/DialogueCallbacks.d.ts deleted file mode 100644 index 634f90b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/DialogueCallbacks.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { DialogueController } from "../controllers/DialogueController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "../models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "../models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "../models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "../models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "../models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "../models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "../models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "../models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "../models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class DialogueCallbacks extends OnUpdate { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected dialogueController: DialogueController; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, dialogueController: DialogueController); - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/GameCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/GameCallbacks.d.ts deleted file mode 100644 index 06da1b5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/GameCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { GameController } from "../controllers/GameController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "../models/eft/game/IGameEmptyCrcRequestData"; -import { IReportNicknameRequestData } from "../models/eft/game/IReportNicknameRequestData"; -import { IVersionValidateRequestData } from "../models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class GameCallbacks { - protected httpResponse: HttpResponseUtil; - protected watermark: Watermark; - protected gameController: GameController; - constructor(httpResponse: HttpResponseUtil, watermark: Watermark, gameController: GameController); - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; - reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; -} -export { GameCallbacks }; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HandbookCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HandbookCallbacks.d.ts deleted file mode 100644 index 891e375..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HandbookCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookController } from "../controllers/HandbookController"; -import { OnLoad } from "../di/OnLoad"; -export declare class HandbookCallbacks extends OnLoad { - protected handbookController: HandbookController; - constructor(handbookController: HandbookController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HealthCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HealthCallbacks.d.ts deleted file mode 100644 index 8672be7..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HealthCallbacks.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { HealthController } from "../controllers/HealthController"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class HealthCallbacks { - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected healthController: HealthController; - constructor(httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, healthController: HealthController); - /** - * Custom aki server request found in modules/HealthSynchronizer.cs - * @param url - * @param info HealthListener.Instance.CurrentHealth class - * @param sessionID session id - * @returns empty response, no data sent back to client - */ - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HideoutCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HideoutCallbacks.d.ts deleted file mode 100644 index 99ab4c9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HideoutCallbacks.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { HideoutController } from "../controllers/HideoutController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HideoutCallbacks extends OnUpdate { - protected hideoutController: HideoutController; - protected configServer: ConfigServer; - protected hideoutConfig: IHideoutConfig; - constructor(hideoutController: HideoutController, // TODO: delay needed - configServer: ConfigServer); - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HttpCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HttpCallbacks.d.ts deleted file mode 100644 index 94c97bd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/HttpCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class HttpCallbacks extends OnLoad { - protected httpServer: IHttpServer; - constructor(httpServer: IHttpServer); - onLoad(): void; - getRoute(): string; - getImage(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InraidCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InraidCallbacks.d.ts deleted file mode 100644 index 05bcce4..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InraidCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { InraidController } from "../controllers/InraidController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IAirdropConfig } from "../models/spt/config/IAirdropConfig"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InraidCallbacks { - protected inraidController: InraidController; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected airdropConfig: IAirdropConfig; - protected inraidConfig: IInRaidConfig; - constructor(inraidController: InraidController, httpResponse: HttpResponseUtil, configServer: ConfigServer); - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InsuranceCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InsuranceCallbacks.d.ts deleted file mode 100644 index 6819960..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InsuranceCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { InsuranceController } from "../controllers/InsuranceController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InsuranceCallbacks extends OnLoadOnUpdate { - protected insuranceController: InsuranceController; - protected insuranceService: InsuranceService; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(insuranceController: InsuranceController, insuranceService: InsuranceService, httpResponse: HttpResponseUtil, configServer: ConfigServer); - onLoad(): void; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(secondsSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InventoryCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InventoryCallbacks.d.ts deleted file mode 100644 index 9ab1486..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/InventoryCallbacks.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { InventoryController } from "../controllers/InventoryController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class InventoryCallbacks { - protected inventoryController: InventoryController; - constructor(inventoryController: InventoryController); - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ItemEventCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ItemEventCallbacks.d.ts deleted file mode 100644 index f4f04f9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ItemEventCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class ItemEventCallbacks { - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - constructor(httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter); - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/LauncherCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/LauncherCallbacks.d.ts deleted file mode 100644 index c022325..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/LauncherCallbacks.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { LauncherController } from "../controllers/LauncherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class LauncherCallbacks { - protected httpResponse: HttpResponseUtil; - protected launcherController: LauncherController; - protected saveServer: SaveServer; - protected watermark: Watermark; - constructor(httpResponse: HttpResponseUtil, launcherController: LauncherController, saveServer: SaveServer, watermark: Watermark); - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getServerVersion(): string; - ping(url: string, info: IEmptyRequestData, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} -export { LauncherCallbacks }; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/LocationCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/LocationCallbacks.d.ts deleted file mode 100644 index cc69369..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/LocationCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LocationController } from "../controllers/LocationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "../models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class LocationCallbacks { - protected httpResponse: HttpResponseUtil; - protected locationController: LocationController; - constructor(httpResponse: HttpResponseUtil, locationController: LocationController); - getLocationData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/MatchCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/MatchCallbacks.d.ts deleted file mode 100644 index 2a92ef5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/MatchCallbacks.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MatchController } from "../controllers/MatchController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IPutMetricsRequestData } from "../models/eft/match/IPutMetricsRequestData"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IUpdatePingRequestData } from "../models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class MatchCallbacks { - protected httpResponse: HttpResponseUtil; - protected jsonUtil: JsonUtil; - protected matchController: MatchController; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, matchController: MatchController, databaseServer: DatabaseServer); - updatePing(url: string, info: IUpdatePingRequestData, sessionID: string): INullResponseData; - exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; - getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ModCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ModCallbacks.d.ts deleted file mode 100644 index 58342dc..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ModCallbacks.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { PostAkiModLoader } from "../loaders/PostAkiModLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -declare class ModCallbacks extends OnLoad { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected postAkiModLoader: PostAkiModLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, postAkiModLoader: PostAkiModLoader, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} -export { ModCallbacks }; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/NoteCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/NoteCallbacks.d.ts deleted file mode 100644 index d39d400..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/NoteCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NoteController } from "../controllers/NoteController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "../models/eft/notes/INoteActionData"; -export declare class NoteCallbacks { - protected noteController: NoteController; - constructor(noteController: NoteController); - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/NotifierCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/NotifierCallbacks.d.ts deleted file mode 100644 index c42058f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/NotifierCallbacks.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { NotifierController } from "../controllers/NotifierController"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../models/eft/notifier/ISelectProfileRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class NotifierCallbacks { - protected httpServerHelper: HttpServerHelper; - protected httpResponse: HttpResponseUtil; - protected notifierController: NotifierController; - constructor(httpServerHelper: HttpServerHelper, httpResponse: HttpResponseUtil, notifierController: NotifierController); - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/PresetBuildCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/PresetBuildCallbacks.d.ts deleted file mode 100644 index 541715a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/PresetBuildCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { PresetBuildController } from "../controllers/PresetBuildController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PresetBuildCallbacks { - protected httpResponse: HttpResponseUtil; - protected presetBuildController: PresetBuildController; - constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/PresetCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/PresetCallbacks.d.ts deleted file mode 100644 index 4553f8f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/PresetCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetController } from "../controllers/PresetController"; -import { OnLoad } from "../di/OnLoad"; -export declare class PresetCallbacks extends OnLoad { - protected presetController: PresetController; - constructor(presetController: PresetController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ProfileCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ProfileCallbacks.d.ts deleted file mode 100644 index 6a86fc0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/ProfileCallbacks.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ProfileController } from "../controllers/ProfileController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileCallbacks { - protected httpResponse: HttpResponseUtil; - protected timeUtil: TimeUtil; - protected profileController: ProfileController; - constructor(httpResponse: HttpResponseUtil, timeUtil: TimeUtil, profileController: ProfileController); - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - /** - * Called when creating a character, when you choose a character face/voice - * @param url - * @param info response (empty) - * @param sessionID - * @returns - */ - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/QuestCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/QuestCallbacks.d.ts deleted file mode 100644 index 559c29e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/QuestCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { QuestController } from "../controllers/QuestController"; -import { RepeatableQuestController } from "../controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "../models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class QuestCallbacks { - protected httpResponse: HttpResponseUtil; - protected questController: QuestController; - protected repeatableQuestController: RepeatableQuestController; - constructor(httpResponse: HttpResponseUtil, questController: QuestController, repeatableQuestController: RepeatableQuestController); - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/RagfairCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/RagfairCallbacks.d.ts deleted file mode 100644 index 3a405c9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/RagfairCallbacks.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { RagfairController } from "../controllers/RagfairController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRemoveOfferRequestData } from "../models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "../models/eft/ragfair/ISendRagfairReportRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected ragfairServer: RagfairServer; - protected ragfairController: RagfairController; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(httpResponse: HttpResponseUtil, logger: ILogger, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - sendReport(url: string, info: ISendRagfairReportRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/RepairCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/RepairCallbacks.d.ts deleted file mode 100644 index 63733fa..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/RepairCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { RepairController } from "../controllers/RepairController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -export declare class RepairCallbacks { - protected repairController: RepairController; - constructor(repairController: RepairController); - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/SaveCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/SaveCallbacks.d.ts deleted file mode 100644 index bbb6e53..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/SaveCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { SaveServer } from "../servers/SaveServer"; -export declare class SaveCallbacks extends OnLoadOnUpdate { - protected saveServer: SaveServer; - constructor(saveServer: SaveServer); - onLoad(): void; - getRoute(): string; - onUpdate(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/TradeCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/TradeCallbacks.d.ts deleted file mode 100644 index 272ae46..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/TradeCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { TradeController } from "../controllers/TradeController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -export declare class TradeCallbacks { - protected tradeController: TradeController; - constructor(tradeController: TradeController); - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/TraderCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/TraderCallbacks.d.ts deleted file mode 100644 index 128d9b2..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/TraderCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { TraderController } from "../controllers/TraderController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class TraderCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected traderController: TraderController; - constructor(httpResponse: HttpResponseUtil, traderController: TraderController); - onLoad(): void; - getRoute(): string; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - onUpdate(): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/WeatherCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/WeatherCallbacks.d.ts deleted file mode 100644 index ae784c8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/WeatherCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WeatherController } from "../controllers/WeatherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class WeatherCallbacks { - protected httpResponse: HttpResponseUtil; - protected weatherController: WeatherController; - constructor(httpResponse: HttpResponseUtil, weatherController: WeatherController); - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/WishlistCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/WishlistCallbacks.d.ts deleted file mode 100644 index c2cc2a8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/callbacks/WishlistCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WishlistController } from "../controllers/WishlistController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -export declare class WishlistCallbacks { - protected wishlistController: WishlistController; - constructor(wishlistController: WishlistController); - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ApplicationContext.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ApplicationContext.d.ts deleted file mode 100644 index a155bcd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ApplicationContext.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ContextVariable } from "./ContextVariable"; -import { ContextVariableType } from "./ContextVariableType"; -export declare class ApplicationContext { - private variables; - private static holderMaxSize; - getLatestValue(type: ContextVariableType): ContextVariable; - getValues(type: ContextVariableType): ContextVariable[]; - addValue(type: ContextVariableType, value: any): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ContextVariable.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ContextVariable.d.ts deleted file mode 100644 index e438947..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ContextVariable.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ContextVariableType } from "./ContextVariableType"; -export declare class ContextVariable { - private value; - private timestamp; - private type; - constructor(value: any, type: ContextVariableType); - getValue(): any; - getTimestamp(): Date; - getType(): ContextVariableType; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ContextVariableType.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ContextVariableType.d.ts deleted file mode 100644 index 5fc1704..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/context/ContextVariableType.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare enum ContextVariableType { - SESSION_ID = 0, - MATCH_INFO = 1 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/BotController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/BotController.d.ts deleted file mode 100644 index 5e6f05d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/BotController.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { BotHelper } from "../helpers/BotHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IBotCore } from "../models/eft/common/tables/IBotCore"; -import { Difficulty } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class BotController { - protected databaseServer: DatabaseServer; - protected botGenerator: BotGenerator; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(databaseServer: DatabaseServer, botGenerator: BotGenerator, botHelper: BotHelper, configServer: ConfigServer); - /** - * Return the number of bot loadout varieties to be generated - * @param type bot Type we want the loadout gen count for - * @returns - */ - getBotPresetGenerationLimit(type: string): number; - getBotCoreDifficulty(): IBotCore; - /** - * Get bot difficulty settings - * adjust PMC settings to ensure they engage the correct bot types - * @param type what bot the server is requesting settings for - * @param difficulty difficulty level server requested settings for - * @returns Difficulty object - */ - getBotDifficulty(type: string, difficulty: string): Difficulty; - protected getPmcDifficultySettings(pmcType: "bear" | "usec", difficulty: string): Difficulty; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/CustomizationController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/CustomizationController.d.ts deleted file mode 100644 index a6c4730..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/CustomizationController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -export declare class CustomizationController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper); - getTraderSuits(traderID: string, sessionID: string): ISuit[]; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; - protected getAllTraderSuits(sessionID: string): ISuit[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/DialogueController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/DialogueController.d.ts deleted file mode 100644 index b15c4b6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/DialogueController.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { DialogueInfo, Message } from "../models/eft/profile/IAkiProfile"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DialogueController { - protected httpResponse: HttpResponseUtil; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - constructor(httpResponse: HttpResponseUtil, saveServer: SaveServer, dialogueHelper: DialogueHelper); - getFriendList(sessionID: string): IGetFriendListDataResponse; - generateDialogueList(sessionID: string): IGetBodyResponseData; - getDialogueInfo(dialogueID: string, sessionID: string): DialogueInfo; - generateDialogueView(dialogueID: string, sessionID: string): IGetMailDialogViewResponseData; - removeDialogue(dialogueID: string, sessionID: string): void; - setDialoguePin(dialogueID: string, shouldPin: boolean, sessionID: string): void; - setRead(dialogueIDs: string[], sessionID: string): void; - getAllAttachments(dialogueID: string, sessionID: string): IGetAllAttachmentsResponse; - protected messagesHaveUncollectedRewards(messages: Message[]): boolean; - protected removeExpiredItems(sessionID: string): void; - update(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/GameController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/GameController.d.ts deleted file mode 100644 index 85ec418..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/GameController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { LocaleService } from "../services/LocaleService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { Watermark } from "../utils/Watermark"; -export declare class GameController { - protected logger: ILogger; - protected watermark: Watermark; - protected httpServerHelper: HttpServerHelper; - protected localeService: LocaleService; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected coreConfig: ICoreConfig; - constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, localeService: LocaleService, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, configServer: ConfigServer); - gameStart(_url: string, _info: IEmptyRequestData, sessionID: string): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; - getGameConfig(sessionID: string): IGameConfigResponse; - getServer(): any[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HandbookController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HandbookController.d.ts deleted file mode 100644 index 52d2dd8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HandbookController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class HandbookController { - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - constructor(databaseServer: DatabaseServer, handbookHelper: HandbookHelper); - load(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HealthController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HealthController.d.ts deleted file mode 100644 index cc13603..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HealthController.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentService } from "../services/PaymentService"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class HealthController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected inventoryHelper: InventoryHelper; - protected healthHelper: HealthHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, healthHelper: HealthHelper); - /** - * stores in-raid player health - * @param pmcData Player profile - * @param info Request data - * @param sessionID - * @param addEffects Should effects found be added or removed from profile - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - /** - * When healing in menu - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Occurs on post-raid healing page - * @param pmcData player profile - * @param info Request data from client - * @param sessionID Session id - * @returns - */ - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HideoutController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HideoutController.d.ts deleted file mode 100644 index 3eefe1a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/HideoutController.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { ScavCaseRewardGenerator } from "../generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "../helpers/HideoutHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutArea, Product } from "../models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HideoutController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected inventoryHelper: InventoryHelper; - protected saveServer: SaveServer; - protected playerService: PlayerService; - protected presetHelper: PresetHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - 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; - upgradeComplete(pmcData: IPmcData, body: HideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Create item in hideout slot item array, remove item from player inventory - * @param pmcData Profile data - * @param addItemToHideoutRequest reqeust from client to place item in area slot - * @param sessionID Session id - * @returns IItemEventRouterResponse object - */ - putItemsInAreaSlots(pmcData: IPmcData, addItemToHideoutRequest: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Find resource item in hideout area, add copy to player inventory, remove Item from hideout slot - * @param sessionID Session id - * @param pmcData Profile to update - * @param removeResourceRequest client request - * @param output response to send to client - * @param hideoutArea Area fuel is being removed from - * @returns IItemEventRouterResponse response - */ - protected removeResourceFromArea(sessionID: string, pmcData: IPmcData, removeResourceRequest: IHideoutTakeItemOutRequestData, output: IItemEventRouterResponse, hideoutArea: HideoutArea): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles event after clicking 'start' on the scav case hideout page - * @param pmcData player profile - * @param body client request object - * @param sessionID session id - * @returns item event router response - */ - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Add generated scav case rewards to player profile - * @param pmcData player profile to add rewards to - * @param rewards reward items to add to profile - */ - protected addScavCaseRewardsToProfile(pmcData: IPmcData, rewards: Product[]): void; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - protected handleRecipie(sessionID: string, recipe: IHideoutProduction, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Handles giving rewards stored in player profile to player after clicking 'get rewards' - * @param sessionID - * @param pmcData - * @param body - * @param output - * @returns - */ - protected handleScavCase(sessionID: string, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - update(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InraidController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InraidController.d.ts deleted file mode 100644 index b899e7d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InraidController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { InRaidHelper } from "../helpers/InRaidHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InraidController { - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected playerScavGenerator: PlayerScavGenerator; - protected healthHelper: HealthHelper; - protected traderHelper: TraderHelper; - protected insuranceService: InsuranceService; - protected inRaidHelper: InRaidHelper; - protected configServer: ConfigServer; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, jsonUtil: JsonUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, configServer: ConfigServer); - addPlayer(sessionID: string, info: IRegisterPlayerRequestData): void; - saveProgress(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Mark inventory items as FiR if player survived raid, otherwise remove FiR from them - * @param offraidData Save Progress Request - * @param pmcData player profile - * @param isPlayerScav Was the player a pScav - */ - private markOrRemoveFoundInRaidItems; - private handlePostRaidPlayerScavProcess; - private handlePostRaidPlayerScavKarmaChanges; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InsuranceController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InsuranceController.d.ts deleted file mode 100644 index 6895383..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InsuranceController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { PaymentService } from "../services/PaymentService"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceController { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected itemEventRouter: ItemEventRouter; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected dialogueHelper: DialogueHelper; - protected paymentService: PaymentService; - protected insuranceService: InsuranceService; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, itemEventRouter: ItemEventRouter, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileHelper: ProfileHelper, dialogueHelper: DialogueHelper, paymentService: PaymentService, // TODO: delay required - insuranceService: InsuranceService, configServer: ConfigServer); - processReturn(): void; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Calculate insurance cost - * @param info request object - * @param sessionID session id - * @returns response object to send to client - */ - cost(info: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InventoryController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InventoryController.d.ts deleted file mode 100644 index f57f731..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/InventoryController.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class InventoryController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected fenceService: FenceService; - protected presetHelper: PresetHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairOfferService: RagfairOfferService; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); - /** - * Move Item - * change location of item with parentId and slotId - * transfers items from one profile to another if fromOwner/toOwner is set in the body. - * otherwise, move is contained within the same profile_f. - */ - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove Item from Profile - * Deep tree item deletion, also removes items from insurance list - */ - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Implements functionality "Discard" from Main menu (Stash etc.) - * Removes item from PMC Profile - */ - discardItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Split Item - * spliting 1 item-stack into 2 separate items ... - */ - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Merge Item - * merges 2 items into one, deletes item from `body.item` and adding number of stacks into `body.with` - */ - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Transfer item - * Used to take items from scav inventory into stash or to insert ammo into mags (shotgun ones) and reloading weapon by clicking "Reload" - */ - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Swap Item - * its used for "reload" if you have weapon in hands and magazine is somewhere else in rig or backpack in equipment - */ - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Give Item - * its used for "add" item like gifts etc. - */ - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - /** - * Handles folding of Weapons - */ - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Toggles "Toggleable" items like night vision goggles and face shields. - */ - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles Tagging of items (primary Containers). - */ - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles examining an item - * @param pmcData player profile - * @param body request object - * @param sessionID session id - * @returns response - */ - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Get the tplid of an item from the examine request object - * @param body response request - * @returns tplid - */ - protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles sorting of Inventory. - */ - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/LauncherController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/LauncherController.d.ts deleted file mode 100644 index 1af1f56..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/LauncherController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { Info } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class LauncherController { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected httpServerHelper: HttpServerHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected coreConfig: ICoreConfig; - constructor(hashUtil: HashUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - connect(): any; - find(sessionIdKey: string): Info; - login(info: ILoginRequestData): string; - register(info: IRegisterData): string; - protected createAccount(info: IRegisterData): string; - changeUsername(info: IChangeRequestData): string; - changePassword(info: IChangeRequestData): string; - wipe(info: IRegisterData): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/LocationController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/LocationController.d.ts deleted file mode 100644 index 90b6d7a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/LocationController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { LocationGenerator } from "../generators/LocationGenerator"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class LocationController { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected locationGenerator: LocationGenerator; - protected databaseServer: DatabaseServer; - protected timeUtil: TimeUtil; - constructor(jsonUtil: JsonUtil, logger: ILogger, locationGenerator: LocationGenerator, databaseServer: DatabaseServer, timeUtil: TimeUtil); - get(location: string): ILocationBase; - generate(name: string): ILocationBase; - generateAll(): ILocationsGenerateAllResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/MatchController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/MatchController.d.ts deleted file mode 100644 index 71cb7d3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/MatchController.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ApplicationContext } from "../context/ApplicationContext"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "../models/spt/config/IMatchConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { MatchLocationService } from "../services/MatchLocationService"; -export declare class MatchController { - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected matchLocationService: MatchLocationService; - protected traderHelper: TraderHelper; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - protected matchConfig: IMatchConfig; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer, applicationContext: ApplicationContext); - getEnabled(): boolean; - getProfile(info: IGetProfileRequestData): IPmcData[]; - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; - joinMatch(info: IJoinMatchRequestData, sessionID: string): IJoinMatchResult[]; - protected getMatch(location: string): any; - getGroupStatus(info: IGetGroupStatusRequestData): any; - startOfflineRaid(info: IStartOfflineRaidRequestData, sessionID: string): void; - endOfflineRaid(info: IEndOfflineRaidRequestData, sessionID: string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/NoteController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/NoteController.d.ts deleted file mode 100644 index ee70541..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/NoteController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -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"; -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; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/NotifierController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/NotifierController.d.ts deleted file mode 100644 index 31d7bfe..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/NotifierController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { NotificationService } from "../services/NotificationService"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -export declare class NotifierController { - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected notificationService: NotificationService; - protected pollInterval: number; - protected timeout: number; - constructor(notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, notificationService: NotificationService); - /** - * Resolve an array of session notifications. - * - * If no notifications are currently queued then intermittently check for new notifications until either - * one or more appear or when a timeout expires. - * If no notifications are available after the timeout, use a default message. - */ - notifyAsync(sessionID: string): Promise; - getServer(sessionID: string): string; - getChannel(sessionID: string): INotifierChannel; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/PresetBuildController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/PresetBuildController.d.ts deleted file mode 100644 index adf4084..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/PresetBuildController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class PresetBuildController { - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - constructor(hashUtil: HashUtil, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, saveServer: SaveServer); - getUserBuilds(sessionID: string): WeaponBuild[]; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/PresetController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/PresetController.d.ts deleted file mode 100644 index ca1af1a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/PresetController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetHelper } from "../helpers/PresetHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PresetController { - protected presetHelper: PresetHelper; - protected databaseServer: DatabaseServer; - constructor(presetHelper: PresetHelper, databaseServer: DatabaseServer); - initialize(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/ProfileController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/ProfileController.d.ts deleted file mode 100644 index 8c89a02..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/ProfileController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IMiniProfile } from "../models/eft/launcher/IMiniProfile"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileController { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileFixerService: ProfileFixerService; - protected playerScavGenerator: PlayerScavGenerator; - protected traderHelper: TraderHelper; - protected profileHelper: ProfileHelper; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, playerScavGenerator: PlayerScavGenerator, traderHelper: TraderHelper, profileHelper: ProfileHelper); - getMiniProfiles(): IMiniProfile[]; - getMiniProfile(sessionID: string): any; - getCompleteProfile(sessionID: string): IPmcData[]; - createProfile(info: IProfileCreateRequestData, sessionID: string): void; - /** - * Generate a player scav object - * pmc profile MUST exist first before pscav can be generated - * @param sessionID - * @returns IPmcData object - */ - generatePlayerScav(sessionID: string): IPmcData; - validateNickname(info: IValidateNicknameRequestData, sessionID: string): string; - changeNickname(info: IProfileChangeNicknameRequestData, sessionID: string): string; - changeVoice(info: IProfileChangeVoiceRequestData, sessionID: string): void; - getFriends(info: ISearchFriendRequestData, sessionID: string): ISearchFriendResponse[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/QuestController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/QuestController.d.ts deleted file mode 100644 index 2cbccfb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/QuestController.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestConditionHelper } from "../helpers/QuestConditionHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { PlayerService } from "../services/PlayerService"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class QuestController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected questHelper: QuestHelper; - protected questConditionHelper: QuestConditionHelper; - protected playerService: PlayerService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, configServer: ConfigServer); - /** - * Get all quests visible to player - * Exclude quests with incomplete preconditions (level/loyalty) - * @param sessionID session id - * @returns array of IQuest - */ - getClientQuests(sessionID: string): IQuest[]; - acceptQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - acceptRepeatableQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove completed quest from profile - * Add newly unlocked quests to profile - * Also recalculate thier level due to exp rewards - * @param pmcData Player profile - * @param body completed quest request - * @param sessionID session id - * @returns ItemEvent response - */ - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Send a popup to player on completion of a quest - * @param sessionID session id - * @param pmcData player profile - * @param completedQuestId completed quest id - * @param questRewards rewards given to player - */ - protected sendDialogMessageOnQuestComplete(sessionID: string, pmcData: IPmcData, completedQuestId: string, questRewards: Reward[]): void; - /** - * Returns a list of quests that should be failed when a quest is completed - * @param completedQuestId quest completed id - * @returns array of quests - */ - protected getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; - /** - * Fail the quests provided - * @param sessionID session id - * @param pmcData player profile - * @param questsToFail quests to fail - */ - protected failQuests(sessionID: string, pmcData: IPmcData, questsToFail: IQuest[]): void; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RagfairController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RagfairController.d.ts deleted file mode 100644 index c4ffc15..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RagfairController.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairHelper } from "../helpers/RagfairHelper"; -import { RagfairOfferHelper } from "../helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "../helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "../helpers/RagfairSortHelper"; -import { RagfairTaxHelper } from "../helpers/RagfairTaxHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PaymentService } from "../services/PaymentService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - protected ragfairServer: RagfairServer; - protected ragfairPriceService: RagfairPriceService; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - protected ragfairSellHelper: RagfairSellHelper; - protected ragfairTaxHelper: RagfairTaxHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairOfferHelper: RagfairOfferHelper; - protected profileHelper: ProfileHelper; - protected paymentService: PaymentService; - protected handbookHelper: HandbookHelper; - protected paymentHelper: PaymentHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxHelper: RagfairTaxHelper, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, configServer: ConfigServer); - getOffers(sessionID: string, info: ISearchRequestData): IGetOffersResult; - protected isLinkedSearch(info: ISearchRequestData): boolean; - protected isRequiredSearch(info: ISearchRequestData): boolean; - update(): void; - getItemPrice(info: IGetMarketPriceRequestData): IGetItemPriceResult; - addPlayerOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - createPlayerOffer(profile: IAkiProfile, requirements: Requirement[], items: Item[], sellInOnePiece: boolean, amountToSend: number): IRagfairOffer; - getAllFleaPrices(): Record; - removeOffer(offerId: string, sessionID: string): IItemEventRouterResponse; - extendOffer(info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RepairController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RepairController.d.ts deleted file mode 100644 index 0e78ef6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RepairController.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { QuestHelper } from "../helpers/QuestHelper"; -import { RepairHelper } from "../helpers/RepairHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -export declare class RepairController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected traderHelper: TraderHelper; - protected paymentService: PaymentService; - protected repairHelper: RepairHelper; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); - /** - * Repair with trader - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - /** - * Repair with repair kit - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - repairWithKit(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RepeatableQuestController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RepeatableQuestController.d.ts deleted file mode 100644 index 98d05dd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/RepeatableQuestController.d.ts +++ /dev/null @@ -1,220 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { Exit } from "../models/eft/common/ILocationBase"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { TraderInfo } from "../models/eft/common/tables/IBotBase"; -import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "../models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { ProbabilityObject, ProbabilityObjectArray, RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export interface IQuestTypePool { - types: string[]; - pool: IQuestPool; -} -export interface IQuestPool { - Exploration: IExplorationPool; - Elimination: IEliminationPool; -} -export interface IExplorationPool { - locations: Partial>; -} -export interface IEliminationPool { - targets: IEliminationTargetPool; -} -export interface IEliminationTargetPool { - Savage?: ITargetLocation; - AnyPmc?: ITargetLocation; - bossBully?: ITargetLocation; - bossGluhar?: ITargetLocation; - bossKilla?: ITargetLocation; - bossSanitar?: ITargetLocation; - bossTagilla?: ITargetLocation; - bossKojaniy?: ITargetLocation; -} -export interface ITargetLocation { - locations: string[]; -} -export declare class RepeatableQuestController { - protected timeUtil: TimeUtil; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected mathUtil: MathUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected ragfairServerHelper: RagfairServerHelper; - protected itemEventRouter: ItemEventRouter; - protected paymentService: PaymentService; - protected objectId: ObjectId; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); - /** - * This is the method reached by the /client/repeatalbeQuests/activityPeriods endpoint - * Returns an array of objects in the format of repeatable quests to the client. - * repeatableQuestObject = { - * id: Unique Id, - * name: "Daily", - * endTime: the time when the quests expire - * activeQuests: currently available quests in an array. Each element of quest type format (see assets/database/templates/repeatableQuests.json). - * inactiveQuests: the quests which were previously active (required by client to fail them if they are not completed) - * } - * - * The method checks if the player level requirement for repeatable quests (e.g. daily lvl5, weekly lvl15) is met and if the previously active quests - * are still valid. This ischecked by endTime persisted in profile accordning to the resetTime configured for each repeatable kind (daily, weekly) - * in QuestCondig.js - * - * If the condition is met, new repeatableQuests are created, old quests (which are persisted in the profile.RepeatableQuests[i].activeQuests) are - * moved to profile.RepeatableQuests[i].inactiveQuests. This memory is required to get rid of old repeatable quest data in the profile, otherwise - * they'll litter the profile's Quests field. - * (if the are on "Succeed" but not "Completed" we keep them, to allow the player to complete them and get the rewards) - * The new quests generated are again persisted in profile.RepeatableQuests - * - * - * @param {string} sessionId Player's session id - * @returns {array} array of "repeatableQuestObjects" as descibed above - */ - getClientRepeatableQuests(_info: IEmptyRequestData, sessionID: string): IPmcDataRepeatableQuest[]; - /** - * This method is called by GetClientRepeatableQuests and creates one element of quest type format (see assets/database/templates/repeatableQuests.json). - * It randomly draws a quest type (currently Elimination, Completion or Exploration) as well as a trader who is providing the quest - */ - generateRepeatableQuest(pmcLevel: number, pmcTraderInfo: Record, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; - /** - * Just for debug reasons. Draws dailies a random assort of dailies extracted from dumps - */ - generateDebugDailies(dailiesPool: any, factory: any, number: any): any; - /** - * Generates the base object of quest type format given as templates in assets/database/templates/repeatableQuests.json - * The templates include Elimination, Completion and Extraction quest types - * - * @param {string} type quest type: "Elimination", "Completion" or "Extraction" - * @param {string} traderId trader from which the quest will be provided - * @returns {object} a object which contains the base elements for repeatable quests of the requests type - * (needs to be filled with reward and conditions by called to make a valid quest) - */ - generateRepeatableTemplate(type: string, traderId: string): IRepeatableQuest; - /** - * Generates a valid Exploration quest - * - * @param {integer} pmcLevel player's level for reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Exploration" (see assets/database/templates/repeatableQuests.json) - */ - generateExplorationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IExploration; - /** - * Generates a valid Completion quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Completion" (see assets/database/templates/repeatableQuests.json) - */ - generateCompletionQuest(pmcLevel: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): ICompletion; - /** - * Generates a valid Elimination quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Elimination" (see assets/database/templates/repeatableQuests.json) - */ - generateEliminationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IElimination; - /** - * Exploration repeatable quests can specify a required extraction point. - * This method creates the according object which will be appended to the conditions array - * - * @param {string} exit The exit name to generate the condition for - * @returns {object} Exit condition - */ - generateExplorationExitCondition(exit: Exit): IExplorationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateCompletionQuest to create a completion condition (of which a completion quest theoretically can have many) - * - * @param {string} targetItemId id of the item to request - * @param {integer} value amount of items of this specific type to request - * @returns {object} object of "Completion"-condition - */ - generateCompletionAvailableForFinish(targetItemId: string, value: number): ICompletionAvailableFor; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a location condition. - * - * @param {string} location the location on which to fulfill the elimination quest - * @returns {object} object of "Elimination"-location-subcondition - */ - generateEliminationLocation(location: string[]): IEliminationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a kill condition. - * - * @param {string} target array of target npcs e.g. "AnyPmc", "Savage" - * @param {array} bodyParts array of body parts with which to kill e.g. ["stomach", "thorax"] - * @param {number} distance distance from which to kill (currently only >= supported) - * @returns {object} object of "Elimination"-kill-subcondition - */ - generateEliminationCondition(target: string, bodyPart: string[], distance: number): IEliminationCondition; - /** - * Used to create a quest pool during each cycle of repeatable quest generation. The pool will be subsequently - * narrowed down during quest generation to avoid duplicate quests. Like duplicate extractions or elimination quests - * where you have to e.g. kill scavs in same locations. - * - * @returns {object} the quest pool - */ - generateQuestPool(repeatableConfig: IRepeatableQuestConfig): IQuestTypePool; - /** - * Generate the reward for a mission. A reward can consist of - * - Experience - * - Money - * - Items - * - Trader Reputation - * - * The reward is dependent on the player level as given by the wiki. The exact mapping of pmcLevel to - * experience / money / items / trader reputation can be defined in QuestConfig.js - * - * There's also a random variation of the reward the spread of which can be also defined in the config. - * - * Additonaly, a scaling factor w.r.t. quest difficulty going from 0.2...1 can be used - * - * @param {integer} pmcLevel player's level - * @param {number} difficulty a reward scaling factor goint from 0.2 to 1 - * @param {string} traderId the trader for reputation gain (and possible in the future filtering of reward item type based on trader) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of "Reward"-type that can be given for a repeatable mission - */ - generateReward(pmcLevel: number, difficulty: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): IRewards; - /** - * Helper to create a reward item structured as required by the client - * - * @param {string} tpl itemId of the rewarded item - * @param {integer} value amount of items to give - * @param {integer} index all rewards will be appended to a list, for unkown reasons the client wants the index - * @returns {object} object of "Reward"-item-type - */ - generateRewardItem(tpl: string, value: number, index: number, preset?: any): IReward; - debugLogRepeatableQuestIds(pmcData: IPmcData): void; - probabilityObjectArray(configArrayInput: ProbabilityObject[]): ProbabilityObjectArray; - changeRepeatableQuest(pmcDataIn: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/TradeController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/TradeController.d.ts deleted file mode 100644 index c86745c..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/TradeController.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { RagfairServer } from "../servers/RagfairServer"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TradeHelper } from "../helpers/TradeHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -declare class TradeController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected tradeHelper: TradeHelper; - protected profileHelper: ProfileHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, tradeHelper: TradeHelper, profileHelper: ProfileHelper, ragfairServer: RagfairServer); - confirmTrading(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string, foundInRaid?: boolean, upd?: Upd): IItemEventRouterResponse; - confirmRagfairTrading(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} -export { TradeController }; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/TraderController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/TraderController.d.ts deleted file mode 100644 index 7bab158..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/TraderController.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderAssortHelper } from "../helpers/TraderAssortHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class TraderController { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected traderAssortHelper: TraderAssortHelper; - protected profileHelper: ProfileHelper; - protected traderHelper: TraderHelper; - protected timeUtil: TimeUtil; - protected traderAssortService: TraderAssortService; - protected jsonUtil: JsonUtil; - constructor(logger: ILogger, databaseServer: DatabaseServer, traderAssortHelper: TraderAssortHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, timeUtil: TimeUtil, traderAssortService: TraderAssortService, jsonUtil: JsonUtil); - load(): void; - getTrader(traderID: string, sessionID: string): ITraderBase; - getAllTraders(sessionID: string): ITraderBase[]; - updateTraders(): boolean; - getAssort(sessionId: string, traderId: string): ITraderAssort; - getPurchasesData(traderID: string, sessionID: string): Record; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/WeatherController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/WeatherController.d.ts deleted file mode 100644 index ca7f5eb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/WeatherController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WeatherGenerator } from "../generators/WeatherGenerator"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WeatherController { - protected weatherGenerator: WeatherGenerator; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weatherGenerator: WeatherGenerator, configServer: ConfigServer); - generate(): IWeatherData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/WishlistController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/WishlistController.d.ts deleted file mode 100644 index a96c522..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/controllers/WishlistController.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class WishlistController { - protected itemEvenRouter: ItemEventRouter; - constructor(itemEvenRouter: ItemEventRouter); - addToWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Container.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Container.d.ts deleted file mode 100644 index 17791b0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Container.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class Container { - static registerTypes(depContainer: DependencyContainer): void; - static registerListTypes(depContainer: DependencyContainer): void; - private static registerUtils; - private static registerRouters; - private static registerGenerators; - private static registerHelpers; - private static registerLoaders; - private static registerCallbacks; - private static registerServices; - private static registerServers; - private static registerControllers; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnLoad.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnLoad.d.ts deleted file mode 100644 index 064d07d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnLoad.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnLoad { - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnLoadOnUpdate.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnLoadOnUpdate.d.ts deleted file mode 100644 index 8bd3dc3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnLoadOnUpdate.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { OnLoad } from "./OnLoad"; -import { OnUpdate } from "./OnUpdate"; -export declare class OnLoadOnUpdate implements OnLoad, OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnUpdate.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnUpdate.d.ts deleted file mode 100644 index 7fbbe09..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/OnUpdate.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Router.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Router.d.ts deleted file mode 100644 index 2fb98e0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Router.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -export declare class Router { - private handledRoutes; - getTopLevelRoute(): string; - protected getHandledRoutes(): HandledRoute[]; - private getInternalHandledRoutes; - canHandle(url: string, partialMatch?: boolean): boolean; -} -export declare class StaticRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleStatic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class DynamicRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleDynamic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class ItemEventRouterDefinition extends Router { - constructor(); - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} -export declare class SaveLoadRouter extends Router { - constructor(); - handleLoad(profile: IAkiProfile): IAkiProfile; -} -export declare class HandledRoute { - route: string; - dynamic: boolean; - constructor(route: string, dynamic: boolean); -} -export declare class RouteAction { - url: string; - action: (url: string, info: any, sessionID: string, output: string) => any; - constructor(url: string, action: (url: string, info: any, sessionID: string, output: string) => any); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Serializer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Serializer.d.ts deleted file mode 100644 index 70aa7c5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/di/Serializer.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class Serializer { - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(something: string): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotGenerator.d.ts deleted file mode 100644 index a5fc0ad..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotGenerator.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { Health as PmcHealth, IBotBase, Skills } from "../models/eft/common/tables/IBotBase"; -import { Health, IBotType, Inventory } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotEquipmentFilterService } from "../services/BotEquipmentFilterService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotInventoryGenerator } from "./BotInventoryGenerator"; -declare namespace BotGenerator { - interface IRandomisedBotLevelResult { - level: number; - exp: number; - } -} -export declare class BotGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected databaseServer: DatabaseServer; - protected botInventoryGenerator: BotInventoryGenerator; - protected botEquipmentFilterService: BotEquipmentFilterService; - protected botHelper: BotHelper; - protected gameEventHelper: GameEventHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, jsonUtil: JsonUtil, profileHelper: ProfileHelper, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botEquipmentFilterService: BotEquipmentFilterService, botHelper: BotHelper, gameEventHelper: GameEventHelper, configServer: ConfigServer); - /** - * Generate a player scav bot object - * @param role e.g. assault / pmcbot - * @param difficulty easy/normal/hard/impossible - * @param botTemplate base bot template to use (e.g. assault/pmcbot) - * @returns - */ - generatePlayerScav(role: string, difficulty: string, botTemplate: IBotType): IBotBase; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - /** - * Choose if a bot should become a PMC by checking if bot type is allowed to become a Pmc in botConfig.convertFromChances and doing a random int check - * @param botRole the bot role to check if should be a pmc - * @returns true if should be a pmc - */ - protected shouldBotBePmc(botRole: string): boolean; - /** - * Get a randomised PMC side based on bot config value 'isUsec' - * @returns pmc side as string - */ - protected getRandomisedPmcSide(): string; - /** - * Get a clone of the database\bots\base.json file - * @returns IBotBase object - */ - protected getCloneOfBotBase(): IBotBase; - protected generateBot(bot: IBotBase, role: string, node: IBotType, isPmc: boolean, isPlayerScav?: boolean): IBotBase; - /** - * Log the number of PMCs generated to the debug console - */ - protected logPmcGeneratedCount(output: IBotBase[]): void; - protected generateRandomLevel(min: number, max: number): BotGenerator.IRandomisedBotLevelResult; - /** - * Converts health object to the required format - * @param healthObj health object from bot json - * @param playerScav Is a pscav bot being generated - * @returns PmcHealth object - */ - protected generateHealth(healthObj: Health, playerScav?: boolean): PmcHealth; - protected generateSkills(skillsObj: Skills): Skills; - /** - * Convert from pmc side (usec/bear) to the side as defined in the bot config (usecType/bearType) - * @param pmcSide eft side (usec/bear) - * @returns pmc side as defined in config - */ - protected getPmcRole(pmcSide: string): string; - /** - * Iterate through bots inventory and loot to find and remove christmas items (as defined in GameEventHelper) - * @param nodeInventory Bots inventory to iterate over - */ - protected removeChristmasItemsFromBotInventory(nodeInventory: Inventory): void; - protected generateId(bot: IBotBase): IBotBase; - protected generateInventoryID(profile: IBotBase): IBotBase; - protected getPMCDifficulty(requestedDifficulty: string): string; - /** - * Add a side-specific (usec/bear) dogtag item to a bots inventory - * @param bot bot to add dogtag to - * @returns Bot with dogtag added - */ - protected generateDogtag(bot: IBotBase): IBotBase; -} -export {}; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotInventoryGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotInventoryGenerator.d.ts deleted file mode 100644 index 35d1ee8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotInventoryGenerator.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation, Mods } from "../models/eft/common/tables/IBotType"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -import { BotLootGenerator } from "./BotLootGenerator"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -export declare class BotInventoryGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootGenerator: BotLootGenerator; - protected botGeneratorHelper: BotGeneratorHelper; - protected weightedRandomHelper: WeightedRandomHelper; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, botWeaponGenerator: BotWeaponGenerator, botLootGenerator: BotLootGenerator, botGeneratorHelper: BotGeneratorHelper, weightedRandomHelper: WeightedRandomHelper); - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; - protected generateEquipment(equipmentSlot: string, equipmentPool: Record, modPool: Mods, spawnChances: Chances, botRole: string, inventory: PmcInventory): void; - protected generateInventoryBase(): PmcInventory; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotLootGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotLootGenerator.d.ts deleted file mode 100644 index c6a3f29..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotLootGenerator.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Chances, Inventory, ItemMinMax, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -export declare class BotLootGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGenerator: BotWeaponGenerator, botLootCacheService: BotLootCacheService, configServer: ConfigServer); - generateLoot(templateInventory: Inventory, itemCounts: ItemMinMax, isPmc: boolean, botRole: string, botInventory: PmcInventory, equipmentChances: Chances): void; - protected getRandomisedCount(min: number, max: number, nValue: number): number; - /** - * Take random items from a pool and add to an inventory until totalItemCount or totalValueLimit is reached - * @param pool pool of items to pick from - * @param equipmentSlots What equality slot will the loot items be added to - * @param totalItemCount Max count of items to add - * @param inventoryToAddItemsTo bot inventory loot will be added to - * @param botRole role of the bot loot is being generated for (assault/pmcbot) - * @param useLimits should item limit counts be used as defined in config/bot.json - * @param totalValueLimitRub total value of loot allowed in roubles - * @param isPmc is the bot being generated for a pmc - */ - protected addLootFromPool(pool: ITemplateItem[], equipmentSlots: string[], totalItemCount: number, inventoryToAddItemsTo: PmcInventory, botRole: string, useLimits?: boolean, totalValueLimitRub?: number, isPmc?: boolean): void; - /** - * Add generated weapons to inventory as loot - * @param botInventory inventory to add preset to - * @param equipmentSlot slot to place the preset in (backpack) - * @param templateInventory bots template, assault.json - * @param modChances chances for mods to spawn on weapon - * @param botRole bots role, .e.g. pmcBot - * @param isPmc are we generating for a pmc - */ - protected addLooseWeaponsToInventorySlot(botInventory: PmcInventory, equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, botRole: string, isPmc: boolean): void; - /** - * Get a random item from the pool parameter using the biasedRandomNumber system - * @param pool pool of items to pick an item from - * @param isPmc is the bot being created a pmc - * @returns ITemplateItem object - */ - protected getRandomItemFromPool(pool: ITemplateItem[], isPmc: boolean): ITemplateItem; - /** - * Get the loot nvalue from botconfig - * @param isPmc if true the pmc nvalue is returned - * @returns nvalue as number - */ - protected getBotLootNValue(isPmc: boolean): number; - /** - * Update item limit array to contain items that have a limit - * All values are set to 0 - * @param isPmc is the bot a pmc - * @param botRole role the bot has - * @param limitCount - */ - protected initItemLimitArray(isPmc: boolean, botRole: string, limitCount: Record): void; - /** - * Check if an item has reached its bot-specific spawn limit - * @param itemTemplate Item we check to see if its reached spawn limit - * @param botRole Bot type - * @param isPmc Is bot we're working with a pmc - * @param limitCount spawn limits for items on bot - * @param itemSpawnLimits the limits this bot is allowed to have - * @returns true if item has reached spawn limit - */ - protected itemHasReachedSpawnLimit(itemTemplate: ITemplateItem, botRole: string, isPmc: boolean, limitCount: Record, itemSpawnLimits: Record): boolean; - /** - * Is the item an ammo box - * @param props props of the item to check - * @returns true if item is an ammo box - */ - protected isAmmoBox(props: Props): boolean; - /** - * Create an object that contains the ammo stack for an ammo box - * @param parentId ammo box id - * @param props ammo box props - * @returns Item object - */ - protected createAmmoForAmmoBox(parentId: string, props: Props): Item; - /** - * Randomise the stack size of a money object, uses different values for pmc or scavs - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param moneyItem Money stack to randomise - */ - protected randomiseMoneyStackSize(isPmc: boolean, itemTemplate: ITemplateItem, moneyItem: Item): void; - /** - * Randomise the size of an ammo stack - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param ammoItem Ammo stack to randomise - */ - protected randomiseAmmoStackSize(isPmc: boolean, itemTemplate: ITemplateItem, ammoItem: Item): void; - /** - * Get spawn limits for a specific bot type from bot.json config - * If no limit found for a non pmc bot, fall back to defaults - * @param isPmc is the bot we want limits for a pmc - * @param botRole what role does the bot have - * @returns dictionary of tplIds and limit - */ - protected getItemSpawnLimitsForBotType(isPmc: boolean, botRole: string): Record; - /** - * Get the parentId or tplId of item inside spawnLimits object if it exists - * @param itemTemplate item we want to look for in spawn limits - * @param spawnLimits Limits to check for item - * @returns id as string, otherwise undefined - */ - protected getMatchingIdFromSpawnLimits(itemTemplate: ITemplateItem, spawnLimits: Record): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotWeaponGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotWeaponGenerator.d.ts deleted file mode 100644 index 9215214..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/BotWeaponGenerator.d.ts +++ /dev/null @@ -1,173 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { MinMax } from "../models/common/MinMax"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "../models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotWeaponGenerator { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected hashUtil: HashUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected weightedRandomHelper: WeightedRandomHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected readonly modMagazineSlotId = "mod_magazine"; - protected botConfig: IBotConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil, configServer: ConfigServer); - /** - * Get a random weapon from a bots pool of weapons (weighted) - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @returns weapon tpl - */ - pickWeightedWeaponTplFromPool(equipmentSlot: string, botTemplateInventory: Inventory): string; - /** - * Generated a weapon based on the supplied weapon tpl - * @param weaponTpl weapon tpl to generate (use pickWeightedWeaponTplFromPool()) - * @param equipmentSlot slot to fit into, primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateWeaponByTpl(weaponTpl: string, equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Generate an entirely random weapon - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateRandomWeapon(equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Create array with weapon base as only element - * Add additional properties as required - * @param weaponTpl - * @param weaponParentId - * @param equipmentSlot - * @param weaponItemTemplate - * @param botRole for durability values - * @returns - */ - constructWeaponBaseArray(weaponTpl: string, weaponParentId: string, equipmentSlot: string, weaponItemTemplate: ITemplateItem, botRole: string): Item[]; - /** - * Add compatible magazines to an inventory based on a generated weapon - * @param weaponDetails - * @param magCounts - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - */ - addExtraMagazinesToInventory(weaponDetails: GenerateWeaponResult, magCounts: MinMax, inventory: PmcInventory, botRole: string): void; - /** - * Get the mods necessary to kit out a weapon to its preset level - * @param weaponTpl weapon to find preset for - * @param equipmentSlot the slot the weapon will be placed in - * @param weaponParentId Value used for the parentid - * @returns array of weapon mods - */ - protected getPresetWeaponMods(weaponTpl: string, equipmentSlot: string, weaponParentId: string, itemTemplate: ITemplateItem, botRole: string): Item[]; - /** Checks if all required slots are occupied on a weapon and all it's mods */ - protected isWeaponValid(weaponItemArray: Item[]): boolean; - /** - * Generates extra magazines or bullets (if magazine is internal) and adds them to TacticalVest and Pockets. - * Additionally, adds extra bullets to SecuredContainer - * @param weaponMods - * @param weaponTemplate - * @param magCounts - * @param ammoTpl - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - * @returns - */ - protected generateExtraMagazines(weaponMods: Item[], weaponTemplate: ITemplateItem, magCounts: MinMax, ammoTpl: string, inventory: PmcInventory, botRole: string): void; - /** - * Get a randomised number of bullets for a specific magazine - * @param magCounts min and max count of magazines - * @param magTemplate magazine to generate bullet count for - * @returns bullet count number - */ - protected getRandomisedBulletCount(magCounts: MinMax, magTemplate: ITemplateItem): number; - /** - * Get a randomised count of magazines - * @param magCounts min and max value returned value can be between - * @returns numberical value of magazine count - */ - protected getRandomisedMagazineCount(magCounts: MinMax): number; - /** - * Add ammo to the secure container - * @param stackCount How many stacks of ammo to add - * @param ammoTpl Ammo type to add - * @param stackSize Size of the ammo stack to add - * @param inventory Player inventory - */ - protected addAmmoToSecureContainer(stackCount: number, ammoTpl: string, stackSize: number, inventory: PmcInventory): void; - /** - * Get a weapons magazine tpl from a weapon template - * @param weaponMods mods from a weapon template - * @param weaponTemplate Weapon to get magazine tpl for - * @param botRole the bot type we are getting the magazine for - * @returns magazine tpl string - */ - protected getMagazineTplFromWeaponTemplate(weaponMods: Item[], weaponTemplate: ITemplateItem, botRole: string): string; - /** - * Get a weapons default magazine template id - * @param weaponTemplate weapon to get default magazine for - * @returns tpl of magazine - */ - protected getWeaponsDefaultMagazineTpl(weaponTemplate: ITemplateItem): string; - protected addBulletsToVestAndPockets(ammoTpl: string, bulletCount: number, inventory: PmcInventory): void; - /** - * Finds and return a compatible ammo tpl based on the bots ammo weightings (x.json/inventory/equipment/ammo) - * @param ammo a list of ammo tpls the weapon can use - * @param weaponTemplate the weapon we want to pick ammo for - * @param isPmc is the ammo being gathered for a pmc (runs pmc ammo filtering) - * @returns an ammo tpl that works with the desired gun - */ - protected getCompatibleAmmo(ammo: Record>, weaponTemplate: ITemplateItem, isPmc: boolean): string; - /** - * Get a weapons compatible cartridge caliber - * @param weaponTemplate Weapon to look up caliber of - * @returns caliber as string - */ - protected getWeaponCaliber(weaponTemplate: ITemplateItem): string; - /** - * Fill existing magazines to full, while replacing their contents with specified ammo - * @param weaponMods - * @param magazine - * @param ammoTpl - */ - protected fillExistingMagazines(weaponMods: Item[], magazine: Item, ammoTpl: string): void; - /** - * Add cartridge item to weapon Item array, if it already exists, update - * @param weaponMods Weapon items array to amend - * @param magazine magazine item details we're adding cartridges to - * @param chosenAmmo cartridge to put into the magazine - * @param newStackSize how many cartridges should go into the magazine - */ - protected addOrUpdateMagazinesChildWithAmmo(weaponMods: Item[], magazine: Item, chosenAmmo: string, newStackSize: number): void; - /** - * Fill each Camora with a bullet - * @param weaponMods Weapon mods to find and update camora mod(s) from - * @param magazineId magazine id to find and add to - * @param ammoTpl ammo template id to hydate with - */ - protected fillCamorasWithAmmo(weaponMods: Item[], magazineId: string, ammoTpl: string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/LocationGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/LocationGenerator.d.ts deleted file mode 100644 index bd368b5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/LocationGenerator.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ContainerHelper } from "../helpers/ContainerHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILocationConfig } from "../models/spt/config/ILocationConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { RandomUtil } from "../utils/RandomUtil"; -export interface IContainerItem { - items: Item[]; - width: number; - height: number; -} -export declare class LocationGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected objectId: ObjectId; - protected randomUtil: RandomUtil; - protected ragfairServerHelper: RagfairServerHelper; - protected itemHelper: ItemHelper; - protected mathUtil: MathUtil; - protected gameEventHelper: GameEventHelper; - protected containerHelper: ContainerHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected locationConfig: ILocationConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, objectId: ObjectId, randomUtil: RandomUtil, ragfairServerHelper: RagfairServerHelper, itemHelper: ItemHelper, mathUtil: MathUtil, gameEventHelper: GameEventHelper, containerHelper: ContainerHelper, presetHelper: PresetHelper, configServer: ConfigServer); - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - protected getLooseLootMultiplerForLocation(location: string): number; - protected getStaticLootMultiplerForLocation(location: string): number; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; - protected createItem(tpl: string, staticAmmoDist: Record, parentId?: string): IContainerItem; - protected getRandomCompatibleCaliberTemplateId(item: ITemplateItem): string; - protected getRandomValidCaliber(magTemplate: ITemplateItem): string; - protected drawAmmoTpl(caliber: string, staticAmmoDist: Record): string; - protected createRandomMagCartridges(magTemplate: ITemplateItem, parentId: string, staticAmmoDist: Record, caliber?: string): Item; - protected createCartidges(parentId: string, ammoTpl: string, stackCount: number): Item; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/PMCLootGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/PMCLootGenerator.d.ts deleted file mode 100644 index 64e6f7f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/PMCLootGenerator.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -export declare class PMCLootGenerator { - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected pocketLootPool: string[]; - protected backpackLootPool: string[]; - protected botConfig: IBotConfig; - constructor(itemHelper: ItemHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/PlayerScavGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/PlayerScavGenerator.d.ts deleted file mode 100644 index bb2c730..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/PlayerScavGenerator.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Skills, Stats } from "../models/eft/common/tables/IBotBase"; -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "../models/spt/config/IPlayerScavConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { BotGenerator } from "./BotGenerator"; -export declare class PlayerScavGenerator { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected botHelper: BotHelper; - protected jsonUtil: JsonUtil; - protected fenceService: FenceService; - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - protected configServer: ConfigServer; - protected playerScavConfig: IPlayerScavConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, botHelper: BotHelper, jsonUtil: JsonUtil, fenceService: FenceService, botLootCacheService: BotLootCacheService, botGenerator: BotGenerator, configServer: ConfigServer); - /** - * Update a player profile to include a new player scav profile - * @param sessionID session id to specify what profile is updated - * @returns profile object - */ - generate(sessionID: string): IPmcData; - /** - * Get the scav karama level for a profile - * Is also the fence trader rep level - * @param pmcData pmc profile - * @returns karma level - */ - protected getScavKarmaLevel(pmcData: IPmcData): number; - /** - * Get a baseBot template - * If the parameter doesnt match "assault", take parts from the loot type and apply to the return bot template - * @param botTypeForLoot bot type to use for inventory/chances - * @returns IBotType object - */ - protected constructBotBaseTemplate(botTypeForLoot: string): IBotType; - /** - * Adjust equipment/mod/item generation values based on scav karma levels - * @param karmaSettings Values to modify the bot template with - * @param baseBotNode bot template to modify according to karama level settings - */ - protected adjustBotTemplateWithKarmaSpecificSettings(karmaSettings: KarmaLevel, baseBotNode: IBotType): void; - protected getScavSkills(scavProfile: IPmcData): Skills; - protected getDefaultScavSkills(): Skills; - protected getScavStats(scavProfile: IPmcData): Stats; - protected getScavLevel(scavProfile: IPmcData): number; - protected getScavExperience(scavProfile: IPmcData): number; - /** - * Set cooldown till pscav is playable - * take into account scav cooldown bonus - * @param scavData scav profile - * @param pmcData pmc profile - * @returns - */ - protected setScavCooldownTimer(scavData: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/RagfairAssortGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/RagfairAssortGenerator.d.ts deleted file mode 100644 index cbdd7f2..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/RagfairAssortGenerator.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairAssortGenerator { - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected generatedAssortItems: Item[]; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer); - /** - * Get an array of unique items that can be sold on the flea - * @returns array of unique items - */ - getAssortItems(): Item[]; - protected assortsAreGenerated(): boolean; - /** - * Generate an array of items the flea can sell - * @returns array of unique items - */ - protected generateRagfairAssortItems(): Item[]; - protected createRagfairAssortItem(tplId: string, id?: string): Item; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/RagfairOfferGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/RagfairOfferGenerator.d.ts deleted file mode 100644 index 3e7f4cc..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/RagfairOfferGenerator.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairAssortGenerator } from "./RagfairAssortGenerator"; -export declare class RagfairOfferGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected ragfairServerHelper: RagfairServerHelper; - protected saveServer: SaveServer; - protected presetHelper: PresetHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairPriceService: RagfairPriceService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected fenceService: FenceService; - protected itemHelper: ItemHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, ragfairCategoriesService: RagfairCategoriesService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; - protected getTraderId(userID: string): string; - protected getRating(userID: string): number; - protected getRatingGrowing(userID: string): boolean; - protected getOfferEndTime(userID: string, time: number): number; - /** - * Create multiple offers for items by using a unique list of items we've generated previously - * @param expiredOffers - */ - generateDynamicOffers(expiredOffers?: Item[]): void; - generateTraderOffers(traderID: string): void; - protected getItemCondition(userID: string, items: Item[], itemDetails: ITemplateItem): Item[]; - protected addMissingCondition(item: Item): Item; - protected getOfferRequirements(items: Item[]): { - count: number; - _tpl: string; - }[]; - /** - * Create a flea offer and store it in the Ragfair server offers array - */ - createFleaOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/ScavCaseRewardGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/ScavCaseRewardGenerator.d.ts deleted file mode 100644 index c7d6ab7..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/ScavCaseRewardGenerator.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Product } from "../models/eft/common/tables/IBotBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IScavCaseConfig } from "../models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "../models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ScavCaseRewardGenerator { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected configServer: ConfigServer; - protected scavCaseConfig: IScavCaseConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, configServer: ConfigServer); - /** - * Create an array of rewards that will be given to the player upon completing their scav case build - * @param body client request - * @returns Product array - */ - generate(body: IHideoutScavCaseStartRequestData): Product[]; - /** - * Get all db items that are not blacklisted in scavcase config - * @returns filtered array of db items - */ - protected getDbItems(): ITemplateItem[]; - /** - * Check if a template id has a blacklisted parent id - * @param tplid template id to check - * @returns true if item is blacklisted - */ - protected itemHasBlacklistedParent(tplid: string): boolean; - /** - * Pick a number of items to be rewards, the count is defined by the values in - * @param items item pool to pick rewards from - * @param itemFilters how the rewards should be filtered down (by item count) - * @returns - */ - protected pickRandomRewards(items: ITemplateItem[], itemFilters: RewardCountAndPriceDetails, rarity: string): ITemplateItem[]; - /** - * Choose if money should be a reward based on the moneyRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be money - */ - protected rewardShouldBeMoney(): boolean; - /** - * Choose if ammo should be a reward based on the ammoRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be ammo - */ - protected rewardShouldBeAmmo(): boolean; - /** - * Choose from rouble/dollar/euro at random - */ - protected getRandomMoney(): ITemplateItem; - /** - * Get a random ammo from items.json that is not in the ammo blacklist AND inside the price rage defined in scavcase.json config - * @param rarity The rarity this ammo reward is for - * @returns random ammo item from items.json - */ - protected getRandomAmmo(rarity: string): ITemplateItem; - /** - * Take all the rewards picked create the Product object array ready to return to calling code - * Also add a stack count to ammo and money - * @param rewardItems items to convert - * @returns Product array - */ - protected randomiseContainerItemRewards(rewardItems: ITemplateItem[], rarity: string): Product[]; - /** - * Add a randomised stack count to ammo or money items - * @param item money or ammo item - * @param resultItem money or ammo item with a randomise stack size - */ - protected addStackCountToAmmoAndMoney(item: ITemplateItem, resultItem: { - _id: string; - _tpl: string; - upd: any; - }, rarity: string): void; - /** - * - * @param dbItems all items from the items.json - * @param itemFilters controls how the dbItems will be filtered and returned (handbook price) - * @returns filtered dbItems array - */ - protected getFilteredItemsByPrice(dbItems: ITemplateItem[], itemFilters: RewardCountAndPriceDetails): ITemplateItem[]; - /** - * Gathers the reward options from config and scavcase.json into a single object - * @param scavCaseDetails scavcase.json values - * @returns ScavCaseRewardCountsAndPrices object - */ - protected getScavCaseRewardCountsAndPrices(scavCaseDetails: IHideoutScavCase): ScavCaseRewardCountsAndPrices; - /** - * Randomises the size of ammo and money stacks - * @param itemToCalculate ammo or money item - * @param rarity rarity (common/rare/superrare) - * @returns value to set stack count to - */ - protected getRandomAmountRewardForScavCase(itemToCalculate: ITemplateItem, rarity: string): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/WeatherGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/WeatherGenerator.d.ts deleted file mode 100644 index 44cecbb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/generators/WeatherGenerator.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class WeatherGenerator { - protected weightedRandomHelper: WeightedRandomHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weightedRandomHelper: WeightedRandomHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateTime(data: IWeatherData): IWeatherData; - /** - * Get server uptime seconds multiplied by a multiplier and add to current time as seconds - * Format to BSGs requirements - * @param computedDate current date - * @returns formatted time - */ - protected getAcceleratedTime(computedDate: Date): string; - /** - * Get current time formatted to fit BSGs requirement - * @param computedDate - * @returns - */ - protected getNormalTime(computedDate: Date): string; - generateWeather(data: IWeatherData): IWeatherData; - protected getWeightedFog(): string; - protected getWeightedRain(): number; - protected getRandomFloat(node: string): number; - protected getRandomInt(node: string): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/AssortHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/AssortHelper.d.ts deleted file mode 100644 index 15586b9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/AssortHelper.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ItemHelper } from "./ItemHelper"; -import { QuestHelper } from "./QuestHelper"; -export declare class AssortHelper { - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - constructor(logger: ILogger, itemHelper: ItemHelper, databaseServer: DatabaseServer, questHelper: QuestHelper); - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort assort items from a trader - * @returns assort items minus locked quest assorts - */ - stripLockedQuestAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort traders assorts - * @returns traders assorts minus locked loyality assorts - */ - stripLockedLoyaltyAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove an item from an assort - * @param assort assort to modify - * @param itemID item id to remove from asort - * @returns Modified assort - */ - removeItemFromAssort(assort: ITraderAssort, itemID: string): ITraderAssort; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/BotGeneratorHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/BotGeneratorHelper.d.ts deleted file mode 100644 index 3cd7256..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/BotGeneratorHelper.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { DurabilityLimitsHelper } from "../helpers/DurabilityLimitsHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Mods, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item, Repairable, Upd } from "../models/eft/common/tables/IItem"; -import { Grid, ITemplateItem, Slot } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { InventoryHelper } from "./InventoryHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProbabilityHelper } from "./ProbabilityHelper"; -export declare class BotGeneratorHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected probabilityHelper: ProbabilityHelper; - protected databaseServer: DatabaseServer; - protected durabilityLimitsHelper: DurabilityLimitsHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected containerHelper: ContainerHelper; - 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): Item[]; - /** - * Is this magazine cylinder related (revolvers and grenade launchers) - * @param magazineParentName the name of the magazines parent - * @returns true if it is cylinder related - */ - magazineIsCylinderRelated(magazineParentName: string): boolean; - /** - * randomly choose if a mod should be spawned, 100% for required mods OR mod is ammo slot - * never return true for an item that has 0% spawn chance - * @param itemSlot slot the item sits in - * @param modSlot slot the mod sits in - * @param modSpawnChances Chances for various mod spawns - * @returns boolean true if it should spawn - */ - protected shouldModBeSpawned(itemSlot: Slot, modSlot: string, modSpawnChances: ModsChances): boolean; - /** - * Get a list of containers that hold ammo - * e.g. mod_magazine - * @returns string array - */ - protected getAmmoContainers(): string[]; - /** - * Get the slot details for an item (chamber/cartridge/slot) - * @param modSlot e.g patron_in_weapon - * @param parentTemplate item template - * @returns - */ - protected getModItemSlot(modSlot: string, parentTemplate: ITemplateItem): Slot; - /** - * With the shotgun revolver (60db29ce99594040e04c4a27) 12.12 introduced CylinderMagazines. - * Those magazines (e.g. 60dc519adf4c47305f6d410d) have a "Cartridges" entry with a _max_count=0. - * Ammo is not put into the magazine directly but assigned to the magazine's slots: The "camora_xxx" slots. - * This function is a helper called by generateModsForItem for mods with parent type "CylinderMagazine" - * - * @param {object} items The items where the CylinderMagazine's camora are appended to - * @param {object} modPool modPool which should include available cartrigdes - * @param {string} parentId The CylinderMagazine's UID - * @param {object} parentTemplate The CylinderMagazine's template - */ - protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; - /** - * Take a record of camoras and merge the compatable shells into one array - * @param camorasWithShells camoras we want to merge into one array - * @returns string array of shells fro luitple camora sources - */ - protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; - generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { - upd?: Upd; - }; - /** - * Create a repairable object for a weapon that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateWeaponRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - /** - * Create a repairable object for an armor that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateArmorRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - protected getModTplFromItemDb(modTpl: string, parentSlot: Slot, modSlot: string, items: Item[]): string; - /** - * Sort by spawn chance, highest to lowest, higher is more common - * @param unsortedModArray String array to sort - * @returns Sorted string array - */ - protected sortModArray(unsortedModArray: string[]): string[]; - /** - * Can an item be added to an item without issue - * @param items - * @param tplToCheck - * @param equipmentSlot - * @returns true if possible - */ - isItemIncompatibleWithCurrentItems(items: Item[], tplToCheck: string, equipmentSlot: string): boolean; - /** - * Adds an item with all its childern into specified equipmentSlots, wherever it fits. - * @param equipmentSlots - * @param parentId - * @param parentTpl - * @param itemWithChildren - * @param inventory - * @returns a `boolean` indicating item was added - */ - addItemWithChildrenToEquipmentSlot(equipmentSlots: string[], parentId: string, parentTpl: string, itemWithChildren: Item[], inventory: PmcInventory): boolean; - protected itemAllowedInContainer(slot: Grid, itemTpl: string): boolean; -} -export declare class ExhaustableArray { - private itemPool; - private randomUtil; - private jsonUtil; - private pool; - constructor(itemPool: T[], randomUtil: RandomUtil, jsonUtil: JsonUtil); - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/BotHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/BotHelper.d.ts deleted file mode 100644 index 9b89481..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/BotHelper.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Difficulty, IBotType } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, configServer: ConfigServer); - getBotDifficultySettings(type: string, difficulty: string): Difficulty; - getBotTemplate(role: string): IBotType; - getPmcDifficultySettings(type: string, difficulty: string): Difficulty; - /** - * Randomise the chance the PMC will attack their own side - * @param difficultySettings pmc difficulty settings - */ - randomisePmcHostility(difficultySettings: Difficulty): void; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - /** - * Add a bot to the FRIENDLY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typeToAdd bot type to add to friendly list - */ - addBotToFriendlyList(difficultySettings: Difficulty, typeToAdd: string): void; - /** - * Add a bot to the ENEMY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to enemy list - */ - addBotToEnemyList(difficultySettings: Difficulty, typesToAdd: string[], typeBeingEdited: string): void; - /** - * Add a bot to the REVENGE_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to revenge list - */ - addBotToRevengeList(difficultySettings: Difficulty, typesToAdd: string[]): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ContainerHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ContainerHelper.d.ts deleted file mode 100644 index 3c2ee93..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ContainerHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export declare class FindSlotResult { - success: boolean; - x: any; - y: any; - rotation: boolean; - constructor(success?: boolean, x?: any, y?: any, rotation?: boolean); -} -export declare class ContainerHelper { - protected locateSlot(container2D: number[][], containerX: number, containerY: number, x: number, y: number, itemW: number, itemH: number): boolean; - findSlotForItem(container2D: number[][], itemWidth: number, itemHeight: number): FindSlotResult; - fillContainerMapWithItem(container2D: number[][], x: number, y: number, itemW: number, itemH: number, rotate: boolean): any; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/DialogueHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/DialogueHelper.d.ts deleted file mode 100644 index e3e2bda..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/DialogueHelper.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { Dialogue, MessageContent, MessagePreview } from "../models/eft/profile/IAkiProfile"; -import { MessageType } from "../models/enums/MessageType"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -import { ItemHelper } from "./ItemHelper"; -import { NotificationSendHelper } from "./NotificationSendHelper"; -import { NotifierHelper } from "./NotifierHelper"; -export declare class DialogueHelper { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected notificationSendHelper: NotificationSendHelper; - protected itemHelper: ItemHelper; - constructor(hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, notificationSendHelper: NotificationSendHelper, itemHelper: ItemHelper); - createMessageContext(templateId: string, messageType: MessageType, maxStoreTime: number): MessageContent; - /** - * Add a templated message to the dialogue. - * @param dialogueID - * @param messageContent - * @param sessionID - * @param rewards - */ - addDialogueMessage(dialogueID: string, messageContent: MessageContent, sessionID: string, rewards?: any[]): void; - /** - * Get the preview contents of the last message in a dialogue. - * @param dialogue - * @returns - */ - getMessagePreview(dialogue: Dialogue): MessagePreview; - /** - * Get the item contents for a particular message. - * @param messageID - * @param sessionID - * @returns - */ - getMessageItemContents(messageID: string, sessionID: string): Item[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/DurabilityLimitsHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/DurabilityLimitsHelper.d.ts deleted file mode 100644 index 07a5db1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/DurabilityLimitsHelper.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotHelper } from "./BotHelper"; -export declare class DurabilityLimitsHelper { - protected randomUtil: RandomUtil; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(randomUtil: RandomUtil, botHelper: BotHelper, configServer: ConfigServer); - getRandomisedMaxWeaponDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedMaxArmorDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedWeaponDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - getRandomisedArmorDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - protected generateMaxWeaponDurability(botRole: string): number; - protected generateMaxPmcArmorDurability(itemMaxDurability: number): number; - protected getLowestMaxWeaponFromConfig(botRole: string): number; - protected getHighestMaxWeaponDurabilityFromConfig(botRole: string): number; - protected generateWeaponDurability(botRole: string, maxDurability: number): number; - protected generateArmorDurability(botRole: string, maxDurability: number): number; - protected getMinWeaponDeltaFromConfig(botRole: string): number; - protected getMaxWeaponDeltaFromConfig(botRole: string): number; - protected getMinArmorDeltaFromConfig(botRole: string): number; - protected getMaxArmorDeltaFromConfig(botRole: string): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/GameEventHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/GameEventHelper.d.ts deleted file mode 100644 index 7613053..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/GameEventHelper.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class GameEventHelper { - protected databaseServer: DatabaseServer; - constructor(databaseServer: DatabaseServer); - get events(): Record; - get christmasEventItems(): string[]; - itemIsChristmasRelated(itemId: string): boolean; - christmasEventEnabled(): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HandbookHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HandbookHelper.d.ts deleted file mode 100644 index b47d466..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HandbookHelper.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare class LookupItem { - byId: Record; - byParent: Record; - constructor(); -} -export declare class LookupCollection { - items: LookupItem; - categories: LookupItem; - constructor(); -} -export declare class HandbookHelper { - protected lookup: LookupCollection; - hydrateLookup(lookup: LookupCollection): void; - getTemplatePrice(x: string): number; - templatesWithParent(x: string): string[]; - isCategory(x: string): boolean; - childrenCategories(x: string): string[]; - /** - * Gets Currency to Ruble conversion Value - * @param {number} value - * @param {string} currencyFrom - * @returns number - */ - inRUB(value: number, currencyFrom: string): number; - /** - * Gets Ruble to Currency conversion Value - * @param {number} value - * @param {string} currencyTo - * @returns number - */ - fromRUB(value: number, currencyTo: string): number; -} -export {}; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HealthHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HealthHelper.d.ts deleted file mode 100644 index 3116c9c..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HealthHelper.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "../models/spt/config/IHealthConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HealthHelper { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected configServer: ConfigServer; - protected healthConfig: IHealthConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); - /** - * Resets the profiles vitality/healh and vitality/effects properties to their defaults - * @param sessionID Session Id - * @returns updated profile - */ - resetVitality(sessionID: string): IAkiProfile; - /** - * Update player profile with changes from request object - * @param pmcData Player profile - * @param info Request object - * @param sessionID Session id - * @param addEffects Should effects be added or removed (default - add) - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - protected saveHealth(pmcData: IPmcData, sessionID: string): void; - /** - * Save effects to profile - * Works by removing all effects and adding them back from profile - * Remoces empty 'Effects' objects if found - * @param pmcData Player profile - * @param sessionID Session id - * @param addEffects Should effects be added back to profile - * @returns - */ - protected saveEffects(pmcData: IPmcData, sessionID: string, addEffects: boolean): void; - /** - * Add effect to body part in profile - * @param pmcData Player profile - * @param effectBodyPart body part to edit - * @param effectType Effect to add to body part - */ - protected addEffect(pmcData: IPmcData, effectBodyPart: string, effectType: string): void; - protected isEmpty(map: any): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HideoutHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HideoutHelper.d.ts deleted file mode 100644 index 36e4009..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HideoutHelper.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Common, HideoutArea, Production, Productive } from "../models/eft/common/tables/IBotBase"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { StageBonus } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class HideoutHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected inventoryHelper: InventoryHelper; - protected playerService: PlayerService; - protected configServer: ConfigServer; - 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; - /** - * This convinience function intialies new Production Object - * with all the constants. - */ - initProduction(recipeId: string, productionTime: number): Production; - isProductionType(productive: Productive): productive is Production; - applyPlayerUpgradesBonuses(pmcData: IPmcData, bonus: StageBonus): void; - protected applySkillXPBoost(pmcData: IPmcData, bonus: StageBonus): void; - updatePlayerHideout(sessionID: string): void; - protected updateWaterCollector(sessionId: string, pmcData: IPmcData, area: HideoutArea, isGeneratorOn: boolean): void; - protected doesWaterCollectorHaveFilter(waterCollector: HideoutArea): boolean; - protected updateFuel(generatorArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateWaterFilters(waterFilterArea: HideoutArea, pwProd: Production, isGeneratorOn: boolean, pmcData: IPmcData): HideoutArea; - protected getAreaUpdObject(stackCount: number, resourceValue: number, resourceUnitsConsumed: number): Upd; - protected updateAirFilters(airFilterArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateBitcoinFarm(pmcData: IPmcData, btcFarmCGs: number, isGeneratorOn: boolean): Production; - protected getBTCSlots(pmcData: IPmcData): number; - protected getManagementSkillsSlots(): number; - protected hasManagementSkillSlots(pmcData: IPmcData): boolean; - protected getHideoutManagementSkill(pmcData: IPmcData): Common; - protected getHideoutManagementConsumptionBonus(pmcData: IPmcData): number; - isProduction(productive: Productive): productive is Production; - getBTC(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HttpServerHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HttpServerHelper.d.ts deleted file mode 100644 index c6e5296..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/HttpServerHelper.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HttpServerHelper { - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected mime: { - css: string; - bin: string; - html: string; - jpg: string; - js: string; - json: string; - png: string; - svg: string; - txt: string; - }; - constructor(configServer: ConfigServer); - getMimeText(key: string): string; - buildUrl(): string; - getBackendUrl(): string; - getWebsocketUrl(): string; - sendTextJson(resp: any, output: any): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/InRaidHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/InRaidHelper.d.ts deleted file mode 100644 index c3cbfbb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/InRaidHelper.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Victim } from "../models/eft/common/tables/IBotBase"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { PaymentHelper } from "./PaymentHelper"; -export declare class InRaidHelper { - protected logger: ILogger; - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, saveServer: SaveServer, jsonUtil: JsonUtil, databaseServer: DatabaseServer, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Reset the SPT inraid property stored in a profile to 'none' - * @param sessionID Session id - */ - protected removePlayer(sessionID: string): void; - /** - * Some maps have one-time-use keys (e.g. Labs - * Remove the relevant key from an inventory based on the post-raid request data passed in - * @param offraidData post-raid data - * @param sessionID Session id - */ - protected removeMapAccessKey(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Check an array of items and add an upd object to money items with a stack count of 1 - * Single stack money items have no upd object and thus no StackObjectsCount, causing issues - * @param items Items array to check - */ - addUpdToMoneyFromRaid(items: Item[]): void; - /** - * Add karma changes up and return the new value - * @param existingFenceStanding Current fence standing level - * @param victims Array of kills player performed - * @returns adjusted karma level after kills are taken into account - */ - calculateFenceStandingChangeFromKills(existingFenceStanding: number, victims: Victim[]): number; - /** - * Reset a profile to a baseline, used post-raid - * Reset points earned during session property - * Increment exp - * Remove Labs keycard - * @param profileData Profile to update - * @param saveProgressRequest post raid save data request data - * @param sessionID Sessino id - * @returns Reset profile object - */ - updateProfileBaseStats(profileData: IPmcData, saveProgressRequest: ISaveProgressRequestData, sessionID: string): IPmcData; - /** - * Adds SpawnedInSession property to items found in a raid - * Removes SpawnedInSession for non-scav players if item was taken into raid with SpawnedInSession = true - * @param preRaidProfile profile to update - * @param postRaidProfile profile to upate inventory contents of - * @param isPlayerScav Was this a p scav raid - * @returns - */ - addSpawnedInSessionPropertyToItems(preRaidProfile: IPmcData, postRaidProfile: IPmcData, isPlayerScav: boolean): IPmcData; - /** - * Iterate over inventory items and remove the property that defines an item as Found in Raid - * Only removes property if item had FiR when entering raid - * @param postRaidProfile profile to update items for - * @returns Updated profile with SpawnedInSession removed - */ - removeSpawnedInSessionPropertyFromItems(postRaidProfile: IPmcData): IPmcData; - /** - * Update a players inventory post-raid - * Remove equipped items from pre-raid - * Add new items found in raid to profile - * Store insurance items in profile - * @param sessionID - * @param pmcData Profile to update - * @param postRaidProfile Profile returned by client after a raid - * @returns Updated profile - */ - setInventory(sessionID: string, pmcData: IPmcData, postRaidProfile: IPmcData): IPmcData; - /** - * Clear pmc inventory of all items except those that are exempt - * Used post-raid to remove items after death - * @param pmcData Player profile - * @param sessionID Session id - * @returns Player profile with pmc inventory cleared - */ - deleteInventory(pmcData: IPmcData, sessionID: string): IPmcData; - /** - * Does the provided items slotId mean its kept on the player after death - * @param slotId slotid of item to check - * @returns true if item is kept after death - */ - isItemKeptAfterDeath(slotId: string): boolean; - getPlayerGear(items: Item[]): Item[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/InventoryHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/InventoryHelper.d.ts deleted file mode 100644 index dc7cbca..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/InventoryHelper.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig } from "../models/spt/config/IInventoryConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class InventoryHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected httpResponse: HttpResponseUtil; - protected fenceService: FenceService; - protected databaseServer: DatabaseServer; - protected paymentHelper: PaymentHelper; - protected traderAssortHelper: TraderAssortHelper; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected containerHelper: ContainerHelper; - protected profileHelper: ProfileHelper; - protected configServer: ConfigServer; - protected inventoryConfig: IInventoryConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, httpResponse: HttpResponseUtil, fenceService: FenceService, databaseServer: DatabaseServer, paymentHelper: PaymentHelper, traderAssortHelper: TraderAssortHelper, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, containerHelper: ContainerHelper, profileHelper: ProfileHelper, configServer: ConfigServer); - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - getItemSize(itemTpl: string, itemID: string, inventoryItem: Item[]): Record; - protected getSizeByInventoryItemHash(itemTpl: string, itemID: string, inventoryItemHash: InventoryHelper.InventoryItemHash): Record; - protected getInventoryItemHash(inventoryItem: Item[]): InventoryHelper.InventoryItemHash; - getContainerMap(containerW: number, containerH: number, itemList: Item[], containerId: string): number[][]; - /** - * Based on the item action, determine whose inventories we should be looking at for from and to. - */ - getOwnerInventoryItems(body: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData, sessionID: string): OwnerInventoryItems; - /** - * Made a 2d array table with 0 - free slot and 1 - used slot - * @param {Object} pmcData - * @param {string} sessionID - * @returns Array - */ - protected getStashSlotMap(pmcData: IPmcData, sessionID: string): number[][]; - protected getStashType(sessionID: string): string; - protected getPlayerStashSize(sessionID: string): Record; - /** - * Internal helper function to transfer an item from one profile to another. - * fromProfileData: Profile of the source. - * toProfileData: Profile of the destination. - * body: Move request - */ - moveItemToProfile(fromItems: Item[], toItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to move item within the same profile_f. - */ - moveItemInternal(inventoryItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to handle cartridges in inventory if any of them exist. - */ - protected handleCartridges(items: Item[], body: IInventoryMoveRequestData): void; -} -declare namespace InventoryHelper { - interface InventoryItemHash { - byItemId: Record; - byParentId: Record; - } -} -export {}; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ItemHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ItemHelper.d.ts deleted file mode 100644 index 1701c62..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ItemHelper.d.ts +++ /dev/null @@ -1,206 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { InsuredItem } from "../models/eft/common/tables/IBotBase"; -import { Item, Repairable } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -declare class ItemHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Checks if a id is a valid item. Valid meaning that it's an item that be stored in stash - * @param {string} tpl the template id / tpl - * @returns boolean; true for items that may be in player posession and not quest items - */ - isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; - /** - * Checks if an id is a valid item. Valid meaning that it's an item that may be a reward - * or content of bot loot. Items that are tested as valid may be in a player backpack or stash. - * @param {*} tpl template id of item to check - * @returns boolean: true if item is valid reward - */ - isValidRewardItem(tpl: string): boolean; - /** - * Picks rewardable items from items.json. This means they need to fit into the inventory and they shouldn't be keys (debatable) - * @returns a list of rewardable items [[_tpl, itemTemplate],...] - */ - getRewardableItems(): [string, ITemplateItem][]; - /** - * Check if the tpl / template Id provided is a descendent of the baseclass - * - * @param {string} tpl the item template id to check - * @param {string} baseclassTpl the baseclass to check for - * @return {boolean} is the tpl a descendent? - */ - isOfBaseclass(tpl: string, baseclassTpl: string): boolean; - /** - * Returns the item price based on the handbook or as a fallback from the prices.json if the item is not - * found in the handbook. If the price can't be found at all return 0 - * - * @param {string} tpl the item template to check - * @returns {integer} The price of the item or 0 if not found - */ - getItemPrice(tpl: string): number; - fixItemStackCount(item: Item): Item; - /** - * AmmoBoxes contain StackSlots which need to be filled for the AmmoBox to have content. - * Here's what a filled AmmoBox looks like: - * { - * "_id": "b1bbe982daa00ac841d4ae4d", - * "_tpl": "57372c89245977685d4159b1", - * "parentId": "5fe49a0e2694b0755a504876", - * "slotId": "hideout", - * "location": { - * "x": 3, - * "y": 4, - * "r": 0 - * }, - * "upd": { - * "StackObjectsCount": 1 - * } - * }, - * { - * "_id": "b997b4117199033afd274a06", - * "_tpl": "56dff061d2720bb5668b4567", - * "parentId": "b1bbe982daa00ac841d4ae4d", - * "slotId": "cartridges", - * "location": 0, - * "upd": { - * "StackObjectsCount": 30 - * } - * } - * Given the AmmoBox Item (first object) this function generates the StackSlot (second object) and returns it. - * StackSlots are only used for AmmoBoxes which only have one element in StackSlots. However, it seems to be generic - * to possibly also have more than one StackSlot. As good as possible, without seeing items having more than one - * StackSlot, this function takes account of this and creates and returns an array of StackSlotItems - * - * @param {object} item The item template of the AmmoBox as given in items.json - * @param {string} parentId The id of the AmmoBox instance these StackSlotItems should be children of - * @returns {array} The array of StackSlotItems - */ - generateItemsFromStackSlot(item: ITemplateItem, parentId: string): Item[]; - /** - * Gets item data from items.json - * @param tpl items template id to look up - * @returns bool - is valid + template item object as array - */ - getItem(tpl: string): [boolean, ITemplateItem]; - /** - * get normalized value (0-1) based on item condition - * @param item - * @returns number between 0 and 1 - */ - getItemQualityModifier(item: Item): number; - /** - * Get a quality value based on a repairable items (weapon/armor) current state between current and max durability - * @param itemDetails - * @param repairable repairable object - * @param item - * @returns a number between 0 and 1 - */ - protected getRepairableItemQualityValue(itemDetails: ITemplateItem, repairable: Repairable, item: Item): number; - /** - * Recursive function that looks at every item from parameter and gets their childrens Ids - * @param items - * @param itemID - * @returns an array of strings - */ - findAndReturnChildrenByItems(items: Item[], itemID: string): string[]; - /** - * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. - * @param items - * @param baseItemId - * @returns An array of Item objects - */ - findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; - /** - * Find children of the item in a given assort (weapons parts for example, need recursive loop function) - * @param itemIdToFind Template id of item to check for - * @param assort Array of items to check in - * @returns Array of children of requested item - */ - findAndReturnChildrenByAssort(itemIdToFind: string, assort: Item[]): Item[]; - /** - * Check if the passed in item has buy count restrictions - * @param itemToCheck Item to check - * @returns true if it has buy restrictions - */ - hasBuyRestrictions(itemToCheck: Item): boolean; - /** - * is the passed in template id a dog tag - * @param tpl Template id to check - * @returns true if it is a dogtag - */ - isDogtag(tpl: string): boolean; - /** - * Can the item passed in be sold to a trader because it is raw money - * @param tpl Item template id to check - * @returns true if unsellable - */ - isNotSellable(tpl: string): boolean; - /** - * Gets the identifier for a child using slotId, locationX and locationY. - * @param item - * @returns "slotId OR slotid,locationX,locationY" - */ - getChildId(item: Item): string; - /** - * Can the pased in item be stacked - * @param tpl item to check - * @returns true if it can be stacked - */ - isItemTplStackable(tpl: string): boolean; - /** - * split item stack if it exceeds StackMaxSize - */ - splitStack(item: Item): Item[]; - /** - * Find Barter items in the inventory - * @param {string} by - * @param {Object} pmcData - * @param {string} barterItemId - * @returns Array of Item objects - */ - findBarterItems(by: string, pmcData: IPmcData, barterItemId: string): Item[]; - /** - * - * @param pmcData - * @param items - * @param insuredItems insured items to not replace ids for - * @param fastPanel - * @returns - */ - replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): any[]; - /** - * Recursivly loop down through an items hierarchy to see if any of the ids match the supplied list, return true if any do - * @param {string} tpl - * @param {Array} tplsToCheck - * @returns boolean - */ - doesItemOrParentsIdMatch(tpl: string, tplsToCheck: string[]): boolean; - /** - * Return true if item is a quest item - * @param {string} tpl - * @returns boolean - */ - isQuestItem(tpl: string): boolean; - /** - * Get the inventory size of an item - * @param items - * @param rootItemId - * @returns ItemSize object (width and height) - */ - getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize; -} -declare namespace ItemHelper { - interface ItemSize { - width: number; - height: number; - } -} -export { ItemHelper }; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/NotificationSendHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/NotificationSendHelper.d.ts deleted file mode 100644 index 34e62d9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/NotificationSendHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { NotificationService } from "../services/NotificationService"; -export declare class NotificationSendHelper { - protected httpServer: IHttpServer; - protected notificationService: NotificationService; - constructor(httpServer: IHttpServer, notificationService: NotificationService); - /** - * Send notification message to the appropiate channel - */ - sendMessage(sessionID: string, notificationMessage: INotification): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/NotifierHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/NotifierHelper.d.ts deleted file mode 100644 index 738b69a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/NotifierHelper.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { Message, MessageContentRagfair } from "../models/eft/profile/IAkiProfile"; -import { HttpServerHelper } from "./HttpServerHelper"; -export declare class NotifierHelper { - protected httpServerHelper: HttpServerHelper; - /** - * The default notification sent when waiting times out. - */ - protected defaultNotification: INotification; - constructor(httpServerHelper: HttpServerHelper); - getDefaultNotification(): INotification; - /** Creates a new notification that displays the "Your offer was sold!" prompt and removes sold offer from "My Offers" on clientside */ - createRagfairOfferSoldNotification(dialogueMessage: Message, ragfairData: MessageContentRagfair): INotification; - /** Creates a new notification with the specified dialogueMessage object. */ - createNewMessageNotification(dialogueMessage: Message): INotification; - getWebSocketServer(sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/PaymentHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/PaymentHelper.d.ts deleted file mode 100644 index 2d068a4..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/PaymentHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export declare class PaymentHelper { - /** - * Check whether tpl is Money - * @param {string} tpl - * @returns void - */ - isMoneyTpl(tpl: string): boolean; - /** - * Gets currency TPL from TAG - * @param {string} currency - * @returns string - */ - getCurrency(currency: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/PresetHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/PresetHelper.d.ts deleted file mode 100644 index a469582..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/PresetHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Preset } from "../models/eft/common/IGlobals"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class PresetHelper { - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected lookup: Record; - constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); - hydratePresetStore(input: Record): void; - isPreset(id: string): boolean; - hasPreset(templateId: string): boolean; - getPreset(id: string): Preset; - getPresets(templateId: string): Preset[]; - getDefaultPreset(templateId: string): Preset; - getBaseItemTpl(presetId: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ProbabilityHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ProbabilityHelper.d.ts deleted file mode 100644 index 7a0676c..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ProbabilityHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ProbabilityHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - constructor(logger: ILogger, randomUtil: RandomUtil); - /** - * Chance to roll a number out of 100 - * @param chance Percentage chance roll should success - * @param scale scale of chance to allow support of numbers > 1-100 - * @returns true if success - */ - rollChance(chance: number, scale?: number): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ProfileHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ProfileHelper.d.ts deleted file mode 100644 index 6c150c8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/ProfileHelper.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Stats } from "../models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -export declare class ProfileHelper { - protected jsonUtil: JsonUtil; - protected watermark: Watermark; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected fenceService: FenceService; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, fenceService: FenceService); - resetProfileQuestCondition(sessionID: string, conditionId: string): void; - getCompleteProfile(sessionID: string): IPmcData[]; - isNicknameTaken(info: IValidateNicknameRequestData, sessionID: string): boolean; - /** - * Add experience to a PMC inside the players profile - * @param sessionID Session id - * @param experienceToAdd Experiecne to add to PMC character - */ - addExperienceToPmc(sessionID: string, experienceToAdd: number): void; - getProfileByPmcId(pmcId: string): IPmcData; - getExperience(level: number): number; - getMaxLevel(): number; - getDefaultAkiDataObject(): any; - getFullProfile(sessionID: string): IAkiProfile; - getPmcProfile(sessionID: string): IPmcData; - getScavProfile(sessionID: string): IPmcData; - getDefaultCounters(): Stats; - protected isWiped(sessionID: string): boolean; - protected getServerVersion(): string; - /** - * Iterate over player profile inventory items and find the secure container and remove it - * @param profile Profile to remove secure container from - * @returns profile without secure container - */ - removeSecureContainer(profile: IPmcData): IPmcData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/QuestConditionHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/QuestConditionHelper.d.ts deleted file mode 100644 index 90ee560..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/QuestConditionHelper.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { AvailableForConditions } from "../models/eft/common/tables/IQuest"; -export declare class QuestConditionHelper { - getQuestConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLevelConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLoyaltyConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - protected filterConditions(q: AvailableForConditions[], questType: string, furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/QuestHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/QuestHelper.d.ts deleted file mode 100644 index 0f68cd5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/QuestHelper.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { AvailableForConditions, AvailableForProps, IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { QuestStatus } from "../models/enums/QuestStatus"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { TraderHelper } from "./TraderHelper"; -export declare class QuestHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - protected ragfairServerHelper: RagfairServerHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected traderHelper: TraderHelper; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); - questStatus(pmcData: IPmcData, questID: string): QuestStatus; - /** - * returns true is the condition is satisfied - */ - evaluateLevel(pmcProfile: IPmcData, cond: AvailableForConditions): boolean; - getDeltaQuests(before: IQuest[], after: IQuest[]): IQuest[]; - rewardSkillPoints(sessionID: string, pmcData: IPmcData, output: IItemEventRouterResponse, skillName: string, progress: number): void; - getQuestLocale(questId: string): any; - /** - * Debug Routine for showing some information on the - * quest list in question. - */ - dumpQuests(quests: any): void; - loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; - protected processReward(reward: Reward): any[]; - getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; - /** - * Add quest with new state value to pmc profile - * @param pmcData profile to add quest to - * @param newState state the new quest should be in when added - * @param acceptedQuest Details of quest being added - */ - addQuestToPMCData(pmcData: IPmcData, newState: QuestStatus, acceptedQuest: IAcceptQuestRequestData): void; - acceptedUnlocked(acceptedQuestId: string, sessionID: string): IQuest[]; - failedUnlocked(failedQuestId: string, sessionID: string): IQuest[]; - applyMoneyBoost(quest: IQuest, moneyBoost: number): IQuest; - changeItemStack(pmcData: IPmcData, id: string, value: number, sessionID: string, output: any): void; - /** - * Get List of All Quests as an array - * @returns Array of IQuest objects - */ - questValues(): IQuest[]; - /** - * Reest AvailableForStart conditions for quests - * @param quests queststo clean - * @returns quest array without conditions - */ - protected cleanQuestList(quests: IQuest[]): IQuest[]; - /** - * Reset AvailableForStart conditions on a quest - * @param quest quest to clean - * @returns reset IQuest object - */ - cleanQuestConditions(quest: IQuest): IQuest; - failQuest(pmcData: IPmcData, body: any, sessionID: string): any; - /** - * Get quest by id from database - * @param questId questid to look for - * @param pmcData player profile - * @returns IQuest object - */ - getQuestFromDb(questId: string, pmcData: IPmcData): IQuest; - getQuestLocaleIdFromDb(messageId: string): string; - /** - * Alter a quests state + Add a record to tis status timers object - * @param pmcData Profile to update - * @param newQuestState new state the qeust should be in - * @param questId id of the quest to alter the status of - */ - updateQuestState(pmcData: IPmcData, newQuestState: QuestStatus, questId: string): void; - /** - * Give player quest rewards - Skills/exp/trader standing/items/assort unlocks - * @param pmcData Player profile - * @param body complete quest request - * @param state State of the quest now its complete - * @param sessionID Seession id - * @returns array of reward objects - */ - applyQuestReward(pmcData: IPmcData, body: ICompleteQuestRequestData, state: QuestStatus, sessionID: string): Reward[]; - /** - * Get the intel center bonus a player has - * @param pmcData player profile - * @returns bonus in percent - */ - protected getIntelCenterRewardBonus(pmcData: IPmcData): number; - getFindItemIdForQuestItem(itemTpl: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairHelper.d.ts deleted file mode 100644 index 2c8dbb5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairHelper.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairLinkedItemService } from "../services/RagfairLinkedItemService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -import { UtilityHelper } from "./UtilityHelper"; -export declare class RagfairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected traderAssortHelper: TraderAssortHelper; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected ragfairLinkedItemService: RagfairLinkedItemService; - protected utilityHelper: UtilityHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, traderAssortHelper: TraderAssortHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, ragfairLinkedItemService: RagfairLinkedItemService, utilityHelper: UtilityHelper, configServer: ConfigServer); - /** - * Gets currency TAG from TPL - * @param {string} currency - * @returns string - */ - getCurrencyTag(currency: string): string; - filterCategories(sessionID: string, info: ISearchRequestData): string[]; - getDisplayableAssorts(sessionID: string): Record; - protected getCategoryList(handbookId: string): string[]; - countCategories(result: IGetOffersResult): void; - /** - * Merges Root Items - * Ragfair allows abnormally large stacks. - */ - mergeStackable(items: Item[]): Item[]; - getCurrencySymbol(currencyTpl: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairOfferHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairOfferHelper.d.ts deleted file mode 100644 index 8d03bee..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairOfferHelper.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { PresetHelper } from "./PresetHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairHelper } from "./RagfairHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { RagfairSortHelper } from "./RagfairSortHelper"; -export declare class RagfairOfferHelper { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected paymentHelper: PaymentHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - 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); - getValidOffers(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - getOffersForBuild(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - processOffers(sessionID: string): boolean; - protected getProfileOffers(sessionID: string): IRagfairOffer[]; - protected deleteOfferByOfferId(sessionID: string, offerId: string): void; - protected completeOffer(sessionID: string, offer: IRagfairOffer, boughtAmount: number): IItemEventRouterResponse; - isDisplayableOffer(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, offer: IRagfairOffer, pmcProfile: IPmcData): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairSellHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairSellHelper.d.ts deleted file mode 100644 index 6ec004a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairSellHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { SellResult } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairSellHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateSellChance(baseChance: number, offerPrice: number, requirementsPriceInRub: number): number; - rollForSale(sellChance: number, count: number): SellResult[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairServerHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairServerHelper.d.ts deleted file mode 100644 index e4939d1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairServerHelper.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "../models/enums/MemberCategory"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class RagfairServerHelper { - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected itemHelper: ItemHelper; - protected localeService: LocaleService; - protected dialogueHelper: DialogueHelper; - protected jsonUtil: JsonUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected questConfig: IQuestConfig; - protected static 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 - * @param itemDetails - * @returns boolean - */ - isItemValidRagfairItem(itemDetails: [boolean, ITemplateItem]): boolean; - protected isItemBlacklisted(itemTemplateId: string): boolean; - isTrader(userID: string): boolean; - isPlayer(userID: string): boolean; - returnItems(sessionID: string, items: any[]): void; - calculateDynamicStackCount(tplId: string, isWeaponPreset: boolean): number; - getDynamicOfferCurrency(): string; - getMemberType(userID: string): MemberCategory; - getNickname(userID: string): string; - getPresetItems(item: any): Item[]; - getPresetItemsByTpl(item: Item): Item[]; - reparentPresets(item: Item, preset: Item[]): Item[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairSortHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairSortHelper.d.ts deleted file mode 100644 index d20e10c..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairSortHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -export declare class RagfairSortHelper { - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - constructor(databaseServer: DatabaseServer, localeService: LocaleService); - sortOffers(offers: IRagfairOffer[], type: number, direction?: number): IRagfairOffer[]; - protected sortOffersByID(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByRating(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByName(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByPrice(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByExpiry(a: IRagfairOffer, b: IRagfairOffer): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairTaxHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairTaxHelper.d.ts deleted file mode 100644 index 820facb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RagfairTaxHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { ItemHelper } from "./ItemHelper"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairTaxHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected itemHelper: ItemHelper; - constructor(logger: ILogger, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, itemHelper: ItemHelper); - calculateTax(item: Item, pmcData: IPmcData, requirementsValue: number, offerItemCount: number, sellInOnePiece: boolean): number; - protected calculateItemWorth(item: Item, itemTemplate: ITemplateItem, itemCount: number, pmcData: IPmcData, isRootItem?: boolean): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RepairHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RepairHelper.d.ts deleted file mode 100644 index 9a3ab29..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/RepairHelper.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RepairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, configServer: ConfigServer); - updateItemDurability(itemToRepair: Item, itemToRepairDetails: ITemplateItem, isArmor: boolean, amountToRepair: number, useRepairKit?: boolean, applyRandomDegradation?: boolean): Item; - protected getRandomisedArmorRepairDegredationValue(armorMaterial: string, isRepairKit: boolean, armorMax: number): number; - protected getRandomisedWeaponRepairDegredationValue(itemProps: Props, isRepairKit: boolean, armorMax: number): number; - isWeaponTemplate(tpl: string): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/SecureContainerHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/SecureContainerHelper.d.ts deleted file mode 100644 index 9e2bc32..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/SecureContainerHelper.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ItemHelper } from "./ItemHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class SecureContainerHelper { - protected itemHelper: ItemHelper; - constructor(itemHelper: ItemHelper); - getSecureContainerItems(items: Item[]): string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TradeHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TradeHelper.d.ts deleted file mode 100644 index 975062b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TradeHelper.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item, Upd } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { RagfairServer } from "../servers/RagfairServer"; -import { FenceService } from "../services/FenceService"; -import { PaymentService } from "../services/PaymentService"; -export declare class TradeHelper { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected fenceService: FenceService; - protected inventoryHelper: InventoryHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, traderHelper: TraderHelper, itemHelper: ItemHelper, paymentService: PaymentService, fenceService: FenceService, inventoryHelper: InventoryHelper, ragfairServer: RagfairServer); - /** - * Buy item from flea or trader - * @param pmcData - * @param buyRequestData data from client - * @param sessionID - * @param foundInRaid - * @param upd optional item details used when buying from flea - * @returns - */ - buyItem(pmcData: IPmcData, buyRequestData: IProcessBuyTradeRequestData, sessionID: string, foundInRaid: boolean, upd: Upd): IItemEventRouterResponse; - /** - * Sell item to trader - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - sellItem(pmcData: IPmcData, body: IProcessSellTradeRequestData, sessionID: string): IItemEventRouterResponse; - protected incrementAssortBuyCount(assortBeingPurchased: Item, itemsPurchasedCount: number): void; - protected checkPurchaseIsWithinTraderItemLimit(assortBeingPurchased: Item, assortId: string, count: number): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TraderAssortHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TraderAssortHelper.d.ts deleted file mode 100644 index 91ba6b9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TraderAssortHelper.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { RagfairAssortGenerator } from "../generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { AssortHelper } from "./AssortHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderAssortHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected mathUtil: MathUtil; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected assortHelper: AssortHelper; - protected paymentHelper: PaymentHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected traderAssortService: TraderAssortService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService, configServer: ConfigServer); - /** - * Get a traders assorts - * Can be used for returning ragfair / fence assorts - * @param sessionId session id - * @param traderId trader id - * @returns a traders assorts - */ - getAssort(sessionId: string, traderId: string): ITraderAssort; - /** - * Iterate over all assorts barter_scheme values, find barters selling for money and multiply by multipler in config - * @param traderAssort Assorts to multiple price of - */ - protected multiplyItemPricesByConfigMultipler(traderAssort: ITraderAssort): void; - /** - * Get an array of pristine trader items prior to any alteration by player (as they were on server start) - * @param traderId trader id - * @returns array of Items - */ - protected getPristineTraderAssorts(traderId: string): Item[]; - /** - * Returns generated ragfair offers in a trader assort format - * @returns Trader assort object - */ - protected getRagfairDataAsTraderAssort(): ITraderAssort; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TraderHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TraderHelper.d.ts deleted file mode 100644 index b2e9d38..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/TraderHelper.d.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { PlayerService } from "../services/PlayerService"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemHelper: ItemHelper; - protected handbookHelper: HandbookHelper; - protected playerService: PlayerService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemHelper: ItemHelper, handbookHelper: HandbookHelper, playerService: PlayerService, fenceService: FenceService, configServer: ConfigServer); - getTrader(traderID: string, sessionID: string): ITraderBase; - getTraderAssortsById(traderId: string): ITraderAssort; - /** - * Reset a profiles trader data back to its initial state as seen by a level 1 player - * Does NOT take into account different profile levels - * @param sessionID session id - * @param traderID trader id to reset - */ - resetTrader(sessionID: string, traderID: string): void; - /** - * Alter a traders unlocked status - * @param traderID Trader to alter - * @param status New status to use - * @param sessionID Session id - */ - setTraderUnlockedState(traderID: string, status: boolean, sessionID: string): void; - /** - * Get a list of items and their prices from player inventory that can be sold to a trader - * @param traderID trader id being traded with - * @param sessionID session id - * @returns IBarterScheme[][] - */ - getPurchasesData(traderID: string, sessionID: string): Record; - /** - * Should item be skipped when selling to trader according to its sell categories and other checks - * @param pmcData - * @param item - * @param sellCategory - * @returns true if should NOT be sold to trader - */ - protected isItemUnSellableToTrader(pmcData: IPmcData, item: Item, sellCategory: string[]): boolean; - /** - * Can this weapon be sold to a trader with its current durabiltiy level - * @param traderID - * @param item - * @returns boolean - */ - protected isWeaponAndBelowTraderBuyDurability(traderID: string, item: Item): boolean; - /** - * Get the price of an item and all of its attached children - * Take into account bonuses/adjsutments e.g. discounts - * @param pmcData profile data - * @param item item to calculate price of - * @param buyPriceCoefficient - * @param fenceInfo fence data - * @param traderBase trader details - * @param currencyTpl Currency to get price as - * @returns price of item + children - */ - protected getAdjustedItemPrice(pmcData: IPmcData, item: Item, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderBase: ITraderBase, currencyTpl: string): number; - /** - * Get the raw price of item+child items from handbook without any modification - * @param pmcData profile data - * @param item item to calculate price of - * @returns price as number - */ - protected getRawItemPrice(pmcData: IPmcData, item: Item): number; - protected getTraderDiscount(trader: ITraderBase, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderID: string): number; - /** - * Add standing to a trader and level them up if exp goes over level threshold - * @param sessionID Session id - * @param traderId traders id - * @param standingToAdd Standing value to add to trader - */ - addStandingToTrader(sessionID: string, traderId: string, standingToAdd: number): void; - /** - * Calculate traders level based on exp amount and increments level if over threshold - * @param traderID trader to process - * @param sessionID session id - */ - lvlUp(traderID: string, sessionID: string): void; - getTraderUpdateSeconds(traderId: string): number; - /** - * check if an item is allowed to be sold to a trader - * @param traderFilters array of allowed categories - * @param tplToCheck itemTpl of inventory - * @returns boolean - */ - traderFilter(traderFilters: string[], tplToCheck: string): boolean; - getLoyaltyLevel(traderID: string, pmcData: IPmcData): LoyaltyLevel; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/UtilityHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/UtilityHelper.d.ts deleted file mode 100644 index 5d9f482..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/UtilityHelper.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare class UtilityHelper { - arrayIntersect(a: T[], b: T[]): T[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/WeightedRandomHelper.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/WeightedRandomHelper.d.ts deleted file mode 100644 index 9aa0d29..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/helpers/WeightedRandomHelper.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -export declare class WeightedRandomHelper { - /** - * Gets a tplId from a weighted dictionary - * @param {tplId: weighting[]} itemArray - * @returns tplId - */ - getWeightedInventoryItem(itemArray: { - [tplId: string]: unknown; - } | ArrayLike): string; - /** - * Picks the random item based on its weight. - * The items with higher weight will be picked more often (with a higher probability). - * - * For example: - * - items = ['banana', 'orange', 'apple'] - * - weights = [0, 0.2, 0.8] - * - weightedRandom(items, weights) in 80% of cases will return 'apple', in 20% of cases will return - * 'orange' and it will never return 'banana' (because probability of picking the banana is 0%) - * - * @param {any[]} items - * @param {number[]} weights - * @returns {{item: any, index: number}} - */ - weightedRandom(items: string | any[], weights: string | any[]): { - item: any; - index: number; - }; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/BleedingEdgeEntry.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/BleedingEdgeEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/BleedingEdgeEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/Compiler.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/Compiler.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/Compiler.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/DebugEntry.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/DebugEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/DebugEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/ReleaseEntry.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/ReleaseEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/ReleaseEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/TestEntry.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/TestEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/ide/TestEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/BundleLoader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/BundleLoader.d.ts deleted file mode 100644 index 06ad698..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/BundleLoader.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -declare class BundleInfo { - modPath: string; - key: string; - path: string; - filepath: string; - dependencyKeys: string[]; - constructor(modpath: string, bundle: any, bundlePath: string, bundleFilepath: string); -} -export declare class BundleLoader { - protected httpServerHelper: HttpServerHelper; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected bundles: Record; - constructor(httpServerHelper: HttpServerHelper, vfs: VFS, jsonUtil: JsonUtil); - getBundles(local: boolean): BundleInfo[]; - getBundle(key: string, local: boolean): BundleInfo; - addBundles(modpath: string): void; -} -export {}; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/DelayedModLoader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 2a05604..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected initialModLoader: InitialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/InitialModLoader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 68e47fe..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt300Compatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(mod: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PostAkiModLoader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index edc6e5d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostAkiModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected preAkiModLoader: PreAkiModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, preAkiModLoader: PreAkiModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PostDBModLoader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PostDBModLoader.d.ts deleted file mode 100644 index 5101b7b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PostDBModLoader.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "../di/OnLoad"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostDBModLoader implements OnLoad { - protected preAkiModLoader: PreAkiModLoader; - constructor(preAkiModLoader: PreAkiModLoader); - onLoad(): void; - getRoute(): string; - getModPath(mod: string): string; - protected executeMods(container: DependencyContainer): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PreAkiModLoader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 6ded3c6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt3XXCompatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/common/MinMax.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/common/MinMax.d.ts deleted file mode 100644 index bc118a8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/common/MinMax.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface MinMax { - max: number; - min: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts deleted file mode 100644 index c49cef7..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface IGenerateBotsRequestData { - conditions: Condition[]; -} -export interface Condition { - Role: string; - Limit: number; - Difficulty: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IEmptyRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IEmptyRequestData.d.ts deleted file mode 100644 index 284d16e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IEmptyRequestData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export interface IEmptyRequestData { -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IGlobals.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IGlobals.d.ts deleted file mode 100644 index 9d28dbc..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IGlobals.d.ts +++ /dev/null @@ -1,1179 +0,0 @@ -import { Item } from "./tables/IItem"; -export interface IGlobals { - time: number; - config: Config; - bot_presets: BotPreset[]; - BotWeaponScatterings: BotWeaponScattering[]; - ItemPresets: Record; -} -export interface Config { - content: Content; - AimPunchMagnitude: number; - WeaponSkillProgressRate: number; - SkillAtrophy: boolean; - exp: Exp; - t_base_looting: number; - t_base_lockpicking: number; - armor: Armor; - SessionsToShowHotKeys: number; - MaxBotsAliveOnMap: number; - SavagePlayCooldown: number; - SavagePlayCooldownNdaFree: number; - MarksmanAccuracy: number; - SavagePlayCooldownDevelop: number; - TODSkyDate: string; - Mastering: Mastering[]; - GlobalItemPriceModifier: number; - TradingUnlimitedItems: boolean; - MaxLoyaltyLevelForAll: boolean; - GlobalLootChanceModifier: number; - TimeBeforeDeploy: number; - TimeBeforeDeployLocal: number; - LoadTimeSpeedProgress: number; - BaseLoadTime: number; - BaseUnloadTime: number; - BaseCheckTime: number; - Customization: Customization; - UncheckOnShot: boolean; - BotsEnabled: boolean; - ArmorMaterials: ArmorMaterials; - LegsOverdamage: number; - HandsOverdamage: number; - StomachOverdamage: number; - Health: Health; - rating: Rating; - tournament: Tournament; - RagFair: RagFair; - handbook: Handbook; - FractureCausedByFalling: Probability; - FractureCausedByBulletHit: Probability; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - Stamina: Stamina; - StaminaRestoration: StaminaRestoration; - StaminaDrain: StaminaDrain; - RequirementReferences: RequirementReferences; - RepairKitSettings: RepairKitSettings; - RestrictionsInRaid: RestrictionsInRaid[]; - SkillMinEffectiveness: number; - SkillFatiguePerPoint: number; - SkillFreshEffectiveness: number; - SkillFreshPoints: number; - SkillPointsBeforeFatigue: number; - SkillFatigueReset: number; - DiscardLimitsEnabled: boolean; - EventType: string[]; - WalkSpeed: xyz; - SprintSpeed: xyz; - SkillEnduranceWeightThreshold: number; - TeamSearchingTimeout: number; - Insurance: Insurance; - SkillExpPerLevel: number; - GameSearchingTimeout: number; - WallContusionAbsorption: xyz; - SkillsSettings: SkillsSettings; - AzimuthPanelShowsPlayerOrientation: boolean; - Aiming: Aiming; - Malfunction: Malfunction; - Overheat: Overheat; - FenceSettings: FenceSettings; - TestValue: number; - Inertia: Inertia; - Ballistic: Ballistic; -} -export interface Content { - ip: string; - port: number; - root: string; -} -export interface Exp { - heal: Heal; - match_end: MatchEnd; - kill: Kill; - level: Level; - loot_attempts: LootAttempt[]; - expForLockedDoorOpen: number; - expForLockedDoorBreach: number; - triggerMult: number; -} -export interface Heal { - expForHeal: number; - expForHydration: number; - expForEnergy: number; -} -export interface MatchEnd { - README: string; - survived_exp_requirement: number; - survived_seconds_requirement: number; - survived_exp_reward: number; - mia_exp_reward: number; - runner_exp_reward: number; - leftMult: number; - miaMult: number; - survivedMult: number; - runnerMult: number; - killedMult: number; -} -export interface Kill { - combo: Combo[]; - victimLevelExp: number; - headShotMult: number; - expOnDamageAllHealth: number; - longShotDistance: number; - bloodLossToLitre: number; - victimBotLevelExp: number; -} -export interface Combo { - percent: number; -} -export interface Level { - exp_table: ExpTable[]; - trade_level: number; - savage_level: number; - clan_level: number; - mastering1: number; - mastering2: number; -} -export interface ExpTable { - exp: number; -} -export interface LootAttempt { - k_exp: number; -} -export interface Armor { - class: Class[]; -} -export interface Class { - resistance: number; -} -export interface Mastering { - Name: string; - Templates: string[]; - Level2: number; - Level3: number; -} -export interface Customization { - SavageHead: SavageHead; - SavageBody: SavageBody; - SavageFeet: SavageFeet; - CustomizationVoice: CustomizationVoice[]; - BodyParts: BodyParts; -} -export interface SavageHead { - wild_head_1: WildHead; - wild_head_2: WildHead; - wild_head_3: WildHead; - Wild_Dealmaker_head: WildHead; - Wild_Killa_head: WildHead; - bear_head: WildHead; - bear_head_1: WildHead; - usec_head_1: WildHead; - Head_BOSS_Glukhar: WildHead; - Wild_Head_nonMesh: WildHead; - Head_BOSS_Sanitar: WildHead; - wild_head_drozd: WildHead; - wild_head_misha: WildHead; - head_cultist_01: WildHead; - head_cultist_02: WildHead; - head_cultist_03: WildHead; - DefaultUsecHead: WildHead; - usec_head_3: WildHead; - usec_head_4: WildHead; - usec_head_5: WildHead; -} -export interface WildHead { - head: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface SavageBody { - wild_body: WildBody; - wild_body_1: WildBody; - wild_body_2: WildBody; - wild_body_3: WildBody; - Wild_Dealmaker_body: WildBody; - wild_security_body_1: WildBody; - wild_security_body_2: WildBody; - wild_Killa_body: WildBody; - wild_pmcBot_body: WildBody; - wild_Shturman_body: WildBody; - wild_Gluhar_body: WildBody; - Tshirt_security_TshirtTatu_01: WildBody; - Tshirt_security_TshirtTatu_02: WildBody; - Top_security_Husky: WildBody; - Top_security_Gorka4: WildBody; - scav_kit_upper_meteor: WildBody; - wild_body_russia1: WildBody; - Top_BOSS_Sanitar: WildBody; - wild_body_motocross: WildBody; - top_cultist_01: WildBody; - top_cultist_02: WildBody; - wild_body_rainparka: WildBody; - wild_body_underarmour: WildBody; - top_boss_tagilla: WildBody; - DefaultUsecBody: WildBody; - usec_upper_acu: WildBody; - usec_upper_commando: WildBody; - usec_upper_aggressor: WildBody; - usec_upper_hoody: WildBody; - usec_upper_pcuironsight: WildBody; - usec_top_beltstaff: WildBody; - usec_upper_flexion: WildBody; - usec_upper_tier3: WildBody; - usec_upper_pcsmulticam: WildBody; - usec_upper_tier_2: WildBody; - usec_upper_infiltrator: WildBody; - user_upper_NightPatrol: WildBody; - wild_body_bomber: WildBody; - wild_top_yellowcoat: WildBody; -} -export interface WildBody { - body: string; - hands: string; - isNotRandom: boolean; -} -export interface SavageFeet { - wild_feet: WildFeet; - wild_feet_1: WildFeet; - wild_feet_2: WildFeet; - Wild_Dealmaker_feet: WildFeet; - wild_security_feet_1: WildFeet; - Wild_Killa_feet: WildFeet; - wild_pmcBot_feet: WildFeet; - Pants_BOSS_Glukhar: WildFeet; - Pants_BOSS_Shturman: WildFeet; - Pants_security_Gorka4: WildFeet; - Pants_security_Flora: WildFeet; - scav_kit_lower_sklon: WildFeet; - Pants_BOSS_Sanitar: WildFeet; - wild_feet_sweatpants: WildFeet; - wild_feet_wasatch: WildFeet; - wild_feet_slimPants: WildFeet; - pants_cultist_01: WildFeet; - pants_cultist_02: WildFeet; - wild_feet_scavelite_taclite: WildFeet; - pants_boss_tagilla: WildFeet; - wild_feet_bomber: WildFeet; - wild_pants_yellowcoat: WildFeet; -} -export interface WildFeet { - feet: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface CustomizationVoice { - voice: string; - side: string[]; - isNotRandom: boolean; -} -export interface BodyParts { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface ArmorMaterials { - UHMWPE: ArmorType; - Aramid: ArmorType; - Combined: ArmorType; - Titan: ArmorType; - Aluminium: ArmorType; - ArmoredSteel: ArmorType; - Ceramic: ArmorType; - Glass: ArmorType; -} -export interface ArmorType { - Destructibility: number; - MinRepairDegradation: number; - MaxRepairDegradation: number; - ExplosionDestructibility: number; - MinRepairKitDegradation: number; - MaxRepairKitDegradation: number; -} -export interface Health { - Falling: Falling; - Effects: Effects; - HealPrice: HealPrice; - ProfileHealthSettings: ProfileHealthSettings; -} -export interface Falling { - DamagePerMeter: number; - SafeHeight: number; -} -export interface Effects { - Existence: Existence; - Dehydration: Dehydration; - BreakPart: BreakPart; - Contusion: Contusion; - Disorientation: Disorientation; - Exhaustion: Exhaustion; - LowEdgeHealth: LowEdgeHealth; - RadExposure: RadExposure; - Stun: Stun; - Intoxication: Intoxication; - Regeneration: Regeneration; - Wound: Wound; - Berserk: Berserk; - Flash: Flash; - MedEffect: MedEffect; - Pain: Pain; - PainKiller: PainKiller; - SandingScreen: SandingScreen; - Stimulator: Stimulator; - Tremor: Tremor; - ChronicStaminaFatigue: ChronicStaminaFatigue; - Fracture: Fracture2; - HeavyBleeding: HeavyBleeding2; - LightBleeding: LightBleeding2; - BodyTemperature: BodyTemperature; -} -export interface Existence { - EnergyLoopTime: number; - HydrationLoopTime: number; - EnergyDamage: number; - HydrationDamage: number; - DestroyedStomachEnergyTimeFactor: number; - DestroyedStomachHydrationTimeFactor: number; -} -export interface Dehydration { - DefaultDelay: number; - DefaultResidueTime: number; - BleedingHealth: number; - BleedingLoopTime: number; - BleedingLifeTime: number; - DamageOnStrongDehydration: number; - StrongDehydrationLoopTime: number; -} -export interface BreakPart { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface Contusion { - Dummy: number; -} -export interface Disorientation { - Dummy: number; -} -export interface Exhaustion { - DefaultDelay: number; - DefaultResidueTime: number; - Damage: number; - DamageLoopTime: number; -} -export interface LowEdgeHealth { - DefaultDelay: number; - DefaultResidueTime: number; - StartCommonHealth: number; -} -export interface RadExposure { - Damage: number; - DamageLoopTime: number; -} -export interface Stun { - Dummy: number; -} -export interface Intoxication { - DefaultDelay: number; - DefaultResidueTime: number; - DamageHealth: number; - HealthLoopTime: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovedAfterDeath: boolean; - HealExperience: number; - RemovePrice: number; -} -export interface Regeneration { - LoopTime: number; - MinimumHealthPercentage: number; - Energy: number; - Hydration: number; - BodyHealth: BodyHealth; - Influences: Influences; -} -export interface BodyHealth { - Head: BodyHealthValue; - Chest: BodyHealthValue; - Stomach: BodyHealthValue; - LeftArm: BodyHealthValue; - RightArm: BodyHealthValue; - LeftLeg: BodyHealthValue; - RightLeg: BodyHealthValue; -} -export interface BodyHealthValue { - Value: number; -} -export interface Influences { - LightBleeding: Influence; - HeavyBleeding: Influence; - Fracture: Influence; - RadExposure: Influence; - Intoxication: Influence; -} -export interface Influence { - HealthSlowDownPercentage: number; - EnergySlowDownPercentage: number; - HydrationSlowDownPercentage: number; -} -export interface Wound { - WorkingTime: number; - ThresholdMin: number; - ThresholdMax: number; -} -export interface Berserk { - DefaultDelay: number; - WorkingTime: number; - DefaultResidueTime: number; -} -export interface Flash { - Dummy: number; -} -export interface MedEffect { - LoopTime: number; - StartDelay: number; - DrinkStartDelay: number; - FoodStartDelay: number; - DrugsStartDelay: number; - MedKitStartDelay: number; - MedicalStartDelay: number; - StimulatorStartDelay: number; -} -export interface Pain { - TremorDelay: number; - HealExperience: number; -} -export interface PainKiller { - Dummy: number; -} -export interface SandingScreen { - Dummy: number; -} -export interface Stimulator { - BuffLoopTime: number; - Buffs: Buffs; -} -export interface Buffs { - BuffsSJ1TGLabs: Buff[]; - BuffsSJ6TGLabs: Buff[]; - BuffsPropital: Buff[]; - BuffsZagustin: Buff[]; - BuffseTGchange: Buff[]; - BuffsAdrenaline: Buff[]; - BuffsGoldenStarBalm: Buff[]; - Buffs_drink_aquamari: Buff[]; - Buffs_drink_maxenergy: Buff[]; - Buffs_drink_milk: Buff[]; - Buffs_drink_tarcola: Buff[]; - Buffs_drink_hotrod: Buff[]; - Buffs_drink_juice_army: Buff[]; - Buffs_drink_water: Buff[]; - Buffs_food_borodinskiye: Buff[]; - Buffs_food_condensed_milk: Buff[]; - Buffs_food_emelya: Buff[]; - Buffs_food_mayonez: Buff[]; - Buffs_food_mre: Buff[]; - Buffs_food_sugar: Buff[]; - Buffs_drink_vodka: Buff[]; - Buffs_drink_jack: Buff[]; - Buffs_drink_moonshine: Buff[]; - Buffs_drink_purewater: Buff[]; - Buffs_3bTG: Buff[]; - Buffs_AHF1M: Buff[]; - Buffs_L1: Buff[]; - Buffs_MULE: Buff[]; - Buffs_Meldonin: Buff[]; - Buffs_Obdolbos: Buff[]; - Buffs_P22: Buff[]; - Buffs_KultistsToxin: Buff[]; - Buffs_BodyTemperature: Buff[]; - Buffs_Antidote: Buff[]; - Buffs_melee_bleed: Buff[]; - Buffs_melee_blunt: Buff[]; - Buffs_hultafors: Buff[]; - Buffs_drink_vodka_BAD: Buff[]; - Buffs_food_alyonka: Buff[]; - Buffs_food_slippers: Buff[]; - Buffs_knife: Buff[]; -} -export interface Buff { - BuffType: string; - Chance: number; - Delay: number; - Duration: number; - Value: number; - AbsoluteValue: boolean; - SkillName: string; -} -export interface Tremor { - DefaultDelay: number; - DefaultResidueTime: number; -} -export interface ChronicStaminaFatigue { - EnergyRate: number; - WorkingTime: number; - TicksEvery: number; - EnergyRatePerStack: number; -} -export interface Fracture2 { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface HeavyBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface Probability { - FunctionType: string; - K: number; - B: number; - Threshold: number; -} -export interface LightBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface BodyTemperature { - DefaultBuildUpTime: number; - DefaultResidueTime: number; - LoopTime: number; -} -export interface HealPrice { - HealthPointPrice: number; - HydrationPointPrice: number; - EnergyPointPrice: number; - TrialLevels: number; - TrialRaids: number; -} -export interface ProfileHealthSettings { - BodyPartsSettings: BodyPartsSettings; - HealthFactorsSettings: HealthFactorsSettings; -} -export interface BodyPartsSettings { - Head: BodyPartsSetting; - Chest: BodyPartsSetting; - Stomach: BodyPartsSetting; - LeftArm: BodyPartsSetting; - RightArm: BodyPartsSetting; - LeftLeg: BodyPartsSetting; - RightLeg: BodyPartsSetting; -} -export interface BodyPartsSetting { - Minimum: number; - Maximum: number; - Default: number; - OverDamageReceivedMultiplier: number; -} -export interface HealthFactorsSettings { - Energy: HealthFactorSetting; - Hydration: HealthFactorSetting; - Temperature: HealthFactorSetting; - Poisoning: HealthFactorSetting; - Radiation: HealthFactorSetting; -} -export interface HealthFactorSetting { - Minimum: number; - Maximum: number; - Default: number; -} -export interface Rating { - levelRequired: number; - limit: number; - categories: Categories; -} -export interface Categories { - experience: boolean; - kd: boolean; - surviveRatio: boolean; - avgEarnings: boolean; - kills: boolean; - raidCount: boolean; - longestShot: boolean; - timeOnline: boolean; - inventoryFullCost: boolean; - ragFairStanding: boolean; -} -export interface Tournament { - categories: Categories2; - limit: number; - levelRequired: number; -} -export interface Categories2 { - dogtags: boolean; -} -export interface RagFair { - enabled: boolean; - priceStabilizerEnabled: boolean; - includePveTraderSales: boolean; - priceStabilizerStartIntervalInHours: number; - minUserLevel: number; - communityTax: number; - communityItemTax: number; - communityRequirementTax: number; - offerPriorityCost: number; - offerDurationTimeInHour: number; - offerDurationTimeInHourAfterRemove: number; - priorityTimeModifier: number; - maxRenewOfferTimeInHour: number; - renewPricePerHour: number; - maxActiveOfferCount: MaxActiveOfferCount[]; - balancerRemovePriceCoefficient: number; - balancerMinPriceCount: number; - balancerAveragePriceCoefficient: number; - delaySinceOfferAdd: number; - uniqueBuyerTimeoutInDays: number; - ratingSumForIncrease: number; - ratingIncreaseCount: number; - ratingSumForDecrease: number; - ratingDecreaseCount: number; - maxSumForIncreaseRatingPerOneSale: number; - maxSumForDecreaseRatingPerOneSale: number; - maxSumForRarity: MaxSumForRarity; - ChangePriceCoef: number; - balancerUserItemSaleCooldownEnabled: boolean; - balancerUserItemSaleCooldown: number; - youSellOfferMaxStorageTimeInHour: number; - yourOfferDidNotSellMaxStorageTimeInHour: number; - isOnlyFoundInRaidAllowed: boolean; - sellInOnePiece: number; -} -export interface MaxActiveOfferCount { - from: number; - to: number; - count: number; -} -export interface MaxSumForRarity { - Common: RarityMaxSum; - Rare: RarityMaxSum; - Superrare: RarityMaxSum; - Not_exist: RarityMaxSum; -} -export interface RarityMaxSum { - value: number; -} -export interface Handbook { - defaultCategory: string; -} -export interface Stamina { - Capacity: number; - SprintDrainRate: number; - BaseRestorationRate: number; - JumpConsumption: number; - GrenadeHighThrow: number; - GrenadeLowThrow: number; - AimDrainRate: number; - AimRangeFinderDrainRate: number; - OxygenCapacity: number; - OxygenRestoration: number; - WalkOverweightLimits: xyz; - BaseOverweightLimits: xyz; - SprintOverweightLimits: xyz; - WalkSpeedOverweightLimits: xyz; - CrouchConsumption: xyz; - WalkConsumption: xyz; - StandupConsumption: xyz; - TransitionSpeed: xyz; - SprintAccelerationLowerLimit: number; - SprintSpeedLowerLimit: number; - SprintSensitivityLowerLimit: number; - AimConsumptionByPose: xyz; - RestorationMultiplierByPose: xyz; - OverweightConsumptionByPose: xyz; - AimingSpeedMultiplier: number; - WalkVisualEffectMultiplier: number; - HandsCapacity: number; - HandsRestoration: number; - ProneConsumption: number; - BaseHoldBreathConsumption: number; - SoundRadius: xyz; - ExhaustedMeleeSpeed: number; - FatigueRestorationRate: number; - FatigueAmountToCreateEffect: number; - ExhaustedMeleeDamageMultiplier: number; - FallDamageMultiplier: number; - SafeHeightOverweight: number; - SitToStandConsumption: number; - StaminaExhaustionCausesJiggle: boolean; - StaminaExhaustionStartsBreathSound: boolean; - StaminaExhaustionRocksCamera: boolean; - HoldBreathStaminaMultiplier: xyz; - PoseLevelIncreaseSpeed: xyz; - PoseLevelDecreaseSpeed: xyz; - PoseLevelConsumptionPerNotch: xyz; -} -export interface StaminaRestoration { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface StaminaDrain { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface RequirementReferences { - Alpinist: Alpinist[]; -} -export interface Alpinist { - Requirement: string; - Id: string; - Count: number; - RequiredSlot: string; - RequirementTip: string; -} -export interface RestrictionsInRaid { - TemplateId: string; - Value: number; -} -export interface Insurance { - MaxStorageTimeInHour: number; -} -export interface SkillsSettings { - SkillProgressRate: number; - WeaponSkillProgressRate: number; - WeaponSkillRecoilBonusPerLevel: number; - HideoutManagement: HideoutManagement; - Crafting: Crafting; - Metabolism: Metabolism; - Immunity: Immunity; - Endurance: Endurance; - Strength: Strength; - Vitality: Vitality; - Health: Health2; - StressResistance: StressResistance; - Throwing: Throwing; - RecoilControl: RecoilControl; - Pistol: WeaponSkills; - Revolver: WeaponSkills; - SMG: any[]; - Assault: WeaponSkills; - Shotgun: WeaponSkills; - Sniper: WeaponSkills; - LMG: any[]; - HMG: any[]; - Launcher: any[]; - AttachedLauncher: any[]; - Melee: any[]; - DMR: WeaponSkills; - BearAssaultoperations: any[]; - BearAuthority: any[]; - BearAksystems: any[]; - BearHeavycaliber: any[]; - BearRawpower: any[]; - UsecArsystems: any[]; - UsecDeepweaponmodding_Settings: any[]; - UsecLongrangeoptics_Settings: any[]; - UsecNegotiations: any[]; - UsecTactics: any[]; - BotReload: any[]; - CovertMovement: CovertMovement; - FieldMedicine: any[]; - Search: Search; - Sniping: any[]; - ProneMovement: any[]; - FirstAid: any[]; - LightVests: ArmorSkills; - HeavyVests: ArmorSkills; - WeaponModding: any[]; - AdvancedModding: any[]; - NightOps: any[]; - SilentOps: any[]; - Lockpicking: any[]; - WeaponTreatment: WeaponTreatment; - MagDrills: MagDrills; - Freetrading: any[]; - Auctions: any[]; - Cleanoperations: any[]; - Barter: any[]; - Shadowconnections: any[]; - Taskperformance: any[]; - Perception: Perception; - Intellect: Intellect; - Attention: Attention; - Charisma: Charisma; - Memory: Memory; - Surgery: Surgery; - AimDrills: AimDrills; - BotSound: any[]; - TroubleShooting: TroubleShooting; -} -export interface ArmorSkills { - WearAmountRepairLVestsReducePerLevel: number; - WearChanceRepairLVestsReduceEliteLevel: number; -} -export interface HideoutManagement { - SkillPointsPerAreaUpgrade: number; - SkillPointsPerCraft: number; - ConsumptionReductionPerLevel: number; - SkillBoostPercent: number; - SkillPointsRate: SkillPointsRate; - EliteSlots: EliteSlots; -} -export interface SkillPointsRate { - Generator: Generator; - AirFilteringUnit: SkillPointRate; - WaterCollector: SkillPointRate; - SolarPower: SkillPointRate; -} -export interface SkillPointRate { - ResourceSpent: number; - PointsGained: number; -} -export interface EliteSlots { - Generator: EliteSlot; - AirFilteringUnit: EliteSlot; - WaterCollector: EliteSlot; - BitcoinFarm: EliteSlot; -} -export interface EliteSlot { - Slots: number; - Container: number; -} -export interface Crafting { - PointsPerCraftingCycle: number; - CraftingCycleHours: number; - PointsPerUniqueCraftCycle: number; - UniqueCraftsPerCycle: number; - CraftTimeReductionPerLevel: number; - ProductionTimeReductionPerLevel: number; - EliteExtraProductions: number; - CraftingPointsToInteligence: number; -} -export interface Metabolism { - HydrationRecoveryRate: number; - EnergyRecoveryRate: number; - IncreasePositiveEffectDurationRate: number; - DecreaseNegativeEffectDurationRate: number; - DecreasePoisonDurationRate: number; -} -export interface Immunity { - ImmunityMiscEffects: number; - ImmunityPoisonBuff: number; - ImmunityPainKiller: number; - HealthNegativeEffect: number; - StimulatorNegativeBuff: number; -} -export interface Endurance { - MovementAction: number; - SprintAction: number; - GainPerFatigueStack: number; -} -export interface Strength { - SprintActionMin: number; - SprintActionMax: number; - MovementActionMin: number; - MovementActionMax: number; - PushUpMin: number; - PushUpMax: number; - FistfightAction: number; - ThrowAction: number; -} -export interface Vitality { - DamageTakenAction: number; - HealthNegativeEffect: number; -} -export interface Health2 { - SkillProgress: number; -} -export interface StressResistance { - HealthNegativeEffect: number; - LowHPDuration: number; -} -export interface Throwing { - ThrowAction: number; -} -export interface RecoilControl { - RecoilAction: number; - RecoilBonusPerLevel: number; -} -export interface WeaponSkills { - WeaponReloadAction: number; - WeaponShotAction: number; - WeaponFixAction: number; - WeaponChamberAction: number; -} -export interface CovertMovement { - MovementAction: number; -} -export interface Search { - SearchAction: number; - FindAction: number; -} -export interface WeaponTreatment { - DurLossReducePerLevel: number; - SkillPointsPerRepair: number; - Filter: any[]; - WearAmountRepairGunsReducePerLevel: number; - WearChanceRepairGunsReduceEliteLevel: number; -} -export interface MagDrills { - RaidLoadedAmmoAction: number; - RaidUnloadedAmmoAction: number; - MagazineCheckAction: number; -} -export interface Perception { - OnlineAction: number; - UniqueLoot: number; -} -export interface Intellect { - ExamineAction: number; - SkillProgress: number; - RepairAction: number; - WearAmountReducePerLevel: number; - WearChanceReduceEliteLevel: number; - RepairPointsCostReduction: number; -} -export interface Attention { - ExamineWithInstruction: number; - FindActionFalse: number; - FindActionTrue: number; -} -export interface Charisma { - SkillProgressInt: number; - SkillProgressAtn: number; - SkillProgressPer: number; -} -export interface Memory { - AnySkillUp: number; - SkillProgress: number; -} -export interface Surgery { - SurgeryAction: number; - SkillProgress: number; -} -export interface AimDrills { - WeaponShotAction: number; -} -export interface TroubleShooting { - MalfRepairSpeedBonusPerLevel: number; - SkillPointsPerMalfFix: number; - EliteDurabilityChanceReduceMult: number; - EliteAmmoChanceReduceMult: number; - EliteMagChanceReduceMult: number; -} -export interface Aiming { - ProceduralIntensityByPose: xyz; - AimProceduralIntensity: number; - HeavyWeight: number; - LightWeight: number; - MaxTimeHeavy: number; - MinTimeHeavy: number; - MaxTimeLight: number; - MinTimeLight: number; - RecoilScaling: number; - RecoilDamping: number; - CameraSnapGlobalMult: number; - RecoilXIntensityByPose: xyz; - RecoilYIntensityByPose: xyz; - RecoilZIntensityByPose: xyz; - RecoilCrank: boolean; - RecoilHandDamping: number; - RecoilConvergenceMult: number; - RecoilVertBonus: number; - RecoilBackBonus: number; -} -export interface Malfunction { - AmmoMalfChanceMult: number; - MagazineMalfChanceMult: number; - MalfRepairHardSlideMult: number; - MalfRepairOneHandBrokenMult: number; - MalfRepairTwoHandsBrokenMult: number; - AllowMalfForBots: boolean; - ShowGlowAttemptsCount: number; - OutToIdleSpeedMultForPistol: number; - IdleToOutSpeedMultOnMalf: number; - TimeToQuickdrawPistol: number; - DurRangeToIgnoreMalfs: xyz; - DurFeedWt: number; - DurMisfireWt: number; - DurJamWt: number; - DurSoftSlideWt: number; - DurHardSlideMinWt: number; - DurHardSlideMaxWt: number; - AmmoMisfireWt: number; - AmmoFeedWt: number; - AmmoJamWt: number; - OverheatFeedWt: number; - OverheatJamWt: number; - OverheatSoftSlideWt: number; - OverheatHardSlideMinWt: number; - OverheatHardSlideMaxWt: number; -} -export interface Overheat { - MinOverheat: number; - MaxOverheat: number; - OverheatProblemsStart: number; - ModHeatFactor: number; - ModCoolFactor: number; - MinWearOnOverheat: number; - MaxWearOnOverheat: number; - MinWearOnMaxOverheat: number; - MaxWearOnMaxOverheat: number; - OverheatWearLimit: number; - MaxCOIIncreaseMult: number; - MinMalfChance: number; - MaxMalfChance: number; - DurReduceMinMult: number; - DurReduceMaxMult: number; - BarrelMoveRndDuration: number; - BarrelMoveMaxMult: number; - FireratePitchMult: number; - FirerateReduceMinMult: number; - FirerateReduceMaxMult: number; - FirerateOverheatBorder: number; - EnableSlideOnMaxOverheat: boolean; - StartSlideOverheat: number; - FixSlideOverheat: number; - AutoshotMinOverheat: number; - AutoshotChance: number; - AutoshotPossibilityDuration: number; - MaxOverheatCoolCoef: number; -} -export interface FenceSettings { - FenceId: string; - Levels: Record; - paidExitStandingNumerator: number; -} -export interface FenceLevel { - SavageCooldownModifier: number; - ScavCaseTimeModifier: number; - PaidExitCostModifier: number; - BotFollowChance: number; - ScavEquipmentSpawnChanceModifier: number; - PriceModifier: number; - HostileBosses: boolean; - HostileScavs: boolean; - ScavAttackSupport: boolean; - ExfiltrationPriceModifier: number; - AvailableExits: number; -} -export interface Inertia { - InertiaLimits: xyz; - InertiaLimitsStep: number; - ExitMovementStateSpeedThreshold: xyz; - WalkInertia: xyz; - FallThreshold: number; - SpeedLimitAfterFallMin: xyz; - SpeedLimitAfterFallMax: xyz; - SpeedLimitDurationMin: xyz; - SpeedLimitDurationMax: xyz; - SpeedInertiaAfterJump: xyz; - BaseJumpPenaltyDuration: number; - DurationPower: number; - BaseJumpPenalty: number; - PenaltyPower: number; - InertiaTiltCurveMin: xyz; - InertiaTiltCurveMax: xyz; - InertiaBackwardCoef: xyz; - TiltInertiaMaxSpeed: xyz; - TiltStartSideBackSpeed: xyz; - TiltMaxSideBackSpeed: xyz; - TiltAcceleration: xyz; - AverageRotationFrameSpan: number; - SprintSpeedInertiaCurveMin: xyz; - SprintSpeedInertiaCurveMax: xyz; - SprintBrakeInertia: xyz; - SprintTransitionMotionPreservation: xyz; - WeaponFlipSpeed: xyz; - PreSprintAccelerationLimits: xyz; - SprintAccelerationLimits: xyz; - SideTime: xyz; - DiagonalTime: xyz; - MaxTimeWithoutInput: xyz; - MinDirectionBlendTime: number; - MoveTimeRange: xyz; - ProneDirectionAccelerationRange: xyz; - ProneSpeedAccelerationRange: xyz; - MinMovementAccelerationRangeRight: xyz; - MaxMovementAccelerationRangeRight: xyz; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Ballistic { - GlobalDamageDegradationCoefficient: number; -} -export interface RepairKitSettings { - armorClassDivisor: number; - durabilityPointCostArmor: number; - durabilityPointCostGuns: number; -} -export interface BotPreset { - UseThis: boolean; - Role: string; - BotDifficulty: string; - VisibleAngle: number; - VisibleDistance: number; - ScatteringPerMeter: number; - HearingSense: number; - SCATTERING_DIST_MODIF: number; - MAX_AIMING_UPGRADE_BY_TIME: number; - FIRST_CONTACT_ADD_SEC: number; - COEF_IF_MOVE: number; -} -export interface BotWeaponScattering { - Name: string; - PriorityScatter1meter: number; - PriorityScatter10meter: number; - PriorityScatter100meter: number; -} -export interface Preset { - _id: string; - _type: string; - _changeWeaponName: boolean; - _name: string; - _parent: string; - _items: Item[]; - _encyclopedia?: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocation.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocation.d.ts deleted file mode 100644 index 42fac06..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocation.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ILocationBase } from "./ILocationBase"; -import { ILooseLoot } from "./ILooseLoot"; -export interface ILocation { - base: ILocationBase; - looseLoot: ILooseLoot; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocationBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocationBase.d.ts deleted file mode 100644 index b1dd448..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocationBase.d.ts +++ /dev/null @@ -1,205 +0,0 @@ -export interface ILocationBase { - AccessKeys: string[]; - AirdropParameters: AirdropParameter[]; - Area: number; - AveragePlayTime: number; - AveragePlayerLevel: number; - Banners: Banner[]; - BossLocationSpawn: BossLocationSpawn[]; - BotAssault: number; - BotEasy: number; - BotHard: number; - BotImpossible: number; - BotLocationModifier: BotLocationModifier; - BotMarksman: number; - BotMax: number; - BotMaxPlayer: number; - BotMaxTimePlayer: number; - BotNormal: number; - BotSpawnTimeOffMax: number; - BotSpawnTimeOffMin: number; - BotSpawnTimeOnMax: number; - BotSpawnTimeOnMin: number; - BotStart: number; - BotStop: number; - Description: string; - DisabledForScav: boolean; - DisabledScavExits: string; - Enabled: boolean; - EnableCoop: boolean; - GlobalLootChanceModifier: number; - IconX: number; - IconY: number; - Id: string; - Insurance: boolean; - IsSecret: boolean; - Locked: boolean; - Loot: any[]; - MaxBotPerZone: number; - MaxDistToFreePoint: number; - MaxPlayers: number; - MinDistToExitPoint: number; - MinDistToFreePoint: number; - MinMaxBots: MinMaxBot[]; - MinPlayers: number; - MaxCoopGroup: number; - Name: string; - NewSpawn: boolean; - OcculsionCullingEnabled: boolean; - OldSpawn: boolean; - OpenZones: string; - Preview: Preview; - RequiredPlayerLevel: number; - PmcMaxPlayersInGroup: number; - ScavMaxPlayersInGroup: number; - Rules: string; - SafeLocation: boolean; - Scene: Scene; - SpawnPointParams: SpawnPointParam[]; - UnixDateTime: number; - _Id: string; - doors: any[]; - EscapeTimeLimit: number; - EscapeTimeLimitCoop: number; - exit_access_time: number; - exit_count: number; - exit_time: number; - exits: Exit[]; - filter_ex: string[]; - limits: ILimit[]; - matching_min_seconds: number; - GenerateLocalLootCache: boolean; - maxItemCountInLocation: MaxItemCountInLocation[]; - sav_summon_seconds: number; - tmp_location_field_remove_me: number; - users_gather_seconds: number; - users_spawn_seconds_n: number; - users_spawn_seconds_n2: number; - users_summon_seconds: number; - waves: Wave[]; -} -export interface ILimit { - min: number; - max: number; - items: any[]; -} -export interface AirdropParameter { - AirdropPointDeactivateDistance: number; - MinPlayersCountToSpawnAirdrop: number; - PlaneAirdropChance: number; - PlaneAirdropCooldownMax: number; - PlaneAirdropCooldownMin: number; - PlaneAirdropEnd: number; - PlaneAirdropMax: number; - PlaneAirdropStartMax: number; - PlaneAirdropStartMin: number; - UnsuccessfulTryPenalty: number; -} -export interface Banner { - id: string; - pic: Pic; -} -export interface Pic { - path: string; - rcid: string; -} -export interface BossLocationSpawn { - BossChance: number; - BossDifficult: string; - BossEscortAmount: string; - BossEscortDifficult: string; - BossEscortType: string; - BossName: string; - BossPlayer: boolean; - BossZone: string; - RandomTimeSpawn: boolean; - Time: number; - TriggerId: string; - TriggerName: string; - Delay?: number; - Supports?: BossSupport[]; -} -export interface BossSupport { - BossEscortAmount: string; - BossEscortDifficult: string[]; - BossEscortType: string; -} -export interface BotLocationModifier { - AccuracySpeed: number; - DistToActivate: number; - DistToPersueAxemanCoef: number; - DistToSleep: number; - GainSight: number; - KhorovodChance: number; - MagnetPower: number; - MarksmanAccuratyCoef: number; - Scattering: number; - VisibleDistance: number; -} -export interface MinMaxBot { - WildSpawnType: string; - max: number; - min: number; -} -export interface Preview { - path: string; - rcid: string; -} -export interface Scene { - path: string; - rcid: string; -} -export interface SpawnPointParam { - BotZoneName: string; - Categories: string[]; - ColliderParams: ColliderParams; - DelayToCanSpawnSec: number; - Id: string; - Infiltration: string; - Position: xyz; - Rotation: number; - Sides: string[]; -} -export interface ColliderParams { - _parent: string; - _props: Props; -} -export interface Props { - Center: xyz; - Radius: number; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Exit { - Chance: number; - Count: number; - EntryPoints: string; - ExfiltrationTime: number; - ExfiltrationType: string; - Id: string; - MaxTime: number; - MinTime: number; - Name: string; - PassageRequirement: string; - PlayersCount: number; - RequirementTip: string; -} -export interface MaxItemCountInLocation { - TemplateId: string; - Value: number; -} -export interface Wave { - BotPreset: string; - BotSide: string; - SpawnPoints: string; - WildSpawnType: string; - isPlayers: boolean; - number: number; - slots_max: number; - slots_min: number; - time_max: number; - time_min: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts deleted file mode 100644 index 7f8d915..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ILocations } from "../../spt/server/ILocations"; -export interface ILocationsGenerateAllResponse { - locations: ILocations; - paths: Path[]; -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILooseLoot.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILooseLoot.d.ts deleted file mode 100644 index 14b795e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/ILooseLoot.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -export interface ILooseLoot { - spawnpointCount: SpawnpointCount; - spawnpointsForced: SpawnpointsForced[]; - spawnpoints: Spawnpoint[]; -} -export interface SpawnpointCount { - mean: number; - std: number; -} -export interface SpawnpointsForced { - locationId: string; - probability: number; - template: SpawnpointTemplate; -} -export interface SpawnpointTemplate { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: Item[]; -} -export interface Item { - _id: string; - _tpl?: string; -} -export interface Spawnpoint { - locationId: string; - probability: number; - template: SpawnpointTemplate; - itemDistribution: ItemDistribution[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IMetricsTableData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IMetricsTableData.d.ts deleted file mode 100644 index 873ef82..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IMetricsTableData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface IMetricsTableData { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IPmcData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IPmcData.d.ts deleted file mode 100644 index 5703e4b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/IPmcData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBotBase } from "./tables/IBotBase"; -export interface IPmcData extends IBotBase { -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts deleted file mode 100644 index 7303275..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface IBaseInteractionRequestData { - Action: string; - fromOwner?: OwnerInfo; - toOwner?: OwnerInfo; -} -export interface OwnerInfo { - id: string; - type: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotBase.d.ts deleted file mode 100644 index 0ee468e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotBase.d.ts +++ /dev/null @@ -1,353 +0,0 @@ -import { HideoutAreas } from "../../../enums/HideoutAreas"; -import { MemberCategory } from "../../../enums/MemberCategory"; -import { QuestStatus } from "../../../enums/QuestStatus"; -import { IRagfairOffer } from "../../ragfair/IRagfairOffer"; -import { Item, Upd } from "./IItem"; -import { IPmcDataRepeatableQuest } from "./IRepeatableQuests"; -export interface IBotBase { - _id: string; - aid: string; - savage?: string; - Info: Info; - Customization: Customization; - Health: Health; - Inventory: Inventory; - Skills: Skills; - Stats: Stats; - Encyclopedia: Record; - ConditionCounters: ConditionCounters; - BackendCounters: Record; - InsuredItems: InsuredItem[]; - Hideout: Hideout; - Quests: Quest[]; - TradersInfo: Record; - RagfairInfo: RagfairInfo; - RepeatableQuests: IPmcDataRepeatableQuest[]; - Bonuses: Bonus[]; - Notes: Notes; - CarExtractCounts: CarExtractCounts; - SurvivorClass: SurvivorClass; - WishList: string[]; -} -export interface Info { - EntryPoint: string; - Nickname: string; - LowerNickname: string; - Side: string; - Voice: string; - Level: number; - Experience: number; - RegistrationDate: number; - GameVersion: string; - AccountType: number; - MemberCategory: MemberCategory; - lockedMoveCommands: boolean; - SavageLockTime: number; - LastTimePlayedAsSavage: number; - Settings: Settings; - NicknameChangeDate: number; - NeedWipeOptions: any[]; - lastCompletedWipe: LastCompleted; - Bans: IBan[]; - BannedState: boolean; - BannedUntil: number; - IsStreamerModeAvailable: boolean; - lastCompletedEvent?: LastCompleted; -} -export interface Settings { - Role: string; - BotDifficulty: string; - Experience: number; - StandingForKill: number; - AggressorBonus: number; -} -export interface IBan { - type: BanType; - dateTime: number; -} -export declare enum BanType { - Chat = 0, - RagFair = 1, - Voip = 2, - Trading = 3, - Online = 4, - Friends = 5, - ChangeNickname = 6 -} -export interface Customization { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface Health { - Hydration: CurrentMax; - Energy: CurrentMax; - Temperature: CurrentMax; - BodyParts: BodyPartsHealth; - UpdateTime: number; -} -export interface BodyPartsHealth { - Head: BodyPartHealth; - Chest: BodyPartHealth; - Stomach: BodyPartHealth; - LeftArm: BodyPartHealth; - RightArm: BodyPartHealth; - LeftLeg: BodyPartHealth; - RightLeg: BodyPartHealth; -} -export interface BodyPartHealth { - Health: CurrentMax; - Effects?: Record; -} -export interface CurrentMax { - Current: number; - Maximum: number; -} -export interface Inventory { - items: Item[]; - equipment: string; - stash: string; - sortingTable: string; - questRaidItems: string; - questStashItems: string; - fastPanel: FastPanel; -} -export interface FastPanel { -} -export interface Skills { - Common: Common[]; - Mastering: Mastering[]; - Bonuses?: any[]; - Points: number; -} -export interface Common { - Id: string; - Progress: number; - PointsEarnedDuringSession?: number; - LastAccess?: number; - max?: number; - min?: number; -} -export interface Mastering { - Id: string; - Progress: number; - max?: number; - min?: number; -} -export interface Stats { - CarriedQuestItems: string[]; - Victims: Victim[]; - TotalSessionExperience: number; - LastSessionDate: number; - SessionCounters: SessionCounters; - OverallCounters: OverallCounters; - SessionExperienceMult?: number; - ExperienceBonusMult?: number; - Aggressor?: Aggressor; - DroppedItems?: IDroppedItem[]; - FoundInRaidItems?: FoundInRaidItem[]; - DamageHistory?: DamageHistory; - DeathCause?: DeathCause; - LastPlayerState?: LastPlayerState; - TotalInGameTime: number; - SurvivorClass?: string; -} -export interface IDroppedItem { - QuestId: string; - ItemId: string; - ZoneId: string; -} -export interface FoundInRaidItem { - QuestId: string; - ItemId: string; -} -export interface Victim { - AccountId: string; - ProfileId: string; - Name: string; - Side: string; - BodyPart: string; - Time: string; - Distance: number; - Level: number; - Weapon: string; - Role: string; -} -export interface SessionCounters { - Items: CounterKeyValue[]; -} -export interface OverallCounters { - Items: CounterKeyValue[]; -} -export interface CounterKeyValue { - Key: string[]; - Value: number; -} -export interface ConditionCounters { - Counters: Counter[]; -} -export interface Counter { - id: string; - value: number; - qid: string; -} -export interface Aggressor { - AccountId: string; - ProfileId: string; - MainProfileNickname: string; - Name: string; - Side: string; - BodyPart: string; - HeadSegment: string; - WeaponName: string; - Category: string; -} -export interface DamageHistory { - LethalDamagePart: string; - LethalDamage: LethalDamage; - BodyParts: BodyPartsDamageHistory; -} -export interface LethalDamage { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface BodyPartsDamageHistory { - Head: DamageStats[]; - Chest: DamageStats[]; - Stomach: DamageStats[]; - LeftArm: DamageStats[]; - RightArm: DamageStats[]; - LeftLeg: DamageStats[]; - RightLeg: DamageStats[]; - Common: DamageStats[]; -} -export interface DamageStats { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface DeathCause { - DamageType: string; - Side: string; - Role: string; - WeaponId: string; -} -export interface LastPlayerState { - Info: LastPlayerStateInfo; - Customization: Record; - Equipment: any; -} -export interface LastPlayerStateInfo { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; -} -export interface BackendCounter { - id: string; - qid?: string; - value: number; -} -export interface InsuredItem { - tid: string; - itemId: string; -} -export interface Hideout { - Production: Record; - Areas: HideoutArea[]; -} -export interface Productive { - Products: Product[]; - Progress?: number; - inProgress?: boolean; - StartTimestamp?: number; -} -export interface Production extends Productive { - RecipeId: string; - SkipTime: number; - ProductionTime: number; -} -export interface ScavCase extends Productive { - RecipeId: string; -} -export interface Product { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface HideoutArea { - type: HideoutAreas; - level: number; - active: boolean; - passiveBonusesEnabled: boolean; - completeTime: number; - constructing: boolean; - slots: HideoutSlot[]; - lastRecipe: string; -} -export interface HideoutSlot { - /** SPT specific value to keep track of what index this slot is (0,1,2,3 etc) */ - locationIndex: number; - item?: HideoutItem[]; -} -export interface HideoutItem { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface LastCompleted { - $oid: string; -} -export interface Notes { - Notes: Note[]; -} -export interface CarExtractCounts { -} -export declare enum SurvivorClass { - Unknown = 0, - Neutralizer = 1, - Marauder = 2, - Paramedic = 3, - Survivor = 4 -} -export interface Quest { - qid: string; - startTime: number; - status: QuestStatus; - statusTimers?: Record; - /** SPT specific property */ - completedConditions?: string[]; -} -export interface TraderInfo { - loyaltyLevel: number; - salesSum: number; - standing: number; - nextResupply: number; - unlocked: boolean; -} -export interface RagfairInfo { - rating: number; - isRatingGrowing: boolean; - offers: IRagfairOffer[]; -} -export interface Bonus { - type: string; - templateId?: string; - passive?: boolean; - production?: boolean; - visible?: boolean; - value?: number; - icon?: string; -} -export interface Note { - Time: number; - Text: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotCore.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotCore.d.ts deleted file mode 100644 index 16a782d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotCore.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -export interface IBotCore { - SAVAGE_KILL_DIST: number; - SOUND_DOOR_BREACH_METERS: number; - SOUND_DOOR_OPEN_METERS: number; - STEP_NOISE_DELTA: number; - JUMP_NOISE_DELTA: number; - GUNSHOT_SPREAD: number; - GUNSHOT_SPREAD_SILENCE: number; - BASE_WALK_SPEREAD2: number; - MOVE_SPEED_COEF_MAX: number; - SPEED_SERV_SOUND_COEF_A: number; - SPEED_SERV_SOUND_COEF_B: number; - G: number; - STAY_COEF: number; - SIT_COEF: number; - LAY_COEF: number; - MAX_ITERATIONS: number; - START_DIST_TO_COV: number; - MAX_DIST_TO_COV: number; - STAY_HEIGHT: number; - CLOSE_POINTS: number; - COUNT_TURNS: number; - SIMPLE_POINT_LIFE_TIME_SEC: number; - DANGER_POINT_LIFE_TIME_SEC: number; - DANGER_POWER: number; - COVER_DIST_CLOSE: number; - GOOD_DIST_TO_POINT: number; - COVER_TOOFAR_FROM_BOSS: number; - COVER_TOOFAR_FROM_BOSS_SQRT: number; - MAX_Y_DIFF_TO_PROTECT: number; - FLARE_POWER: number; - MOVE_COEF: number; - PRONE_POSE: number; - LOWER_POSE: number; - MAX_POSE: number; - FLARE_TIME: number; - MAX_REQUESTS__PER_GROUP: number; - UPDATE_GOAL_TIMER_SEC: number; - DIST_NOT_TO_GROUP: number; - DIST_NOT_TO_GROUP_SQR: number; - LAST_SEEN_POS_LIFETIME: number; - DELTA_GRENADE_START_TIME: number; - DELTA_GRENADE_END_TIME: number; - DELTA_GRENADE_RUN_DIST: number; - DELTA_GRENADE_RUN_DIST_SQRT: number; - PATROL_MIN_LIGHT_DIST: number; - HOLD_MIN_LIGHT_DIST: number; - STANDART_BOT_PAUSE_DOOR: number; - ARMOR_CLASS_COEF: number; - SHOTGUN_POWER: number; - RIFLE_POWER: number; - PISTOL_POWER: number; - SMG_POWER: number; - SNIPE_POWER: number; - GESTUS_PERIOD_SEC: number; - GESTUS_AIMING_DELAY: number; - GESTUS_REQUEST_LIFETIME: number; - GESTUS_FIRST_STAGE_MAX_TIME: number; - GESTUS_SECOND_STAGE_MAX_TIME: number; - GESTUS_MAX_ANSWERS: number; - GESTUS_FUCK_TO_SHOOT: number; - GESTUS_DIST_ANSWERS: number; - GESTUS_DIST_ANSWERS_SQRT: number; - GESTUS_ANYWAY_CHANCE: number; - TALK_DELAY: number; - CAN_SHOOT_TO_HEAD: boolean; - CAN_TILT: boolean; - TILT_CHANCE: number; - MIN_BLOCK_DIST: number; - MIN_BLOCK_TIME: number; - COVER_SECONDS_AFTER_LOSE_VISION: number; - MIN_ARG_COEF: number; - MAX_ARG_COEF: number; - DEAD_AGR_DIST: number; - MAX_DANGER_CARE_DIST_SQRT: number; - MAX_DANGER_CARE_DIST: number; - MIN_MAX_PERSON_SEARCH: number; - PERCENT_PERSON_SEARCH: number; - LOOK_ANYSIDE_BY_WALL_SEC_OF_ENEMY: number; - CLOSE_TO_WALL_ROTATE_BY_WALL_SQRT: number; - SHOOT_TO_CHANGE_RND_PART_MIN: number; - SHOOT_TO_CHANGE_RND_PART_MAX: number; - SHOOT_TO_CHANGE_RND_PART_DELTA: number; - FORMUL_COEF_DELTA_DIST: number; - FORMUL_COEF_DELTA_SHOOT: number; - FORMUL_COEF_DELTA_FRIEND_COVER: number; - SUSPETION_POINT_DIST_CHECK: number; - MAX_BASE_REQUESTS_PER_PLAYER: number; - MAX_HOLD_REQUESTS_PER_PLAYER: number; - MAX_GO_TO_REQUESTS_PER_PLAYER: number; - MAX_COME_WITH_ME_REQUESTS_PER_PLAYER: number; - CORE_POINT_MAX_VALUE: number; - CORE_POINTS_MAX: number; - CORE_POINTS_MIN: number; - BORN_POISTS_FREE_ONLY_FAREST_BOT: boolean; - BORN_POINSTS_FREE_ONLY_FAREST_PLAYER: boolean; - SCAV_GROUPS_TOGETHER: boolean; - LAY_DOWN_ANG_SHOOT: number; - HOLD_REQUEST_TIME_SEC: number; - TRIGGERS_DOWN_TO_RUN_WHEN_MOVE: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING_OTHER_ENEMIS: number; - MIN_DIST_TO_STOP_RUN: number; - JUMP_SPREAD_DIST: number; - LOOK_TIMES_TO_KILL: number; - COME_INSIDE_TIMES: number; - TOTAL_TIME_KILL: number; - TOTAL_TIME_KILL_AFTER_WARN: number; - MOVING_AIM_COEF: number; - VERTICAL_DIST_TO_IGNORE_SOUND: number; - DEFENCE_LEVEL_SHIFT: number; - MIN_DIST_CLOSE_DEF: number; - USE_ID_PRIOR_WHO_GO: boolean; - SMOKE_GRENADE_RADIUS_COEF: number; - GRENADE_PRECISION: number; - MAX_WARNS_BEFORE_KILL: number; - CARE_ENEMY_ONLY_TIME: number; - MIDDLE_POINT_COEF: number; - MAIN_TACTIC_ONLY_ATTACK: boolean; - LAST_DAMAGE_ACTIVE: number; - SHALL_DIE_IF_NOT_INITED: boolean; - CHECK_BOT_INIT_TIME_SEC: number; - WEAPON_ROOT_Y_OFFSET: number; - DELTA_SUPRESS_DISTANCE_SQRT: number; - DELTA_SUPRESS_DISTANCE: number; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - WAVE_ONLY_AS_ONLINE: boolean; - LOCAL_BOTS_COUNT: number; - AXE_MAN_KILLS_END: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotType.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotType.d.ts deleted file mode 100644 index c1fe579..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IBotType.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { MinMax } from "../../../common/MinMax"; -import { Skills } from "./IBotBase"; -export interface IBotType { - appearance: Appearance; - chances: Chances; - difficulty: Difficulties; - experience: Experience; - firstName: string[]; - generation: Generation; - health: Health; - inventory: Inventory; - lastName: string[]; - skills: Skills; -} -export interface Appearance { - body: string[]; - feet: string[]; - hands: string[]; - head: string[]; - voice: string[]; -} -export interface Chances { - equipment: EquipmentChances; - mods: ModsChances; -} -export interface EquipmentChances { - ArmBand: number; - ArmorVest: number; - Backpack: number; - Earpiece: number; - Eyewear: number; - FaceCover: number; - FirstPrimaryWeapon: number; - Headwear: number; - Holster: number; - Pockets: number; - Scabbard: number; - SecondPrimaryWeapon: number; - SecuredContainer: number; - TacticalVest: number; -} -export interface ModsChances { - mod_charge: number; - mod_equipment: number; - mod_equipment_000: number; - mod_equipment_001: number; - mod_equipment_002: number; - mod_flashlight: number; - mod_foregrip: number; - mod_launcher: number; - mod_magazine: number; - mod_mount: number; - mod_mount_000: number; - mod_mount_001: number; - mod_muzzle: number; - mod_nvg: number; - mod_pistol_grip: number; - mod_reciever: number; - mod_scope: number; - mod_sight_front: number; - mod_sight_rear: number; - mod_stock: number; - mod_stock_000: number; - mod_stock_akms: number; - mod_tactical: number; - mod_tactical_000: number; - mod_tactical_001: number; - mod_tactical_002: number; - mod_tactical_003: number; -} -export interface Difficulties { - easy: Difficulty; - normal: Difficulty; - hard: Difficulty; - impossible: Difficulty; -} -export interface Difficulty { - Aiming: Record; - Boss: Record; - Change: Record; - Core: Record; - Cover: Record; - Grenade: Record; - Hearing: Record; - Lay: Record; - Look: Record; - Mind: Record; - Move: Record; - Patrol: Record; - Scattering: Record; - Shoot: Record; -} -export interface Experience { - aggressorBonus: number; - level: MinMax; - reward: MinMax; - standingForKill: number; -} -export interface Generation { - items: ItemMinMax; -} -export interface ItemMinMax { - grenades: MinMax; - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - specialItems: MinMax; -} -export interface Health { - BodyParts: BodyPart[]; - Energy: MinMax; - Hydration: MinMax; - Temperature: MinMax; -} -export interface BodyPart { - Chest: MinMax; - Head: MinMax; - LeftArm: MinMax; - LeftLeg: MinMax; - RightArm: MinMax; - RightLeg: MinMax; - Stomach: MinMax; -} -export interface Inventory { - equipment: Equipment; - Ammo: Record>; - items: Items; - mods: Mods; -} -export interface Equipment { - ArmBand: Record; - ArmorVest: Record; - Backpack: Record; - Earpiece: Record; - Eyewear: Record; - FaceCover: Record; - FirstPrimaryWeapon: Record; - Headwear: Record; - Holster: Record; - Pockets: Record; - Scabbard: Record; - SecondPrimaryWeapon: Record; - SecuredContainer: Record; - TacticalVest: Record; -} -export interface Items { - Backpack: string[]; - Pockets: string[]; - SecuredContainer: string[]; - SpecialLoot: string[]; - TacticalVest: string[]; -} -export declare type Mods = Record>; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ICustomizationItem.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ICustomizationItem.d.ts deleted file mode 100644 index 8bfeece..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ICustomizationItem.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export interface ICustomizationItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name: string; - ShortName: string; - Description: string; - Side: string[]; - BodyPart: string; - AvailableAsDefault?: boolean; - Body: string; - Hands: string; - Feet: string; - Prefab: Prefab; - WatchPrefab: Prefab; - IntegratedArmorVest: boolean; - WatchPosition: Xyz; - WatchRotation: Xyz; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Xyz { - x: number; - y: number; - z: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IHandbookBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IHandbookBase.d.ts deleted file mode 100644 index 7d7db07..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IHandbookBase.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface IHandbookBase { - Categories: Category[]; - Items: HandbookItem[]; -} -export interface Category { - Id: string; - ParentId?: string; - Icon: string; - Color: string; - Order: string; -} -export interface HandbookItem { - Id: string; - ParentId: string; - Price: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IItem.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IItem.d.ts deleted file mode 100644 index 2dd2c03..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IItem.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -export interface Item { - _id: string; - _tpl: string; - parentId?: string; - slotId?: string; - location?: Location | number; - upd?: Upd; -} -export interface Upd { - OriginalStackObjectsCount?: number; - Togglable?: Togglable; - Map?: Map; - Tag?: Tag; - sptPresetId?: string; - FaceShield?: FaceShield; - StackObjectsCount?: number; - UnlimitedCount?: boolean; - Repairable?: Repairable; - FireMode?: FireMode; - SpawnedInSession?: boolean; - Light?: Light; - Key?: Key; - Resource?: Resource; - Sight?: Sight; - MedKit?: MedKit; - FoodDrink?: FoodDrink; - Dogtag?: Dogtag; - BuyRestrictionMax?: number; - BuyRestrictionCurrent?: number; - Foldable?: Foldable; - SideEffect?: SideEffect; - RepairKit?: RepairKit; -} -export interface Togglable { - On: boolean; -} -export interface Map { - Markers: MapMarker[]; -} -export interface MapMarker { - X: number; - Y: number; -} -export interface Tag { - Color: number; - Name: string; -} -export interface FaceShield { - Hits: number; -} -export interface Repairable { - Durability: number; - MaxDurability: number; -} -export interface MedKit { - HpResource: number; -} -export interface Sight { - ScopesCurrentCalibPointIndexes: number[]; - ScopesSelectedModes: number[]; - SelectedScope: number; -} -export interface Foldable { - Folded: boolean; -} -export interface FireMode { - FireMode: string; -} -export interface FoodDrink { - HpPercent: number; -} -export interface Key { - NumberOfUsages: number; -} -export interface Resource { - Value: number; - UnitsConsumed: number; -} -export interface Light { - IsActive: boolean; - SelectedMode: number; -} -export interface Dogtag { - AccountId: string; - ProfileId: string; - Nickname: string; - Side: string; - Level: number; - Time: string; - Status: string; - KillerAccountId: string; - KillerProfileId: string; - KillerName: string; - WeaponName: string; -} -export interface Location { - x: number; - y: number; - r: string | number; - isSearched?: boolean; - rotation?: string; -} -export interface SideEffect { - Value: number; -} -export interface RepairKit { - Resource: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ILocationsBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ILocationsBase.d.ts deleted file mode 100644 index 2c96af3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ILocationsBase.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface ILocationsBase { - locations: Locations; - paths: Path[]; -} -export interface Locations { -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ILootBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ILootBase.d.ts deleted file mode 100644 index e4baac5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ILootBase.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Item } from "./IItem"; -export interface ILootBase { - staticAmmo: Record; - staticContainers: Record; - staticLoot: Record; -} -export interface IStaticAmmoDetails { - tpl: string; - relativeProbability: number; -} -export interface IStaticContainerDetails { - staticWeapons: IStaticWeaponProps[]; - staticContainers: IStaticContainerProps[]; - staticForced: IStaticForcedProps[]; -} -export interface IStaticWeaponProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: string; - Items: Item[]; -} -export interface IStaticContainerProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: StaticItem[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StaticItem { - _id: any; - _tpl: string; -} -export interface IStaticForcedProps { - containerId: string; - itemTpl: string; -} -export interface IStaticLootDetails { - itemcountDistribution: ItemCountDistribution[]; - itemDistribution: ItemDistribution[]; -} -export interface ItemCountDistribution { - count: number; - relativeProbability: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IMatch.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IMatch.d.ts deleted file mode 100644 index c30cb48..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IMatch.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IMatch { - metrics: Metrics; -} -export interface Metrics { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IProfileTemplate.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IProfileTemplate.d.ts deleted file mode 100644 index fbcd81a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IProfileTemplate.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Dialogue, WeaponBuild } from "../../profile/IAkiProfile"; -import { IPmcData } from "../IPmcData"; -export interface IProfileTemplates { - Standard: IProfileSides; - "Left Behind": IProfileSides; - "Prepare To Escape": IProfileSides; - "Edge Of Darkness": IProfileSides; -} -export interface IProfileSides { - usec: TemplateSide; - bear: TemplateSide; -} -export interface TemplateSide { - character: IPmcData; - suits: string[]; - dialogues: Record; - weaponbuilds: WeaponBuild[]; - trader: ProfileTraderTemplate; -} -export interface ProfileTraderTemplate { - initialLoyaltyLevel: number; - initialStanding: number; - initialSalesSum: number; - jaegerUnlocked: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IQuest.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IQuest.d.ts deleted file mode 100644 index a349a6d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IQuest.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { QuestRewardType } from "../../../enums/QuestRewardType"; -import { Item } from "./IItem"; -export interface IQuest { - QuestName: string; - _id: string; - canShowNotificationsInGame: boolean; - conditions: Conditions; - description: string; - failMessageText: string; - name: string; - note: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - startedMessageText: string; - successMessageText: string; - templateId: string; - rewards: Rewards; - status: string; - KeyQuest: boolean; - changeQuestMessageText: string; - side: string; -} -export interface Conditions { - Started: AvailableForConditions[]; - AvailableForFinish: AvailableForConditions[]; - AvailableForStart: AvailableForConditions[]; - Success: AvailableForConditions[]; - Fail: AvailableForConditions[]; -} -export interface AvailableForConditions { - _parent: string; - _props: AvailableForProps; - dynamicLocale: boolean; -} -export interface AvailableForProps { - id: string; - index: number; - parentId: string; - dynamicLocale: boolean; - value?: number; - compareMethod?: string; - visibilityConditions?: VisibilityCondition[]; - target?: string | string[]; - status?: number[]; - onlyFoundInRaid?: boolean; - oneSessionOnly?: boolean; - doNotResetIfCounterCompleted?: boolean; - dogtagLevel?: number; - maxDurability?: number; - minDurability?: number; - counter?: AvailableForCounter; - plantTime?: number; - zoneId?: string; - type?: boolean; - countInRaid?: boolean; -} -export interface AvailableForCounter { - id: string; - conditions: CounterCondition[]; -} -export interface CounterCondition { - _parent: string; - _props: CounterProps; -} -export interface CounterProps { - id: string; - target: string[] | string; - compareMethod?: string; - value?: string; - weapon?: string[]; - equipmentInclusive?: string[][]; - weaponModsInclusive?: string[][]; - status?: string[]; - bodyPart?: string[]; - daytime?: DaytimeCounter; -} -export interface DaytimeCounter { - from: number; - to: number; -} -export interface VisibilityCondition { - id: string; - value: number; - dynamicLocale: boolean; - oneSessionOnly: boolean; -} -export interface Rewards { - AvailableForStart: Reward[]; - AvailableForFinish: Reward[]; - Started: Reward[]; - Success: Reward[]; - Fail: Reward[]; - FailRestartable: Reward[]; - Expired: Reward[]; -} -export interface Reward { - value?: string | number; - id: string; - type: QuestRewardType; - index: number; - target?: string; - items?: Item[]; - loyaltyLevel?: number; - traderId?: string; - unknown?: boolean; - findInRaid?: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IRepeatableQuests.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IRepeatableQuests.d.ts deleted file mode 100644 index e23ec73..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/IRepeatableQuests.d.ts +++ /dev/null @@ -1,219 +0,0 @@ -import { Item } from "./IItem"; -export interface IReward { - index: number; - type: string; - value: number; - target?: string; - items?: Item[]; -} -export interface IRepeatableQuestDatabase { - templates: ITemplates; - rewards: IRewardOptions; - data: IOptions; - samples: ISampleQuests[]; -} -export interface ITemplates { - Elimination: IRepeatableQuest; - Completion: IRepeatableQuest; - Exploration: IRepeatableQuest; -} -export interface IPmcDataRepeatableQuest { - id?: string; - name: string; - activeQuests: IRepeatableQuest[]; - inactiveQuests: IRepeatableQuest[]; - endTime: number; - changeRequirement: TChangeRequirementRecord; -} -export declare type TChangeRequirementRecord = Record; -export interface IChangeRequirement { - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IChangeCost { - templateId: string; - count: number; -} -export interface IRepeatableQuest { - _id: any; - traderId: string; - location: any; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - changeQuestMessageText: string; - templateId: string; - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IRewards { - Started: IReward[]; - Success: IReward[]; - Fail: IReward[]; -} -export interface IConditions { - AvailableForStart: any[]; - AvailableForFinish: IAvailableFor[]; - Fail: any[]; -} -export interface IAvailableFor { - _props: IAvailableForProps; - _parent: string; - dynamicLocale: boolean; -} -export interface IAvailableForProps { - id: string; - parentId: string; - dynamicLocale: boolean; - index: number; - visibilityConditions: IVisibilityCondition[]; - value: number; -} -export interface IVisibilityCondition { - id: string; - oneSessionOnly: boolean; - value: number; - index: number; - dynamicLocale: boolean; -} -export interface IAvailableForPropsCounter extends IAvailableForProps { - type: string; - oneSessionOnly: boolean; - doNotResetIfCounterCompleted: boolean; - counter: ICounter; -} -export interface ICounter { - id: string; - conditions: ICondition[]; -} -export interface ICondition { - _props: IConditionProps; - _parent: string; -} -export interface IConditionProps { - id: string; - dynamicLocale: boolean; -} -export interface IElimination extends IRepeatableQuest { - conditions: IEliminationConditions; -} -export interface IEliminationConditions extends IConditions { - AvailableForFinish: IEliminationAvailableFor[]; -} -export interface IEliminationAvailableFor extends IAvailableFor { - _props: IEliminationAvailableForProps; -} -export interface IEliminationAvailableForProps extends IAvailableForPropsCounter { - counter: IEliminationCounter; -} -export interface IEliminationCounter extends ICounter { - conditions: IEliminationCondition[]; -} -export interface IEliminationCondition extends ICondition { - _props: ILocationConditionProps | IKillConditionProps; -} -export interface IExploration extends IRepeatableQuest { - conditions: IExplorationConditions; -} -export interface IExplorationConditions extends IConditions { - AvailableForFinish: IExplorationAvailableFor[]; -} -export interface IExplorationAvailableFor extends IAvailableFor { - _props: IExplorationAvailableForProps; -} -export interface IExplorationAvailableForProps extends IAvailableForPropsCounter { - counter: IExplorationCounter; -} -export interface IExplorationCounter extends ICounter { - conditions: IExplorationCondition[]; -} -export interface IExplorationCondition extends ICondition { - _props: ILocationConditionProps | IExitStatusConditionProps | IExitNameConditionProps; -} -export interface ICompletion extends IRepeatableQuest { - conditions: ICompletionConditions; -} -export interface ICompletionConditions extends IConditions { - AvailableForFinish: ICompletionAvailableFor[]; -} -export interface ICompletionAvailableFor extends IAvailableFor { - _props: ICompletionAvailableForProps; -} -export interface ICompletionAvailableForProps extends IAvailableForProps { - target: string[]; - minDurability: number; - maxDurability: number; - dogtagLevel: number; - onlyFoundInRaid: boolean; -} -export interface ILocationConditionProps extends IConditionProps { - target: string[]; -} -export interface IKillConditionProps extends IConditionProps { - target: string; - value: number; - savageRole?: string[]; - bodyPart?: string[]; - distance?: IDistanceCheck; -} -export interface IDistanceCheck { - compareMethod: string; - value: number; -} -export interface IExitStatusConditionProps extends IConditionProps { - status: string[]; -} -export interface IExitNameConditionProps extends IConditionProps { - exitName: string; -} -export interface IRewardOptions { - itemsBlacklist: string[]; -} -export interface IOptions { - Completion: ICompletionFilter; -} -export interface ICompletionFilter { - itemsBlacklist: ItemsBlacklist[]; - itemsWhitelist: ItemsWhitelist[]; -} -export interface ItemsBlacklist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ItemsWhitelist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ISampleQuests { - _id: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - templateId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ITemplateItem.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ITemplateItem.d.ts deleted file mode 100644 index 23a1a14..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ITemplateItem.d.ts +++ /dev/null @@ -1,455 +0,0 @@ -export interface ITemplateItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name?: string; - ShortName?: string; - Description?: string; - Weight?: number; - BackgroundColor?: string; - Width?: number; - Height?: number; - StackMaxSize?: number; - Rarity?: string; - SpawnChance?: number; - CreditsPrice?: number; - ItemSound?: string; - Prefab?: Prefab; - UsePrefab?: Prefab; - StackObjectsCount?: number; - NotShownInSlot?: boolean; - ExaminedByDefault?: boolean; - ExamineTime?: number; - IsUndiscardable?: boolean; - IsUnsaleable?: boolean; - IsUnbuyable?: boolean; - IsUngivable?: boolean; - IsLockedafterEquip?: boolean; - QuestItem?: boolean; - LootExperience?: number; - ExamineExperience?: number; - HideEntrails?: boolean; - RepairCost?: number; - RepairSpeed?: number; - ExtraSizeLeft?: number; - ExtraSizeRight?: number; - ExtraSizeUp?: number; - ExtraSizeDown?: number; - ExtraSizeForceAdd?: boolean; - MergesWithChildren?: boolean; - CanSellOnRagfair?: boolean; - CanRequireOnRagfair?: boolean; - ConflictingItems?: string[]; - Unlootable?: boolean; - UnlootableFromSlot?: string; - UnlootableFromSide?: string[]; - AnimationVariantsNumber?: number; - DiscardingBlock?: boolean; - DropSoundType?: string; - RagFairCommissionModifier?: number; - IsAlwaysAvailableForInsurance?: boolean; - DiscardLimit?: number; - MaxResource?: number; - Resource?: number; - DogTagQualities?: boolean; - Grids?: Grid[]; - Slots?: Slot[]; - CanPutIntoDuringTheRaid?: boolean; - CantRemoveFromSlotsDuringRaid?: string[]; - KeyIds?: string[]; - TagColor?: number; - TagName?: string; - Durability?: number; - Accuracy?: number; - Recoil?: number; - Loudness?: number; - EffectiveDistance?: number; - Ergonomics?: number; - Velocity?: number; - RaidModdable?: boolean; - ToolModdable?: boolean; - BlocksFolding?: boolean; - BlocksCollapsible?: boolean; - IsAnimated?: boolean; - HasShoulderContact?: boolean; - SightingRange?: number; - DoubleActionAccuracyPenaltyMult?: number; - ModesCount: any; - DurabilityBurnModificator?: number; - HeatFactor?: number; - CoolFactor?: number; - muzzleModType?: string; - CustomAimPlane?: string; - sightModType?: string; - aimingSensitivity?: number; - SightModesCount?: number; - OpticCalibrationDistances?: number[]; - ScopesCount?: number; - AimSensitivity?: number | number[][]; - Zooms?: number[][]; - CalibrationDistances?: number[][]; - Intensity?: number; - Mask?: string; - MaskSize?: number; - NoiseIntensity?: number; - NoiseScale?: number; - Color?: Color; - DiffuseIntensity?: number; - HasHinge?: boolean; - RampPalette?: string; - DepthFade?: number; - RoughnessCoef?: number; - SpecularCoef?: number; - MainTexColorCoef?: number; - MinimumTemperatureValue?: number; - RampShift?: number; - HeatMin?: number; - ColdMax?: number; - IsNoisy?: boolean; - IsFpsStuck?: boolean; - IsGlitch?: boolean; - IsMotionBlurred?: boolean; - IsPixelated?: boolean; - PixelationBlockCount?: number; - ShiftsAimCamera?: number; - magAnimationIndex?: number; - Cartridges?: Slot[]; - CanFast?: boolean; - CanHit?: boolean; - CanAdmin?: boolean; - LoadUnloadModifier?: number; - CheckTimeModifier?: number; - CheckOverride?: number; - ReloadMagType?: string; - VisibleAmmoRangesString?: string; - MalfunctionChance?: number; - IsShoulderContact?: boolean; - Foldable?: boolean; - Retractable?: boolean; - SizeReduceRight?: number; - CenterOfImpact?: number; - ShotgunDispersion?: number; - IsSilencer?: boolean; - DeviationCurve?: number; - DeviationMax?: number; - SearchSound?: string; - BlocksArmorVest?: boolean; - speedPenaltyPercent?: number; - GridLayoutName?: string; - SpawnFilter?: any[]; - containType?: any[]; - sizeWidth?: number; - sizeHeight?: number; - isSecured?: boolean; - spawnTypes?: string; - lootFilter?: any[]; - spawnRarity?: string; - minCountSpawn?: number; - maxCountSpawn?: number; - openedByKeyID?: any[]; - RigLayoutName?: string; - MaxDurability?: number; - armorZone?: string[]; - armorClass: any; - mousePenalty?: number; - weaponErgonomicPenalty?: number; - BluntThroughput?: number; - ArmorMaterial?: string; - weapClass?: string; - weapUseType?: string; - ammoCaliber?: string; - OperatingResource?: number; - RepairComplexity?: number; - durabSpawnMin?: number; - durabSpawnMax?: number; - isFastReload?: boolean; - RecoilForceUp?: number; - RecoilForceBack?: number; - Convergence?: number; - RecoilAngle?: number; - weapFireType?: string[]; - RecolDispersion?: number; - SingleFireRate?: number; - CanQueueSecondShot?: boolean; - bFirerate?: number; - bEffDist?: number; - bHearDist?: number; - isChamberLoad?: boolean; - chamberAmmoCount?: number; - isBoltCatch?: boolean; - defMagType?: string; - defAmmo?: string; - AdjustCollimatorsToTrajectory?: boolean; - shotgunDispersion?: number; - Chambers?: Slot[]; - CameraRecoil?: number; - CameraSnap?: number; - ReloadMode?: string; - AimPlane?: number; - TacticalReloadStiffnes?: Xyz; - TacticalReloadFixation?: number; - RecoilCenter?: Xyz; - RotationCenter?: Xyz; - RotationCenterNoStock?: Xyz; - FoldedSlot?: string; - CompactHandling?: boolean; - MinRepairDegradation?: number; - MaxRepairDegradation?: number; - IronSightRange?: number; - IsFlareGun?: boolean; - IsGrenadeLauncher?: boolean; - IsOneoff?: boolean; - MustBoltBeOpennedForExternalReload?: boolean; - MustBoltBeOpennedForInternalReload?: boolean; - BoltAction?: boolean; - HipAccuracyRestorationDelay?: number; - HipAccuracyRestorationSpeed?: number; - HipInnaccuracyGain?: number; - ManualBoltCatch?: boolean; - BurstShotsCount?: number; - BaseMalfunctionChance?: number; - AllowJam?: boolean; - AllowFeed?: boolean; - AllowMisfire?: boolean; - AllowSlide?: boolean; - DurabilityBurnRatio?: number; - HeatFactorGun?: number; - CoolFactorGun?: number; - CoolFactorGunMods?: number; - HeatFactorByShot?: number; - AllowOverheat?: boolean; - DoubleActionAccuracyPenalty?: number; - RecoilPosZMult?: number; - MinRepairKitDegradation?: number; - MaxRepairKitDegradation?: number; - BlocksEarpiece?: boolean; - BlocksEyewear?: boolean; - BlocksHeadwear?: boolean; - BlocksFaceCover?: boolean; - Indestructibility?: number; - headSegments?: string[]; - FaceShieldComponent?: boolean; - FaceShieldMask?: string; - MaterialType?: string; - RicochetParams?: Xyz; - DeafStrength?: string; - BlindnessProtection?: number; - Distortion?: number; - CompressorTreshold?: number; - CompressorAttack?: number; - CompressorRelease?: number; - CompressorGain?: number; - CutoffFreq?: number; - Resonance?: number; - CompressorVolume?: number; - AmbientVolume?: number; - DryVolume?: number; - foodUseTime?: number; - foodEffectType?: string; - StimulatorBuffs?: string; - effects_health: any; - effects_damage: any; - MaximumNumberOfUsage?: number; - knifeHitDelay?: number; - knifeHitSlashRate?: number; - knifeHitStabRate?: number; - knifeHitRadius?: number; - knifeHitSlashDam?: number; - knifeHitStabDam?: number; - knifeDurab?: number; - PrimaryDistance?: number; - SecondryDistance?: number; - SlashPenetration?: number; - StabPenetration?: number; - PrimaryConsumption?: number; - SecondryConsumption?: number; - DeflectionConsumption?: number; - AppliedTrunkRotation?: Xyz; - AppliedHeadRotation?: Xyz; - DisplayOnModel?: boolean; - AdditionalAnimationLayer?: number; - StaminaBurnRate?: number; - ColliderScaleMultiplier?: Xyz; - ConfigPathStr?: string; - MaxMarkersCount?: number; - scaleMin?: number; - scaleMax?: number; - medUseTime?: number; - medEffectType?: string; - MaxHpResource?: number; - hpResourceRate?: number; - apResource?: number; - krResource?: number; - MaxOpticZoom?: number; - MaxRepairResource?: number; - TargetItemFilter?: string[]; - RepairQuality?: number; - RepairType?: string; - StackMinRandom?: number; - StackMaxRandom?: number; - ammoType?: string; - InitialSpeed?: number; - BallisticCoeficient?: number; - BulletMassGram?: number; - BulletDiameterMilimeters?: number; - Damage?: number; - ammoAccr?: number; - ammoRec?: number; - ammoDist?: number; - buckshotBullets?: number; - PenetrationPower?: number; - PenetrationPowerDiviation?: number; - ammoHear?: number; - ammoSfx?: string; - MisfireChance?: number; - MinFragmentsCount?: number; - MaxFragmentsCount?: number; - ammoShiftChance?: number; - casingName?: string; - casingEjectPower?: number; - casingMass?: number; - casingSounds?: string; - ProjectileCount?: number; - PenetrationChance?: number; - RicochetChance?: number; - FragmentationChance?: number; - Deterioration?: number; - SpeedRetardation?: number; - Tracer?: boolean; - TracerColor?: string; - TracerDistance?: number; - ArmorDamage?: number; - Caliber?: string; - StaminaBurnPerDamage?: number; - HeavyBleedingDelta?: number; - LightBleedingDelta?: number; - ShowBullet?: boolean; - HasGrenaderComponent?: boolean; - FuzeArmTimeSec?: number; - ExplosionStrength?: number; - MinExplosionDistance?: number; - MaxExplosionDistance?: number; - FragmentsCount?: number; - FragmentType?: string; - ShowHitEffectOnExplode?: boolean; - ExplosionType?: string; - AmmoLifeTimeSec?: number; - Contusion?: Xyz; - ArmorDistanceDistanceDamage?: Xyz; - Blindness?: Xyz; - IsLightAndSoundShot?: boolean; - LightAndSoundShotAngle?: number; - LightAndSoundShotSelfContusionTime?: number; - LightAndSoundShotSelfContusionStrength?: number; - MalfMisfireChance?: number; - MalfFeedChance?: number; - StackSlots?: StackSlot[]; - type?: string; - eqMin?: number; - eqMax?: number; - rate?: number; - ThrowType?: string; - ExplDelay?: number; - Strength?: number; - ContusionDistance?: number; - throwDamMax?: number; - explDelay?: number; - EmitTime?: number; - CanBeHiddenDuringThrow?: boolean; - MinTimeToContactExplode?: number; - ExplosionEffectType?: string; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Grid { - _name: string; - _id: string; - _parent: string; - _props: GridProps; - _proto: string; -} -export interface GridProps { - filters: GridFilter[]; - cellsH: number; - cellsV: number; - minCount: number; - maxCount: number; - maxWeight: number; - isSortingTable: boolean; -} -export interface GridFilter { - Filter: string[]; - ExcludedFilter: string[]; -} -export interface Slot { - _name: string; - _id: string; - _parent: string; - _props: SlotProps; - _max_count?: number; - _required: boolean; - _mergeSlotWithChildren: boolean; - _proto: string; -} -export interface SlotProps { - filters: SlotFilter[]; -} -export interface SlotFilter { - Shift?: number; - Filter: string[]; - AnimationIndex?: number; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StackSlot { - _name?: string; - _id: string; - _parent: string; - _max_count: number; - _props: StackSlotProps; - _proto: string; - upd: any; -} -export interface StackSlotProps { - filters: SlotFilter[]; -} -export interface EffectsHealth { - Energy: EffectsHealthProps; - Hydration: EffectsHealthProps; -} -export interface EffectsHealthProps { - value: number; -} -export interface EffectsDamage { - Pain: EffectDamageProps; - LightBleeding: EffectDamageProps; - HeavyBleeding: EffectDamageProps; - Contusion: EffectDamageProps; - RadExposure: EffectDamageProps; - Fracture: EffectDamageProps; - DestroyedPart: EffectDamageProps; -} -export interface EffectDamageProps { - delay: number; - duration: number; - fadeOut: number; - cost?: number; - healthPenaltyMin?: number; - healthPenaltyMax?: number; -} -export interface Color { - r: number; - g: number; - b: number; - a: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ITrader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ITrader.d.ts deleted file mode 100644 index f0fe2b5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/common/tables/ITrader.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Item } from "./IItem"; -export interface ITrader { - assort: ITraderAssort; - base: ITraderBase; - dialogue?: Record; - questassort: Record>; - suits?: ISuit[]; -} -export interface ITraderBase { - refreshAssort: boolean; - _id: string; - avatar: string; - balance_dol: number; - balance_eur: number; - balance_rub: number; - buyer_up: boolean; - currency: string; - customization_seller: boolean; - discount: number; - discount_end: number; - gridHeight: number; - insurance: Insurance; - location: string; - loyaltyLevels: LoyaltyLevel[]; - medic: boolean; - name: string; - nextResupply: number; - nickname: string; - repair: Repair; - sell_category: string[]; - surname: string; - unlockedByDefault: boolean; -} -export interface Insurance { - availability: boolean; - excluded_category: string[]; - max_return_hour: number; - max_storage_time: number; - min_payment: number; - min_return_hour: number; -} -export interface LoyaltyLevel { - buy_price_coef: number; - exchange_price_coef: number; - heal_price_coef: number; - insurance_price_coef: number; - minLevel: number; - minSalesSum: number; - minStanding: number; - repair_price_coef: number; -} -export interface Repair { - availability: boolean; - currency: string; - currency_coefficient: number; - excluded_category: string[]; - excluded_id_list: any[]; - quality: string; -} -export interface ITraderAssort { - nextResupply?: number; - items: Item[]; - barter_scheme: Record; - loyal_level_items: Record; -} -export interface IBarterScheme { - count: number; - _tpl: string; - onlyFunctional?: boolean; -} -export interface ISuit { - _id: string; - tid: string; - suiteId: string; - isActive: boolean; - requirements: Requirements; -} -export interface Requirements { - loyaltyLevel: number; - profileLevel: number; - standing: number; - skillRequirements: string[]; - questRequirements: string[]; - itemRequirements: ItemRequirement[]; -} -export interface ItemRequirement { - count: number; - _tpl: string; - onlyFunctional: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/customization/IBuyClothingRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/customization/IBuyClothingRequestData.d.ts deleted file mode 100644 index d19b70d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/customization/IBuyClothingRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IBuyClothingRequestData { - Action: "CustomizationBuy"; - offer: string; - items: ClothingItem[]; -} -export interface ClothingItem { - del: boolean; - id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/customization/IWearClothingRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/customization/IWearClothingRequestData.d.ts deleted file mode 100644 index 122d9cf..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/customization/IWearClothingRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWearClothingRequestData { - Action: "CustomizationWear"; - suites: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IFriendRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IFriendRequestData.d.ts deleted file mode 100644 index 9c326ac..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IFriendRequestData { - to: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts deleted file mode 100644 index 53d8289..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetAllAttachmentsRequestData { - dialogId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts deleted file mode 100644 index 076d414..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Message } from "../profile/IAkiProfile"; -export interface IGetAllAttachmentsResponse { - messages: Message[]; - profiles: any[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts deleted file mode 100644 index 8f1beac..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetChatServerListRequestData { - VersionId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts deleted file mode 100644 index 1d0c0e8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -export interface IGetFriendListDataResponse { - Friends: Friend[]; - Ignore: any[]; - InIgnoreList: any[]; -} -export interface Friend { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts deleted file mode 100644 index eed84b1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMailDialogInfoRequestData { - dialogId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts deleted file mode 100644 index f8fbf5d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMailDialogListRequestData { - limit: number; - offset: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts deleted file mode 100644 index 43d416e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface IGetMailDialogViewRequestData { - type: MessageType; - dialogId: string; - limit: number; - time: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts deleted file mode 100644 index 4f8b946..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { Message } from "../profile/IAkiProfile"; -export interface IGetMailDialogViewResponseData { - messages: Message[]; - profiles: IPmcData[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IPinDialogRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IPinDialogRequestData.d.ts deleted file mode 100644 index 57b8a00..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IPinDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPinDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts deleted file mode 100644 index 874b828..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRemoveDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/ISendMessageRequest.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/ISendMessageRequest.d.ts deleted file mode 100644 index dd79deb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/ISendMessageRequest.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface ISendMessageRequest { - dialogId: string; - type: MessageType; - text: string; - replyTo: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts deleted file mode 100644 index 2076232..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISetDialogReadRequestData { - dialogs: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IGameConfigResponse.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IGameConfigResponse.d.ts deleted file mode 100644 index eb37a39..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IGameConfigResponse.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export interface IGameConfigResponse { - aid: string; - lang: string; - languages: Record; - ndaFree: boolean; - taxonomy: number; - activeProfileId: string; - backend: Backend; - utc_time: number; - totalInGame: number; - reportAvailable: boolean; - twitchEventMember: boolean; -} -export interface Backend { - Trading: string; - Messaging: string; - Main: string; - RagFair: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts deleted file mode 100644 index a3ecad9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGameEmptyCrcRequestData { - crc: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IReportNicknameRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IReportNicknameRequestData.d.ts deleted file mode 100644 index 087c58b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IReportNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IReportNicknameRequestData { - uid: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IVersionValidateRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IVersionValidateRequestData.d.ts deleted file mode 100644 index 0aa0fed..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/game/IVersionValidateRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IVersionValidateRequestData { - version: Version; - develop: boolean; -} -export interface Version { - major: string; - minor: string; - game: string; - backend: string; - taxonomy: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/Effect.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/Effect.d.ts deleted file mode 100644 index 2f0adac..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/Effect.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Effect { - Fracture = "Fracture", - LightBleeding = "LightBleeding", - HeavyBleeding = "HeavyBleeding" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts deleted file mode 100644 index 7fb80a8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export interface IHealthTreatmentRequestData { - Action: "RestoreHealth"; - trader: string; - items: Item[]; - difference: Difference; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} -export interface Difference { - BodyParts: BodyParts; - Energy: number; - Hydration: number; -} -export interface BodyParts { - Head: BodyPart; - Chest: BodyPart; - Stomach: BodyPart; - LeftArm: BodyPart; - RightArm: BodyPart; - LeftLeg: BodyPart; - RightLeg: BodyPart; -} -export interface BodyPart { - Health: number; - Effects: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IOffraidEatRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IOffraidEatRequestData.d.ts deleted file mode 100644 index 8e2b6c3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IOffraidEatRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidEatRequestData extends IBaseInteractionRequestData { - Action: "Eat"; - item: string; - count: number; - time: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IOffraidHealRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IOffraidHealRequestData.d.ts deleted file mode 100644 index c242300..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/IOffraidHealRequestData.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidHealRequestData extends IBaseInteractionRequestData { - Action: "Heal"; - item: string; - part: BodyPart; - count: number; - time: number; -} -export declare enum BodyPart { - Head = 0, - Chest = 1, - Stomach = 2, - LeftArm = 3, - RightArm = 4, - LeftLeg = 5, - RightLeg = 6, - Common = 7 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/ISyncHealthRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/ISyncHealthRequestData.d.ts deleted file mode 100644 index 20e32f6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/health/ISyncHealthRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface ISyncHealthRequestData { - Health: Health; - IsAlive: boolean; - Hydration?: number; - Energy?: number; - Temperature?: number; -} -export interface Health { - Head?: BodyPartHealth; - Chest?: BodyPartHealth; - Stomach?: BodyPartHealth; - LeftArm?: BodyPartHealth; - RightArm?: BodyPartHealth; - LeftLeg?: BodyPartHealth; - RightLeg?: BodyPartHealth; -} -export interface BodyPartHealth { - Maximum: number; - Current: number; - Effects: Record; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 8583e8d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface HideoutUpgradeCompleteRequestData { - Action: string; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutArea.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutArea.d.ts deleted file mode 100644 index d9fd2bf..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutArea.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface IHideoutArea { - _id: string; - type: number; - enabled: boolean; - needsFuel: boolean; - takeFromSlotLocked: boolean; - craftGivesExp: boolean; - stages: Record; -} -export interface Stage { - requirements: Requirement[]; - bonuses: StageBonus[]; - slots: number; - constructionTime: number; - description: string; -} -export interface Requirement { - areaType?: number; - requiredLevel?: number; - type: string; - templateId?: string; - count?: number; - isFunctional?: boolean; - traderId?: string; - loyaltyLevel?: number; - skillName?: string; - skillLevel?: number; -} -export interface StageBonus { - value: number; - passive: boolean; - production: boolean; - visible: boolean; - skillType?: string; - type: string; - filter?: string[]; - icon?: string; - id?: string; - templateId?: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts deleted file mode 100644 index dba83eb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutContinousProductionStartRequestData { - Action: "HideoutContinuousProductionStart"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutProduction.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutProduction.d.ts deleted file mode 100644 index ce878be..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutProduction.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IHideoutProduction { - _id: string; - areaType: number; - requirements: Requirement[]; - productionTime: number; - boosters: any; - endProduct: string; - continuous: boolean; - count: number; - productionLimitCount: number; -} -export interface Requirement { - templateId?: string; - count?: number; - isFunctional?: boolean; - type: string; - areaType?: number; - requiredLevel?: number; - resource?: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts deleted file mode 100644 index 8326c55..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutPutItemInRequestData { - Action: "HideoutPutItemsInAreaSlots"; - areaType: number; - items: Record; - timestamp: number; -} -export interface ItemDetails { - count: number; - id: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutScavCase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutScavCase.d.ts deleted file mode 100644 index e0b9a27..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutScavCase.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -export interface IHideoutScavCase { - _id: string; - ProductionTime: number; - Requirements: Requirement[]; - EndProducts: EndProducts; -} -export interface Requirement { - templateId: string; - count: number; - isFunctional: boolean; - type: string; -} -export interface EndProducts { - Common: MinMax; - Rare: MinMax; - Superrare: MinMax; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts deleted file mode 100644 index 72fda86..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export interface IHideoutScavCaseStartRequestData { - Action: "HideoutScavCaseProductionStart"; - recipeId: string; - items: HideoutItem[]; - tools: Tool[]; - timestamp: number; -} -export interface HideoutItem { - id: string; - count: number; -} -export interface Tool { - id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts deleted file mode 100644 index 8e45939..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutSettingsBase { - generatorSpeedWithoutFuel: number; - generatorFuelFlowRate: number; - airFilterUnitFlowRate: number; - gpuBoostRate: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts deleted file mode 100644 index 1ed542a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutSingleProductionStartRequestData { - Action: "HideoutSingleProductionStart"; - recipeId: string; - items: Item[]; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts deleted file mode 100644 index 83a740a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutTakeItemOutRequestData { - Action: "HideoutTakeItemsFromAreaSlots"; - areaType: number; - slots: number[]; - timestamp: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts deleted file mode 100644 index a6847ef..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutTakeProductionRequestData { - Action: "HideoutTakeProduction"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts deleted file mode 100644 index cdea513..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutToggleAreaRequestData { - Action: "HideoutToggleArea"; - areaType: number; - enabled: boolean; - timestamp: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 545311e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutUpgradeCompleteRequestData { - Action: "HideoutUpgradeComplete"; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts deleted file mode 100644 index dfbfdca..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutUpgradeRequestData { - Action: "HideoutUpgrade"; - areaType: number; - items: HideoutItem[]; - timestamp: number; -} -export interface HideoutItem { - count: number; - id: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts deleted file mode 100644 index b5dc5c1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetBodyResponseData { - err: number; - errmsg: any; - (data: Type): Type; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/httpResponse/INullResponseData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/httpResponse/INullResponseData.d.ts deleted file mode 100644 index a3ae838..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/httpResponse/INullResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface INullResponseData { - err: number; - errmsg: any; - data: null; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts deleted file mode 100644 index e2d9cf1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IRegisterPlayerRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts deleted file mode 100644 index 6930261..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { ISyncHealthRequestData } from "../health/ISyncHealthRequestData"; -export interface ISaveProgressRequestData { - exit: string; - profile: IPmcData; - isPlayerScav: boolean; - health: ISyncHealthRequestData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts deleted file mode 100644 index 0e32e96..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetInsuranceCostRequestData { - traders: string[]; - items: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts deleted file mode 100644 index bf209c6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare type IGetInsuranceCostResponseData = Record>; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IInsureRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IInsureRequestData.d.ts deleted file mode 100644 index f657bb7..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/insurance/IInsureRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInsureRequestData extends IBaseInteractionRequestData { - Action: "Insure"; - tid: string; - items: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IAddItemRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IAddItemRequestData.d.ts deleted file mode 100644 index 53db97a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IAddItemRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IAddItemRequestData { - tid: string; - items: any[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts deleted file mode 100644 index 462e0de..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { - Action: "Add"; - item: string; - container: Container; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts deleted file mode 100644 index b45e459..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { -} -export interface To { - id: string; - container: string; - location?: ToLocation | number; -} -export interface ToLocation { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} -export interface Container { - id: string; - container: string; - location: Location | number; -} -export interface Location { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts deleted file mode 100644 index ff35066..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { - Action: "Bind"; - item: string; - index: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts deleted file mode 100644 index 1e1ecef..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "CreateMapMarker"; - item: string; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts deleted file mode 100644 index 0657e1b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "DeleteMapMarker"; - item: string; - X: number; - Y: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts deleted file mode 100644 index e2857e1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "EditMapMarker"; - item: string; - X: number; - Y: number; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts deleted file mode 100644 index 614711f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { - Action: "Examine"; - item: string; - fromOwner: IFromOwner; -} -export interface IFromOwner { - id: string; - type: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts deleted file mode 100644 index a5fb2a1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { - Action: "Fold"; - item: string; - value: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts deleted file mode 100644 index 3fcfa35..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { - Action: "Merge"; - item: string; - with: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts deleted file mode 100644 index b767908..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { - Action: "Move"; - item: string; - to: To; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts deleted file mode 100644 index 5487b20..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { - Action: "ReadEncyclopedia"; - ids: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts deleted file mode 100644 index 07d1a52..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { - Action: "Remove"; - item: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySortRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySortRequestData.d.ts deleted file mode 100644 index a0b7928..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Upd } from "../common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { - Action: "ApplyInventoryChanges"; - changedItems: ChangedItem[]; -} -export interface ChangedItem { - _id: string; - _tpl: string; - parentId: string; - slotId: string; - location: Location; - upd: Upd; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts deleted file mode 100644 index 730ae71..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { - Action: "Split"; - item: string; - container: Container; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts deleted file mode 100644 index 1b0464d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { OwnerInfo } from "../common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { - Action: "Swap"; - item: string; - to: To; - item2: string; - to2: To; - fromOwner2: OwnerInfo; - toOwner2: OwnerInfo; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts deleted file mode 100644 index f021661..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { - Action: "Tag"; - item: string; - TagName: string; - TagColor: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts deleted file mode 100644 index 0955440..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { - Action: "Toggle"; - item: string; - value: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts deleted file mode 100644 index cf4391b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { - Action: "Transfer"; - item: string; - with: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts deleted file mode 100644 index 689fe75..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { - profileChanges: ""; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts deleted file mode 100644 index 4841cfd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -import { Item, Upd } from "../common/tables/IItem"; -import { IQuest } from "../common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "../ragfair/IRagfairOffer"; -export interface IItemEventRouterBase { - warnings: Warning[]; - profileChanges: TProfileChanges | ""; -} -export declare type TProfileChanges = Record; -export interface Warning { - index: number; - err: string; - errmsg: string; -} -export interface ProfileChange { - _id: string; - experience: number; - quests: IQuest[]; - ragFairOffers: IRagfairOffer[]; - builds: BuildChange[]; - items: ItemChanges; - production: Record; - skills: Skills; - traderRelations: Record; - repeatableQuests?: IPmcDataRepeatableQuest[]; -} -export interface BuildChange { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface ItemChanges { - new: Product[]; - change: Product[]; - del: Product[]; -} -export interface Production { - Progress: number; - StartTimestamp: number; - ProductionTime: number; - inProgress: boolean; - RecipeId: string; - Products: Product[]; -} -export interface Product { - _id: string; - _tpl?: string; - parentId?: string; - slotId?: string; - location?: ItemChangeLocation; - upd?: Upd; -} -export interface ItemChangeLocation { - x: number; - y: number; - r: number; - isSearched?: boolean; -} -export interface TraderRelations { - salesSum?: number; - standing?: number; - loyalty?: number; - unlocked?: boolean; - disabled?: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts deleted file mode 100644 index 515b49a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface IItemEventRouterRequest { - data: Daum[]; - tm: number; - reload: number; -} -export interface Daum { - Action: string; - item: string; - to: To; -} -export interface To { - id: string; - container: string; - location?: Location; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts deleted file mode 100644 index 72a9b5b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IItemEventRouterResponse extends IItemEventRouterBase { -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IChangeRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IChangeRequestData.d.ts deleted file mode 100644 index f0a7838..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IChangeRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IChangeRequestData extends ILoginRequestData { - change: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts deleted file mode 100644 index a14c7c9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMiniProfileRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/ILoginRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/ILoginRequestData.d.ts deleted file mode 100644 index e965813..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/ILoginRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ILoginRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IMiniProfile.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IMiniProfile.d.ts deleted file mode 100644 index c12661a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IMiniProfile.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface IMiniProfile { - username: string; - nickname: string; - side: string; - currlvl: number; - currexp: number; - prevexp: number; - nextlvl: number; - maxlvl: number; - akiData: AkiData; -} -export interface AkiData { - version: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IRegisterData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IRegisterData.d.ts deleted file mode 100644 index 61a8bbe..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IRegisterData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IRegisterData extends ILoginRequestData { - edition: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IRemoveProfileData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IRemoveProfileData.d.ts deleted file mode 100644 index d31c9ac..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/launcher/IRemoveProfileData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export declare type IRemoveProfileData = ILoginRequestData; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/location/IGetLocationRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/location/IGetLocationRequestData.d.ts deleted file mode 100644 index 04e84d9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/location/IGetLocationRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetLocationRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/ICreateGroupRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/ICreateGroupRequestData.d.ts deleted file mode 100644 index 7413a8a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/ICreateGroupRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface ICreateGroupRequestData { - location: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts deleted file mode 100644 index 811e9a2..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IEndOfflineRaidRequestData { - crc: number; - exitStatus: string; - exitName: any; - raidSeconds: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts deleted file mode 100644 index 55d7079..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface IGetGroupStatusRequestData { - location: string; - savage: boolean; - dt: string; - keyId: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IGetProfileRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IGetProfileRequestData.d.ts deleted file mode 100644 index 86b5bbd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IGetProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetProfileRequestData { - profileId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IJoinMatchRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IJoinMatchRequestData.d.ts deleted file mode 100644 index cd34f7b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IJoinMatchRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IJoinMatchRequestData { - location: string; - savage: boolean; - dt: string; - servers: Server[]; - keyId: string; -} -export interface Server { - ping: number; - ip: string; - port: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IJoinMatchResult.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IJoinMatchResult.d.ts deleted file mode 100644 index df695f4..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IJoinMatchResult.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IJoinMatchResult { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; - version: string; - location: string; - gamemode: string; - shortid: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IPutMetricsRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IPutMetricsRequestData.d.ts deleted file mode 100644 index d9ed214..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IPutMetricsRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IPutMetricsRequestData { - sid: string; - settings: any; - SharedSettings: any; - HardwareDescription: any; - Location: string; - Metrics: any; - ClientEvents: any; - SpikeSamples: any[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts deleted file mode 100644 index af0625e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { BotAmount } from "../../enums/BotAmount"; -import { BotDifficulty } from "../../enums/BotDifficulty"; -export interface IStartOfflineRaidRequestData { - locationName: string; - startTime: number; - dateTime: string; - gameSettings: GameSettings; -} -export interface GameSettings { - timeAndWeatherSettings: TimeAndWeatherSettings; - botsSettings: BotsSettings; - wavesSettings: WavesSettings; -} -export interface TimeAndWeatherSettings { - isRandomTime: boolean; - isRandomWeather: boolean; -} -export interface BotsSettings { - isEnabled: boolean; - isScavWars: boolean; - botAmount: BotAmount; -} -export interface WavesSettings { - botDifficulty: BotDifficulty; - isBosses: boolean; - isTaggedAndCursed: boolean; - wavesBotAmount: BotAmount; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IUpdatePingRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IUpdatePingRequestData.d.ts deleted file mode 100644 index defbd66..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/match/IUpdatePingRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUpdatePingRequestData { - servers: any[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notes/INoteActionData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notes/INoteActionData.d.ts deleted file mode 100644 index 610657f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notes/INoteActionData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface INoteActionData extends IBaseInteractionRequestData { - Action: string; - index: number; - note: INote; -} -export interface INote { - Time: number; - Text: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notifier/INotifier.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notifier/INotifier.d.ts deleted file mode 100644 index 8c48260..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notifier/INotifier.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface INotifierChannel { - "server": string; - "channel_id": string; - "url": string; - "notifierServer": string; - "ws": string; -} -import { Message } from "../profile/IAkiProfile"; -export interface INotification { - type: "RagfairOfferSold" | "new_message" | "ping"; - eventId: string; - dialogId?: string; - message?: Message; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts deleted file mode 100644 index 2bc3d1e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISelectProfileRequestData { - uid: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts deleted file mode 100644 index 2f9827c..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -export interface IPlayerIncrementSkillLevelRequestData { - _id: string; - experience: number; - quests: any[]; - ragFairOffers: any[]; - builds: any[]; - items: Items; - production: Production; - skills: Skills; - traderRelations: TraderRelations; -} -export interface Items { - new: any[]; - change: any[]; - del: any[]; -} -export interface Production { -} -export interface TraderRelations { -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts deleted file mode 100644 index 99c61f1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export interface IPresetBuildActionRequestData { - Action: string; - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Item { - _id: string; - _tpl: string; - upd?: Upd; - parentId?: string; - slotId?: string; -} -export interface Upd { - Repairable: Repairable; - FireMode: FireMode; -} -export interface Repairable { - MaxDurability: number; - Durability: number; -} -export interface FireMode { - FireMode: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts deleted file mode 100644 index eee9b4f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface GetProfileStatusResponseData { - maxPveCountExceeded: false; - profiles: ProfileData[]; -} -export interface ProfileData { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IAkiProfile.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index eaa66c1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -import { IPmcData } from "../common/IPmcData"; -import { Item } from "../common/tables/IItem"; -export interface IAkiProfile { - info: Info; - characters: Characters; - suits: string[]; - weaponbuilds: WeaponBuild[]; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; -} -export interface Info { - id: string; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -export interface WeaponBuild { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Dialogue { - _id: string; - messages: Message[]; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface DialogueInfo { - _id: string; - type: MessageType; - message: MessagePreview; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId: string; - text?: string; - hasRewards: boolean; - rewardCollected: boolean; - items: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: any[]; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; -} -export interface MessageItems { - stash?: string; - data?: Item[]; -} -export interface ISystemData { - date?: string; - time?: string; - location?: string; - buyerNickname?: string; - soldItem?: string; - itemCount?: number; -} -export interface IUpdatableChatMember { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; -} -export interface Vitality { - health: Health; - effects: Effects; -} -export interface Health { - Hydration: number; - Energy: number; - Temperature: number; - Head: number; - Chest: number; - Stomach: number; - LeftArm: number; - RightArm: number; - LeftLeg: number; - RightLeg: number; -} -export interface Effects { - Head: Head; - Chest: Chest; - Stomach: Stomach; - LeftArm: LeftArm; - RightArm: RightArm; - LeftLeg: LeftLeg; - RightLeg: RightLeg; -} -export interface Head { -} -export interface Chest { -} -export interface Stomach { -} -export interface LeftArm { - Fracture?: number; -} -export interface RightArm { - Fracture?: number; -} -export interface LeftLeg { - Fracture?: number; -} -export interface RightLeg { - Fracture?: number; -} -export interface Inraid { - location: string; - character: string; -} -export interface Insurance { - scheduledTime: number; - traderId: string; - messageContent: MessageContent; - items: Item[]; -} -export interface MessageContent { - ragfair?: MessageContentRagfair; - text?: string; - templateId: string; - type: MessageType; - maxStorageTime?: number; - profileChangeEvents?: any[]; - systemData?: ISystemData; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts deleted file mode 100644 index 4a61196..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts deleted file mode 100644 index 91058ce..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeVoiceRequestData { - voice: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileCreateRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileCreateRequestData.d.ts deleted file mode 100644 index 93cc656..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IProfileCreateRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IProfileCreateRequestData { - side: string; - nickname: string; - headId: string; - voiceId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/ISearchFriendRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/ISearchFriendRequestData.d.ts deleted file mode 100644 index e63e386..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/ISearchFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISearchFriendRequestData { - nickname: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/ISearchFriendResponse.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/ISearchFriendResponse.d.ts deleted file mode 100644 index 96d88b2..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/ISearchFriendResponse.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface ISearchFriendResponse { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts deleted file mode 100644 index 9cca7e7..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IValidateNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts deleted file mode 100644 index 0e4821a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IAcceptQuestRequestData { - Action: "QuestAccept"; - qid: string; - type: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts deleted file mode 100644 index 36a6db3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface ICompleteQuestRequestData { - Action: string; - /** Quest Id */ - qid: string; - removeExcessItems: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts deleted file mode 100644 index 63f10a8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHandoverQuestRequestData { - Action: "QuestHandover"; - qid: string; - conditionId: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IListQuestsRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IListQuestsRequestData.d.ts deleted file mode 100644 index 91f0b8c..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IListQuestsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IListQuestsRequestData { - completed: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts deleted file mode 100644 index 015f58e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRepeatableQuestChangeRequest { - Action: "RepeatableQuestChange"; - qid: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts deleted file mode 100644 index 465ee02..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IAddOfferRequestData { - Action: string; - sellInOnePiece: boolean; - items: string[]; - requirements: Requirement[]; -} -export interface Requirement { - _tpl: string; - count: number; - level: number; - side: number; - onlyFunctional: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts deleted file mode 100644 index 2a4a876..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IExtendOfferRequestData { - offerId: string; - renewalTime: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts deleted file mode 100644 index 676322a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetItemPriceResult { - avg: number; - min: number; - max: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts deleted file mode 100644 index 00f8f17..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMarketPriceRequestData { - templateId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetOffersResult.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetOffersResult.d.ts deleted file mode 100644 index fbc631d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IGetOffersResult.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IRagfairOffer } from "./IRagfairOffer"; -export interface IGetOffersResult { - categories?: Record; - offers: IRagfairOffer[]; - offersCount: number; - selectedCategory: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IRagfairOffer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IRagfairOffer.d.ts deleted file mode 100644 index 63f655e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IRagfairOffer.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -import { Item } from "../common/tables/IItem"; -export interface IRagfairOffer { - sellResult?: SellResult[]; - _id: string; - items: Item[]; - requirements: OfferRequirement[]; - root: string; - intId: number; - itemsCost: number; - requirementsCost: number; - startTime: number; - endTime: number; - sellInOnePiece: boolean; - name?: string; - shortName?: string; - loyaltyLevel: number; - locked: boolean; - unlimitedCount: boolean; - summaryCost: number; - user: IRagfairOfferUser; - notAvailable: boolean; - CurrentItemCount: number; - priority: boolean; -} -export interface OfferRequirement { - _tpl: string; - count: number; - onlyFunctional: boolean; -} -export interface IRagfairOfferUser { - id: string; - nickname: string; - rating: number; - memberType: MemberCategory; - avatar: string; - isRatingGrowing: boolean; -} -export interface SellResult { - sellTime: number; - amount: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts deleted file mode 100644 index d926615..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRemoveOfferRequestData { - Action: string; - offerId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/ISearchRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/ISearchRequestData.d.ts deleted file mode 100644 index 08e7fd3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/ISearchRequestData.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -export interface ISearchRequestData { - page: number; - limit: number; - sortType: number; - sortDirection: number; - currency: number; - priceFrom: number; - priceTo: number; - quantityFrom: number; - quantityTo: number; - conditionFrom: number; - conditionTo: number; - oneHourExpiration: boolean; - removeBartering: boolean; - offerOwnerType: OfferOwnerType; - onlyFunctional: boolean; - updateOfferCount: boolean; - handbookId: string; - linkedSearchId: string; - neededSearchId: string; - buildItems: BuildItems; - buildCount: number; - tm: number; - reload: number; -} -export declare enum OfferOwnerType { - ANYOWNERTYPE = 0, - TRADEROWNERTYPE = 1, - PLAYEROWNERTYPE = 2 -} -export interface BuildItems { -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts deleted file mode 100644 index 2d14d20..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISendRagfairReportRequestData { - offerId: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts deleted file mode 100644 index e645fb3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseRepairActionDataRequest { - Action: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/IRepairActionDataRequest.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/IRepairActionDataRequest.d.ts deleted file mode 100644 index 263d400..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "Repair"; - repairKitsInfo: RepairKitsInfo[]; - target: string; -} -export interface RepairKitsInfo { - _id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts deleted file mode 100644 index e3d469d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "TraderRepair"; - tid: string; - repairItems: RepairItem[]; -} -export interface RepairItem { - _id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts deleted file mode 100644 index a9ef757..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IProcessBaseTradeRequestData { - Action: string; - type: string; - tid: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts deleted file mode 100644 index a9e4c17..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { - Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | ""; - type: string; - tid: string; - item_id: string; - count: number; - scheme_id: number; - scheme_items: SchemeItem[]; -} -export interface SchemeItem { - id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts deleted file mode 100644 index 889dfd1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IProcessRagfairTradeRequestData { - Action: string; - offers: Offer[]; -} -export interface Offer { - id: string; - count: number; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts deleted file mode 100644 index f1d555f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { - Action: "sell_to_trader"; - type: string; - tid: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; - scheme_id: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/weather/IWeatherData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/weather/IWeatherData.d.ts deleted file mode 100644 index ecc96ce..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/weather/IWeatherData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IWeatherData { - acceleration: number; - time: string; - date: string; - weather: IWeather; -} -export interface IWeather { - pressure: number; - temp: number; - fog: string; - rain_intensity: number; - rain: any; - wind_gustiness: number; - wind_direction: any; - wind_speed: number; - cloud: number; - time: string; - date: string; - timestamp: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/wishlist/IWishlistActionData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/wishlist/IWishlistActionData.d.ts deleted file mode 100644 index 9217864..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/eft/wishlist/IWishlistActionData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWishlistActionData { - Action: string; - templateId: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/AmmoTypes.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/AmmoTypes.d.ts deleted file mode 100644 index b52ddcf..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/AmmoTypes.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -export declare enum Grenade { - M386_HE_GRENADE = "5ede475b549eed7c6d5c18fb", - M576_MP_APERS_GRENADE = "5ede475339ee016e8c534742", - M433_HEDP_GRENADE = "5f0c892565703e5c461894e9", - M406_HE_GRENADE = "5ede4739e0350d05467f73e8", - M381_HE_GRENADE = "5ede474b0c226a66f5402622", - M441_HE_GRENADE = "5ede47405b097655935d7d16" -} -export declare enum Ammo762x51 { - M62_TRACER = "5a608bf24f39f98ffc77720e", - M80 = "58dd3ad986f77403051cba8f", - M61 = "5a6086ea4f39f99cd479502f", - BCP_FMJ = "5e023e53d4353e3302577c4c", - ULTRA_NOSLER = "5e023e88277cce2b522ff2b1", - TCW_SP = "5e023e6e34d52a55c3304f71", - M993 = "5efb0c1bd79ff02a1f5e68d9" -} -export declare enum Ammo762x54 { - SNB_GZH = "560d61e84bdc2da74d8b4571", - LPS_GZH = "5887431f2459777e1612938f", - PS_GZH = "59e77a2386f7742ee578960a", - T46M_GZH = "5e023cf8186a883be655e54f", - BT_GZH = "5e023d34e8a400319a28ed44", - BS_GZH = "5e023d48186a883be655e551" -} -export declare enum Ammo338Lapua { - TAC_X = "5fc382b6d6fa9c00c571bbc3", - UCW = "5fc382c1016cce60e8341b20", - AP = "5fc382a9d724d907e2077dab", - FMJ = "5fc275cf85fd526b824a571a" -} -export declare enum Ammo46x30 { - AP_SX = "5ba26835d4351e0035628ff5", - ACTION_SX = "5ba26812d4351e003201fef1", - FMJ_SX = "5ba2678ad4351e44f824b344", - SUBSONIC_SX = "5ba26844d4351e00334c9475" -} -export declare enum Ammo57x28 { - SS198LF = "5cc80f79e4a949033c7343b2", - R37_F = "5cc86832d7f00c000d3a6e6c", - SS190 = "5cc80f38e4a949001152b560", - R37_X = "5cc86840d7f00c002412c56c", - L191 = "5cc80f53e4a949000e1ea4f8", - SS197SR = "5cc80f8fe4a949033b0224a2", - SB193 = "5cc80f67e4a949035e43bbba" -} -export declare enum Ammo762x25 { - FMJ43 = "5735ff5c245977640e39ba7e", - LRN = "573601b42459776410737435", - P_GL = "5736026a245977644601dc61", - PST_GZH = "573603562459776430731618", - LRNPC = "573602322459776445391df1", - AKBS = "5735fdcd2459776445391d61", - PT_GZH = "573603c924597764442bd9cb" -} -export declare enum Ammo9x18 { - PM_SP8_GZH = "5737218f245977612125ba51", - P_GZH = "573719762459775a626ccbc1", - PSTM_GZH = "57371aab2459775a77142f22", - RG028_GZH = "573720e02459776143012541", - BZHT_GZH = "573718ba2459775a75491131", - PM_PSV = "5737207f24597760ff7b25f2", - SP7_GZH = "57372140245977611f70ee91", - PBM_GZH = "573719df2459775a626ccbc2", - PSO_GZH = "57371f8d24597761006c6a81", - PST_GZH = "5737201124597760fc4431f1", - PS_GS_PPO = "57371f2b24597761224311f1", - PRS_GS = "57371eb62459776125652ac1", - PPT_GZH = "57371e4124597760ff7b25f1", - PPE_GZH = "57371b192459775a9f58a5e0" -} -export declare enum Ammo9x19 { - PSO_GZH = "58864a4f2459770fcc257101", - PST_GZH = "56d59d3ad2720bdb418b4577", - GREEN_TRACER = "5c3df7d588a4501f290594e5", - RIP = "5c0d56a986f774449d5de529", - AP_63 = "5c925fa22e221601da359b7b", - LUGER_CCI = "5a3c16fe86f77452b62de32a", - PBP_GZH = "5efb0da7a29a85116f6ea05f", - QUAKEMAKER = "5efb0e16aeb21837e749c7ff" -} -export declare enum Ammo9x21 { - P_GZH = "5a26abfac4a28232980eabff", - PS_GZH = "5a269f97c4a282000b151807", - PE_GZH = "5a26ac06c4a282000c5a90a8", - BT_GZH = "5a26ac0ec4a28200741e1e18" -} -export declare enum Ammo357Mag { - FMJ = "62330b3ed4dc74626d570b95", - HOLLOW_POINT = "62330bfadc5883093563729b", - SOFT_POINT = "62330c40bdd19b369e1e53d1", - JACKET_HP = "62330c18744e5e31df12f516" -} -export declare enum Ammo45ACP { - MATCH_FMJ = "5e81f423763d9f754677bf2e", - HYDRA_SHOK = "5efb0fc6aeb21837e749c801", - LASERMATCH_FMJ = "5efb0d4f4bc50b58e81710f3", - AP = "5efb0cabfb3e451d70735af5", - RIP = "5ea2a8e200685063ec28c05a" -} -export declare enum Ammo545x39 { - PS_GS = "56dff3afd2720bba668b4567", - SP = "56dff421d2720b5f5a8b4567", - PPBS_GS_IGOLNIK = "5c0d5e4486f77478390952fe", - BS_7N40 = "61962b617c6c7b169525f168", - PRS_GS = "56dff338d2720bbd668b4569", - BT_GS = "56dff061d2720bb5668b4567", - US_GS = "56dff4ecd2720b5f5a8b4568", - BP_GS = "56dfef82d2720bbd668b4567", - HP = "56dff216d2720bbd668b4568", - BS_GS = "56dff026d2720bb8668b4567", - T_GS = "56dff4a2d2720bbd668b456a", - PP_GS = "56dff2ced2720bb4668b4567", - FMJ = "56dff0bed2720bb0668b4567" -} -export declare enum Ammo556x45 { - M856 = "59e68f6f86f7746c9f75e846", - MK255_MOD_0_RRLP = "59e6918f86f7746c9f75e849", - M995 = "59e690b686f7746c9f75e848", - M855A1 = "54527ac44bdc2d36668b4567", - M856A1 = "59e6906286f7746c9f75e847", - M855 = "54527a984bdc2d4e668b4567", - HP = "59e6927d86f77411da468256", - FMJ = "59e6920f86f77411d82aa167", - WARMAGEDDON = "5c0d5ae286f7741e46554302", - MK_318_MOD_0_SOST = "60194943740c5d77f6705eea", - SSA_AP = "601949593ae8f707c4608daa" -} -export declare enum Ammo300Blackout { - M62_TRACER = "619636be6db0f2477964e710", - BCP_FMJ = "5fbe3ffdf8b6a877a729ea82", - AP = "5fd20ff893a8961fc660a954", - V_MAX = "6196364158ef8c428c287d9f", - WHISPER = "6196365d58ef8c428c287da1" -} -export declare enum Ammo762x39 { - PS_GZH = "5656d7c34bdc2d9d198b4587", - HP = "59e4d3d286f774176a36250a", - US_GZH = "59e4d24686f7741776641ac7", - T45M1_GZH = "59e4cf5286f7741778269d8a", - BP_GZH = "59e0d99486f7744a32234762", - MAI_AP = "601aa3d2b2bcb34913271e6d" -} -export declare enum Ammo9x39 { - SP5_GS = "57a0dfb82459774d3078b56c", - BP_GS = "5c0d688c86f77413ae3407b2", - SP6_GS = "57a0e5022459774d1673f889", - SPP_GS = "5c0d668f86f7747ccb7f13b2", - PAB9_GS = "61962d879bb3d20b0946d385" -} -export declare enum Ammo366TKM { - FMJ = "59e6542b86f77411dc52a77a", - GEKSA = "59e6658b86f77411d949b250", - EKO = "59e655cb86f77411dc52a77b", - APM = "5f0596629e22f464da6bbdd9" -} -export declare enum Ammo127x55 { - PS12 = "5cadf6ddae9215051e1c23b2", - PS12B = "5cadf6eeae921500134b2799", - PS12A = "5cadf6e5ae921500113bb973" -} -export declare enum Ammo12Gauge { - BUCKSHOT_7MM = "560d5e524bdc2d25448b4571", - MAGNUM_85MM = "5d6e6806a4b936088465b17e", - RIP = "5c0d591486f7744c505b416f", - BMG_SLUG_50CAL = "5d6e68c4a4b9361b93413f79", - BUCKSHOT_525MM = "5d6e6772a4b936088465b17c", - EXPRESS_65MM = "5d6e67fba4b9361bc73bc779", - FLECHETTE = "5d6e6911a4b9361bd5780d52", - FTX_CUSTOM_LITE_SLUG = "5d6e68e6a4b9361c140bcfe0", - AP20_ARMOR_PIERCING_SLUG = "5d6e68a8a4b9360b6c0d54e2", - DUAL_SABOT_SLUG = "5d6e68dea4b9361bcc29e659", - POLEVA_6U_SLUG = "5d6e689ca4b9361bc8618956", - POLEVA_3_SLUG = "5d6e6891a4b9361bd473feea", - GRIZZLY_40_SLUG = "5d6e6869a4b9361c140bcfde", - SUPERFORMANCE_HP_SLUG = "5d6e68d1a4b93622fe60e845", - COPPER_SABOT_PREMIER_HP_SLUG = "5d6e68b3a4b9361bca7e50b5", - LEAD_SLUG = "58820d1224597753c90aeb13" -} -export declare enum Ammo20Gauge { - BUCKSHOT_75MM = "5a38ebd9c4a282000d722a5b", - STAR_SLUG = "5d6e6a05a4b93618084f58d0", - BUCKSHOT_73MM = "5d6e69c7a4b9360b6c0d54e4", - DEVASTATOR_SLUG = "5d6e6a5fa4b93614ec501745", - BUCKSHOT_56MM = "5d6e695fa4b936359b35d852", - POLEVA_6U_SLUG = "5d6e6a42a4b9364f07165f52", - POLEVA_3_SLUG = "5d6e6a53a4b9361bd473feec", - BUCKSHOT_62MM = "5d6e69b9a4b9361bc8618958" -} -export declare enum Ammo23x75 { - SHRAPNEL10_BUCKSHOT = "5e85a9a6eacf8c039e4e2ac1", - SHRAPNEL25_BUCKSHOT = "5f647f31b6238e5dd066e196", - ZVEZDA_FLASHBANG = "5e85a9f4add9fe03027d9bf1", - BARRIKADA_SLUG = "5e85aa1a988a8701445df1f5" -} -export declare enum Ammo30x29 { - VOG_30 = "5d70e500a4b9364de70d38ce" -} -export declare enum Ammo127x108 { - B32 = "5cde8864d7f00c0010373be1", - BZT_44M = "5d2f2ab648f03550091993ca" -} -export declare enum Ammo26x75 { - GREEN_FLARE = "62389aaba63f32501b1b444f", - RED_FLARE = "62389ba9a63f32501b1b4451", - WHITE_FLARE = "62389bc9423ed1685422dc57", - YELLOW_FLARE = "62389be94d5d474bf712e709" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BaseClasses.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BaseClasses.d.ts deleted file mode 100644 index e733bca..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BaseClasses.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -export declare enum BaseClasses { - WEAPON = "5422acb9af1c889c16000029", - ARMOR = "5448e54d4bdc2dcc718b4568", - VEST = "5448e5284bdc2dcb718b4567", - BACKPACK = "5448e53e4bdc2d60728b4567", - VISORS = "5448e5724bdc2ddf718b4568", - FOOD = "5448e8d04bdc2ddf718b4569", - DRINK = "5448e8d64bdc2dce718b4568", - BARTER_ITEM = "5448eb774bdc2d0a728b4567", - INFO = "5448ecbe4bdc2d60728b4568", - MEDKIT = "5448f39d4bdc2d0a728b4568", - DRUGS = "5448f3a14bdc2d27728b4569", - STIMULATOR = "5448f3a64bdc2d60728b456a", - MEDICAL = "5448f3ac4bdc2dce718b4569", - MEDICAL_SUPPLIES = "57864c8c245977548867e7f1", - MOD = "5448fe124bdc2da5018b4567", - FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b", - FUEL = "5d650c3e815116009f6201d2", - GEAR_MOD = "55802f3e4bdc2de7118b4584", - STOCK = "55818a594bdc2db9688b456a", - FOREGRIP = "55818af64bdc2d5b648b4570", - MASTER_MOD = "55802f4a4bdc2ddb688b4569", - MOUNT = "55818b224bdc2dde698b456f", - MUZZLE = "5448fe394bdc2d0d028b456c", - SIGHTS = "5448fe7a4bdc2d6f028b456b", - MEDS = "543be5664bdc2dd4348b4569", - MONEY = "543be5dd4bdc2deb348b4569", - KEY = "543be5e94bdc2df1348b4568", - KEY_MECHANICAL = "5c99f98d86f7745c314214b3", - KEYCARD = "5c164d2286f774194c5e69fa", - EQUIPMENT = "543be5f84bdc2dd4348b456a", - THROW_WEAPON = "543be6564bdc2df4348b4568", - FOOD_DRINK = "543be6674bdc2df1348b4569", - PISTOL = "5447b5cf4bdc2d65278b4567", - SMG = "5447b5e04bdc2d62278b4567", - ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567", - ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567", - SHOTGUN = "5447b6094bdc2dc3278b4567", - MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567", - SNIPER_RIFLE = "5447b6254bdc2dc3278b4568", - MACHINE_GUN = "5447bed64bdc2d97278b4568", - GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568", - SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569", - SPEC_ITEM = "5447e0e74bdc2d3c308b4567", - KNIFE = "5447e1d04bdc2dff2f8b4567", - AMMO = "5485a8684bdc2da71d8b4567", - AMMO_BOX = "543be5cb4bdc2deb348b4568", - LOOT_CONTAINER = "566965d44bdc2d814c8b4571", - MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a", - SEARCHABLE_ITEM = "566168634bdc2d144c8b456c", - STASH = "566abbb64bdc2d144c8b457d", - SORTING_TABLE = "6050cac987d3f925bf016837", - LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569", - SIMPLE_CONTAINER = "5795f317245977243854e041", - INVENTORY = "55d720f24bdc2d88028b456d", - STATIONARY_CONTAINER = "567583764bdc2d98058b456e", - POCKETS = "557596e64bdc2dc2118b4571", - ARMBAND = "5b3f15d486f77432d0509248", - DOG_TAG_USEC = "59f32c3b86f77472a31742f0", - DOG_TAG_BEAR = "59f32bb586f774757e1e8442", - JEWELRY = "57864a3d24597754843f8721", - ELECTRONICS = "57864a66245977548f04a81f", - BUILDING_MATERIAL = "57864ada245977548638de91", - TOOL = "57864bb7245977548b3b66c2", - HOUSEHOLD_GOODS = "57864c322459775490116fbf", - LUBRICANT = "57864e4c24597754843f8723", - BATTERY = "57864ee62459775490116fc1", - ASSAULT_SCOPE = "55818add4bdc2d5b648b456f", - REFLEX_SIGHT = "55818ad54bdc2ddc698b4569", - TACTICAL_COMBO = "55818b164bdc2ddc698b456c", - MAGAZINE = "5448bc234bdc2d3c308b4569", - LIGHT_LASER = "55818b0e4bdc2dde698b456e", - FLASH_HIDER = "550aa4bf4bdc2dd6348b456b", - COLLIMATOR = "55818ad54bdc2ddc698b4569", - COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b", - COMPENSATOR = "550aa4af4bdc2dd4348b456e", - OPTIC_SCOPE = "55818ae44bdc2dde698b456c", - SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a", - OTHER = "590c745b86f7743cc433c5f2", - SILENCER = "550aa4cd4bdc2dd8348b456c", - PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc", - ITEM = "54009119af1c881c07000029", - CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BotAmount.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BotAmount.d.ts deleted file mode 100644 index d0e1df1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BotAmount.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare enum BotAmount { - AsOnline = "AsOnline", - Low = "Low", - Medium = "Medium", - High = "High", - Horde = "Horde" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BotDifficulty.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BotDifficulty.d.ts deleted file mode 100644 index c901bcf..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/BotDifficulty.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum BotDifficulty { - AsOnline = "AsOnline", - Easy = "Easy", - Medium = "Medium", - Hard = "Hard", - Impossible = "Impossible", - Random = "Random" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ConfigTypes.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ConfigTypes.d.ts deleted file mode 100644 index 61d6f99..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ConfigTypes.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - LOCALE = "aki-locale", - LOCATION = "aki-location", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ContainerTypes.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ContainerTypes.d.ts deleted file mode 100644 index e6b330a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ContainerTypes.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export declare enum CommonContainers { - AMMO_CASE = "5aafbde786f774389d0cbc0f", - DOCUMENTS_CASE = "590c60fc86f77412b13fddcf", - DOGTAG_CASE = "5c093e3486f77430cb02e593", - GRENADE_CASE = "5e2af55f86f7746d4159f07c", - INJECTOR_CASE = "619cbf7d23893217ec30b689", - ITEM_CASE = "59fb042886f7746c5005a7b2", - KEY_TOOL = "59fafd4b86f7745ca07e1232", - KEYCARD_HOLDER = "619cbf9e0a7c3a1a2731940a", - SCAV_JUNKBOX = "5b7c710788a4506dec015957", - MAGAZINE_CASE = "5c127c4486f7745625356c13", - MEDICINE_CASE = "5aafbcd986f7745e590fff23", - MONEY_CASE = "59fb016586f7746d0d4b423a", - HOLODILNICK_THERMAL_BAG = "5c093db286f7740a1b2617e3", - PISTOL_CASE = "567143bf4bdc2d1a0f8b4567", - SICC_ORGANIZATIONAL_POUCH = "5d235bb686f77443f4331278", - SIMPLE_WALLET = "5783c43d2459774bbe137486", - THICC_ITEM_CASE = "5c0a840b86f7742ffa4f2482", - THICC_WEAPON_CASE = "5b6d9ce188a4501afc1b2b25", - WEAPON_CASE = "59fb023c86f7746d0d4b423c", - WZ_WALLET = "60b0f6c058e0b0481a09ad11" -} -export declare enum SecuredContainers { - ALPHA = "544a11ac4bdc2d470e8b456a", - BETA = "5857a8b324597729ab0a0e7d", - EPSILON = "59db794186f77448bc595262", - GAMMA = "5857a8bc2459772bad15db29", - KAPPA = "5c093ca986f7740a1867ab12" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ELocationName.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ELocationName.d.ts deleted file mode 100644 index b56cc08..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/ELocationName.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum ELocationName { - FACTORY_DAY = "factory4_day", - BIGMAP = "bigmap", - WOODS = "Woods", - SHORELINE = "Shoreline", - INTERCHANGE = "Interchange", - LIGHTHOUSE = "Lighthouse", - LABORATORY = "laboratory", - RESERVE = "RezervBase", - ANY = "any" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/EquipmentSlots.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/EquipmentSlots.d.ts deleted file mode 100644 index 35c18ff..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/EquipmentSlots.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum EquipmentSlots { - HEADWEAR = "Headwear", - EARPIECE = "Earpiece", - FACE_COVER = "FaceCover", - ARMOR_VEST = "ArmorVest", - EYEWEAR = "Eyewear", - ARM_BAND = "ArmBand", - TACTICAL_VEST = "TacticalVest", - POCKETS = "Pockets", - BACKPACK = "Backpack", - SECURED_CONTAINER = "SecuredContainer", - FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon", - SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon", - HOLSTER = "Holster", - SCABBARD = "Scabbard" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/HideoutAreas.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/HideoutAreas.d.ts deleted file mode 100644 index b44a20a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/HideoutAreas.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreas { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/MemberCategory.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/MessageType.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/MessageType.d.ts deleted file mode 100644 index 1b0c649..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/MessageType.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum MessageType { - USER_MESSAGE = 1, - NPC_TRADER = 2, - AUCTION_MESSAGE = 3, - FLEAMARKET_MESSAGE = 4, - ADMIN_MESSAGE = 5, - GROUP_CHAT_MESSAGE = 6, - SYSTEM_MESSAGE = 7, - INSURANCE_RETURN = 8, - GLOBAL_CHAT = 9, - QUEST_START = 10, - QUEST_FAIL = 11, - QUEST_SUCCESS = 12, - MESSAGE_WITH_ITEMS = 13, - INITIAL_SUPPORT = 14 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/Money.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/Money.d.ts deleted file mode 100644 index 0d39613..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/Money.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Money { - ROUBLES = "5449016a4bdc2d6f028b456f", - EUROS = "569668774bdc2da2298b4568", - DOLLARS = "5696686a4bdc2da3298b456a" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/QuestRewardType.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/QuestRewardType.d.ts deleted file mode 100644 index 1d3db86..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/QuestRewardType.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum QuestRewardType { - Skill = "Skill", - Experience = "Experience", - TraderStanding = "TraderStanding", - TraderUnlock = "TraderUnlock", - Item = "Item", - AssortmentUnlock = "AssortmentUnlock" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/QuestStatus.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/QuestStatus.d.ts deleted file mode 100644 index ba65933..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/QuestStatus.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum QuestStatus { - Locked = 0, - AvailableForStart = 1, - Started = 2, - AvailableForFinish = 3, - Success = 4, - Fail = 5, - FailRestartable = 6, - MarkedAsFailed = 7, - Expired = 8 -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/RaidMode.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/RaidMode.d.ts deleted file mode 100644 index c5a8cff..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/RaidMode.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum RaidMode { - Online = "Online", - Local = "Local", - Coop = "Coop" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/SkillTypes.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/SkillTypes.d.ts deleted file mode 100644 index 4eb90af..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/SkillTypes.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -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/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/Traders.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/Traders.d.ts deleted file mode 100644 index 163cd71..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/WeaponSkillTypes.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/WeaponSkillTypes.d.ts deleted file mode 100644 index 1e20a2d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/enums/WeaponSkillTypes.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -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/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPostAkiLoadMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index f6950e8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPostDBLoadMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPostDBLoadMod.d.ts deleted file mode 100644 index ca7c682..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPostDBLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostDBLoadMod { - postDBLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPreAkiLoadMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index ae7579e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/mod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/tsyringe.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/tsyringe.d.ts deleted file mode 100644 index 56a7e58..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/external/tsyringe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export type { DependencyContainer }; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bindings/Route.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bindings/Route.d.ts deleted file mode 100644 index 1b29d7d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bindings/Route.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRoute { - aki: any; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bots/BotLootCache.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bots/BotLootCache.d.ts deleted file mode 100644 index e185315..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bots/BotLootCache.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class BotLootCache { - backpackLoot: ITemplateItem[]; - pocketLoot: ITemplateItem[]; - vestLoot: ITemplateItem[]; - combinedPoolLoot: ITemplateItem[]; - specialItems: ITemplateItem[]; - healingItems: ITemplateItem[]; - drugItems: ITemplateItem[]; - stimItems: ITemplateItem[]; - grenadeItems: ITemplateItem[]; -} -export declare enum LootCacheType { - Special = "Special", - Backpack = "Backpack", - Pocket = "Pocket", - Vest = "Vest", - Combined = "Combined", - HealingItems = "HealingItems", - DrugItems = "DrugItems", - StimItems = "StimItems", - GrenadeItems = "GrenadeItems" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bots/GenerateWeaponResult.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bots/GenerateWeaponResult.d.ts deleted file mode 100644 index f099752..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/bots/GenerateWeaponResult.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Mods } from "../../eft/common/tables/IBotType"; -import { Item } from "../../eft/common/tables/IItem"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class GenerateWeaponResult { - weapon: Item[]; - chosenAmmo: string; - weaponMods: Mods; - weaponTemplate: ITemplateItem; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IBotCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IBotCallbacks.d.ts deleted file mode 100644 index 2c42813..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IBotCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface IBotCallbacks { - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IBundleCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IBundleCallbacks.d.ts deleted file mode 100644 index 7e37c6e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IBundleCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IBundleCallbacks { - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts deleted file mode 100644 index d10027f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IBuyClothingRequestData } from "../../eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../../eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISuit } from "../../eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface ICustomizationCallbacks { - getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IDataCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IDataCallbacks.d.ts deleted file mode 100644 index a098560..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IDataCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGlobals } from "../../eft/common/IGlobals"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../server/ILocaleBase"; -import { ISettingsBase } from "../server/ISettingsBase"; -export interface IDataCallbacks { - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts deleted file mode 100644 index fe2115a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetMailDialogViewRequestData } from "../../eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogInfoRequestData } from "../../eft/dialog/IGetMailDialogInfoRequestData"; -import { IRemoveDialogRequestData } from "../../eft/dialog/IRemoveDialogRequestData"; -import { IGetMailDialogListRequestData } from "../../eft/dialog/IGetMailDialogListRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../../eft/dialog/IFriendRequestData"; -import { IPinDialogRequestData } from "../../eft/dialog/IPinDialogRequestData"; -import { ISetDialogReadRequestData } from "../../eft/dialog/ISetDialogReadRequestData"; -import { IGetAllAttachmentsRequestData } from "../../eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetChatServerListRequestData } from "../../eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../../eft/dialog/IGetFriendListDataResponse"; -import { ISendMessageRequest } from "../../eft/dialog/ISendMessageRequest"; -import { IGetMailDialogViewResponseData } from "../../eft/dialog/IGetMailDialogViewResponseData"; -import { IGetAllAttachmentsResponse } from "../../eft/dialog/IGetAllAttachmentsResponse"; -import { DialogueInfo } from "../../eft/profile/IAkiProfile"; -export interface IDialogueCallbacks { - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IGameCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IGameCallbacks.d.ts deleted file mode 100644 index 38ebc5f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IGameCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGameEmptyCrcRequestData } from "../../eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "../../eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGameConfigResponse } from "../../eft/game/IGameConfigResponse"; -export interface IGameCallbacks { - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts deleted file mode 100644 index 5857a3e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IHandbookCallbacks { - load(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHealthCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHealthCallbacks.d.ts deleted file mode 100644 index d238c7a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { ISyncHealthRequestData } from "../../eft/health/ISyncHealthRequestData"; -import { IOffraidEatRequestData } from "../../eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../../eft/health/IOffraidHealRequestData"; -import { IHealthTreatmentRequestData } from "../../eft/health/IHealthTreatmentRequestData"; -export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): any; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts deleted file mode 100644 index e9badb6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IHideoutUpgradeRequestData } from "../../eft/hideout/IHideoutUpgradeRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../../eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutScavCaseStartRequestData } from "../../eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutPutItemInRequestData } from "../../eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutTakeItemOutRequestData } from "../../eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutToggleAreaRequestData } from "../../eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../../eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../../eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../../eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IHideoutCallbacks { - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHttpCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHttpCallbacks.d.ts deleted file mode 100644 index 3ecd945..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IHttpCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHttpCallbacks { - load(): void; - sendImage(sessionID: string, req: any, resp: any, body: any): void; - getImage(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInraidCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInraidCallbacks.d.ts deleted file mode 100644 index e959b98..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IRegisterPlayerRequestData } from "../../eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../../eft/inRaid/ISaveProgressRequestData"; -export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts deleted file mode 100644 index 082112d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IGetInsuranceCostRequestData } from "../../eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "../../eft/insurance/IInsureRequestData"; -export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts deleted file mode 100644 index e53f7d0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IInventoryFoldRequestData } from "../../eft/inventory/IInventoryFoldRequestData"; -import { IInventorySplitRequestData } from "../../eft/inventory/IInventorySplitRequestData"; -import { IInventoryMoveRequestData } from "../../eft/inventory/IInventoryMoveRequestData"; -import { IInventoryMergeRequestData } from "../../eft/inventory/IInventoryMergeRequestData"; -import { IInventoryRemoveRequestData } from "../../eft/inventory/IInventoryRemoveRequestData"; -import { IInventoryTransferRequestData } from "../../eft/inventory/IInventoryTransferRequestData"; -import { IInventorySwapRequestData } from "../../eft/inventory/IInventorySwapRequestData"; -import { IInventoryToggleRequestData } from "../../eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTagRequestData } from "../../eft/inventory/IInventoryTagRequestData"; -import { IInventoryBindRequestData } from "../../eft/inventory/IInventoryBindRequestData"; -import { IInventoryExamineRequestData } from "../../eft/inventory/IInventoryExamineRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../../eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventorySortRequestData } from "../../eft/inventory/IInventorySortRequestData"; -import { IInventoryCreateMarkerRequestData } from "../../eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../../eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../../eft/inventory/IInventoryEditMarkerRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IInventoryCallbacks { - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts deleted file mode 100644 index 59db771..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IItemEventCallbacks { - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts deleted file mode 100644 index 52dfec6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IRegisterData } from "../../eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../../eft/launcher/IRemoveProfileData"; -import { ILoginRequestData } from "../../eft/launcher/ILoginRequestData"; -import { IChangeRequestData } from "../../eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "../../eft/launcher/IGetMiniProfileRequestData.js"; -export interface ILauncherCallbacks { - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; - getServerVersion(): string; - ping(url: string, info: any, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ILocationCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ILocationCallbacks.d.ts deleted file mode 100644 index 71656a4..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IGetLocationRequestData } from "../../eft/location/IGetLocationRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILocationsGenerateAllResponse } from "../../eft/common/ILocationsSourceDestinationBase"; -import { ILocationBase } from "../../eft/common/ILocationBase"; -export interface ILocationCallbacks { - getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IMatchCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IMatchCallbacks.d.ts deleted file mode 100644 index fcbf173..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IMatchCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { IStartOfflineRaidRequestData } from "../../eft/match/IStartOffineRaidRequestData"; -import { IEndOfflineRaidRequestData } from "../../eft/match/IEndOfflineRaidRequestData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IPmcData } from "../../eft/common/IPmcData"; -export interface IMatchCallbacks { - updatePing(url: string, info: any, sessionID: string): INullResponseData; - exitMatch(url: string, info: any, sessionID: string): INullResponseData; - exitToMenu(url: string, info: any, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: any, sessionID: string): INullResponseData; - getProfile(url: string, info: any, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: any, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: any, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: any, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: any, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IModCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IModCallbacks.d.ts deleted file mode 100644 index 1a4cd7b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IModCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IModCallbacks { - load(): void; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/INoteCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/INoteCallbacks.d.ts deleted file mode 100644 index 8453a4f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/INoteCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { INoteActionData } from "../../eft/notes/INoteActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface INoteCallbacks { - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/INotifierCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/INotifierCallbacks.d.ts deleted file mode 100644 index a211310..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../../eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../../eft/notifier/ISelectProfileRequestData"; -export interface INotifierCallbacks { - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts deleted file mode 100644 index 97c6487..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IPresetBuildActionRequestData } from "../../eft/presetBuild/IPresetBuildActionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { WeaponBuild } from "../../eft/profile/IAkiProfile"; -export interface IPresetBuildCallbacks { - getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IPresetCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IPresetCallbacks.d.ts deleted file mode 100644 index 4169857..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IPresetCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPresetCallbacks { - load(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IProfileCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IProfileCallbacks.d.ts deleted file mode 100644 index 9d4d2df..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "../../eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../../eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../../eft/profile/IProfileCreateRequestData"; -import { IValidateNicknameRequestData } from "../../eft/profile/IValidateNicknameRequestData"; -import { ISearchFriendRequestData } from "../../eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../../eft/profile/ISearchFriendResponse"; -export interface IProfileCallbacks { - onLoad(sessionID: string): any; - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IQuestCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IQuestCallbacks.d.ts deleted file mode 100644 index 1c4d0c3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAcceptQuestRequestData } from "../../eft/quests/IAcceptQuestRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IListQuestsRequestData } from "../../eft/quests/IListQuestsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { ICompleteQuestRequestData } from "../../eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../../eft/quests/IHandoverQuestRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../../eft/common/tables/IRepeatableQuests"; -import { IRepeatableQuestChangeRequest } from "../../eft/quests/IRepeatableQuestChangeRequest"; -export interface IQuestCallbacks { - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts deleted file mode 100644 index 9282bd4..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISearchRequestData } from "../../eft/ragfair/ISearchRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetMarketPriceRequestData } from "../../eft/ragfair/IGetMarketPriceRequestData"; -import { IAddOfferRequestData } from "../../eft/ragfair/IAddOfferRequestData"; -import { IRemoveOfferRequestData } from "../../eft/ragfair/IRemoveOfferRequestData"; -import { IExtendOfferRequestData } from "../../eft/ragfair/IExtendOfferRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetItemPriceResult } from "../../eft/ragfair/IGetItemPriceResult"; -export interface IRagfairCallbacks { - load(): void; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; - updatePlayer(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IRepairCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IRepairCallbacks.d.ts deleted file mode 100644 index e8183c9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../../eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../../eft/repair/ITraderRepairActionDataRequest"; -export interface IRepairCallbacks { - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ISaveCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ISaveCallbacks.d.ts deleted file mode 100644 index 1ad3b82..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ISaveCallbacks.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ISaveCallbacks { - load(): void; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ITradeCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ITradeCallbacks.d.ts deleted file mode 100644 index 2f41d54..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../../eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../../eft/trade/IProcessBaseTradeRequestData"; -export interface ITradeCallbacks { - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ITraderCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ITraderCallbacks.d.ts deleted file mode 100644 index e0d7d06..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../../eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface ITraderCallbacks { - load(): void; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts deleted file mode 100644 index 9ac72ae..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -export interface IWeatherCallbacks { - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts deleted file mode 100644 index e5d519c..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IWishlistActionData } from "../../eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IWishlistCallbacks { - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IAirdropConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IAirdropConfig.d.ts deleted file mode 100644 index f4aee89..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IAirdropConfig.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; - airdropChancePercent: AirdropChancePercent; - airdropMinOpenHeight: number; - airdropMaxOpenHeight: number; - planeMinFlyHeight: number; - planeMaxFlyHeight: number; - planeVolume: number; - airdropMinStartTimeSeconds: number; - airdropMaxStartTimeSeconds: number; -} -export interface AirdropChancePercent { - bigmap: number; - woods: number; - lighthouse: number; - shoreline: number; - interchange: number; - reserve: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IBaseConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IBaseConfig.d.ts deleted file mode 100644 index 8b6ba88..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IBaseConfig.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseConfig { - kind: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IBotConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IBotConfig.d.ts deleted file mode 100644 index e171087..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IBotConfig.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; - presetBatch: PresetBatch; - bosses: string[]; - durability: Durability; - lootNValue: LootNvalue; - revenge: Record; - pmc: PmcConfig; - itemSpawnLimits: Record>; - equipment: Record; - showTypeInNickname: boolean; - maxBotCap: number; - secureContainerAmmoStackCount: number; -} -export interface PresetBatch { - assault: number; - bossBully: number; - bossGluhar: number; - bossKilla: number; - bossKojaniy: number; - bossSanitar: number; - bossTagilla: number; - bossKnight: number; - bossTest: number; - cursedAssault: number; - followerBully: number; - followerGluharAssault: number; - followerGluharScout: number; - followerGluharSecurity: number; - followerGluharSnipe: number; - followerKojaniy: number; - followerSanitar: number; - followerTagilla: number; - followerBirdEye: number; - followerBigPipe: number; - followerTest: number; - marksman: number; - pmcBot: number; - sectantPriest: number; - sectantWarrior: number; - gifter: number; - test: number; - exUsec: number; -} -export interface Durability { - default: DefaultDurability; - pmc: PmcDurability; - boss: BotDurability; - follower: BotDurability; - assault: BotDurability; - cursedassault: BotDurability; - marksman: BotDurability; - pmcbot: BotDurability; - exusec: BotDurability; - sectantpriest: BotDurability; - sectantwarrior: BotDurability; -} -export interface DefaultDurability { - armor: DefaultArmor; - weapon: WeaponDurability; -} -export interface DefaultArmor { - maxDelta: number; - minDelta: number; -} -export interface WeaponDurability { - lowestMax: number; - highestMax: number; - maxDelta: number; - minDelta: number; -} -export interface PmcDurability { - armor: PmcDurabilityArmor; - weapon: WeaponDurability; -} -export interface PmcDurabilityArmor { - lowestMaxPercent: number; - highestMaxPercent: number; - maxDelta: number; - minDelta: number; -} -export interface BotDurability { - armor: ArmorDurability; - weapon: WeaponDurability; -} -export interface ArmorDurability { - maxDelta: number; - minDelta: number; -} -export interface LootNvalue { - scav: number; - pmc: number; -} -export interface PmcConfig { - dynamicLoot: PmcDynamicLoot; - difficulty: string; - looseWeaponInBackpackChancePercent: number; - looseWeaponInBackpackLootMinMax: MinMax; - isUsec: number; - chanceSameSideIsHostilePercent: number; - usecType: string; - bearType: string; - maxBackpackLootTotalRub: number; - maxPocketLootTotalRub: number; - maxVestLootTotalRub: number; - convertIntoPmcChance: Record; - enemyTypes: string[]; -} -export interface PmcDynamicLoot { - whitelist: string[]; - blacklist: string[]; - moneyStackLimits: Record; -} -export interface Equipment { - blacklist: EquipmentFilterDetails[]; - whitelist: EquipmentFilterDetails[]; -} -export interface EquipmentFilterDetails { - levelRange: MinMax; - equipment: Record; - cartridge: Record; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ICoreConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ICoreConfig.d.ts deleted file mode 100644 index cfcaf61..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ICoreConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; - projectName: string; - compatibleTarkovVersion: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHealthConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHealthConfig.d.ts deleted file mode 100644 index fdbf656..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHealthConfig.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; - healthMultipliers: HealthMultipliers; - save: Save; -} -export interface HealthMultipliers { - death: number; - blacked: number; -} -export interface Save { - health: boolean; - effects: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHideoutConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHideoutConfig.d.ts deleted file mode 100644 index 36d6246..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHideoutConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; - runIntervalSeconds: number; - fuelDrainRateMultipler: number; - hoursForSkillCrafting: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHttpConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHttpConfig.d.ts deleted file mode 100644 index c41d035..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IHttpConfig.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; - ip: string; - port: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInRaidConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInRaidConfig.d.ts deleted file mode 100644 index 3ae2972..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInRaidConfig.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; - MIAOnRaidEnd: boolean; - raidMenuSettings: RaidMenuSettings; - save: Save; - carExtracts: string[]; - carExtractBaseStandingGain: number; - scavExtractGain: number; -} -export interface RaidMenuSettings { - aiAmount: string; - aiDifficulty: string; - bossEnabled: boolean; - scavWars: boolean; - taggedAndCursed: boolean; - enablePve: boolean; -} -export interface Save { - loot: boolean; - durability: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInsuranceConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInsuranceConfig.d.ts deleted file mode 100644 index b27e753..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInsuranceConfig.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; - insuranceMultiplier: Record; - returnChancePercent: Record; - blacklistedEquipment: string[]; - slotIdsWithChanceOfNotReturning: string[]; - runIntervalSeconds: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInventoryConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInventoryConfig.d.ts deleted file mode 100644 index ffffa41..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IInventoryConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; - newItemsMarkedFound: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ILocaleConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ILocaleConfig.d.ts deleted file mode 100644 index fe9abf7..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ILocaleConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; - desiredLocale: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ILocationConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ILocationConfig.d.ts deleted file mode 100644 index 0551d57..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ILocationConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; - looseLootMultiplier: LootMultiplier; - staticLootMultiplier: LootMultiplier; -} -export interface LootMultiplier { - bigmap: number; - develop: number; - factory4_day: number; - factory4_night: number; - interchange: number; - laboratory: number; - rezervbase: number; - shoreline: number; - woods: number; - hideout: number; - lighthouse: number; - privatearea: number; - suburbs: number; - tarkovstreets: number; - terminal: number; - town: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IMatchConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IMatchConfig.d.ts deleted file mode 100644 index 92c4d77..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IMatchConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; - enabled: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IPlayerScavConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IPlayerScavConfig.d.ts deleted file mode 100644 index 5ac3966..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IPlayerScavConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; - karmaLevel: Record; -} -export interface KarmaLevel { - botTypeForLoot: string; - modifiers: Modifiers; - itemLimits: ItemLimits; - equipmentBlacklist: Record; -} -export interface Modifiers { - equipment: Record; - mod: Record; -} -export interface ItemLimits { - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - grenades: MinMax; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IQuestConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IQuestConfig.d.ts deleted file mode 100644 index be4a97b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IQuestConfig.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { ELocationName } from "../../enums/ELocationName"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; - repeatableQuests: IRepeatableQuestConfig[]; -} -export interface IRepeatableQuestConfig { - name: string; - types: string[]; - resetTime: number; - numQuests: number; - minPlayerLevel: number; - rewardScaling: IRewardScaling; - locations: Record; - traderWhitelist: ITraderWhitelist[]; - questConfig: IQuestConfig; -} -export interface IRewardScaling { - levels: number[]; - experience: number[]; - roubles: number[]; - items: number[]; - reputation: number[]; - rewardSpread: number; -} -export interface ITraderWhitelist { - traderId: string; - questTypes: string[]; -} -export interface IQuestConfig { - Exploration: IExploration; - Completion: ICompletion; - Elimination: IElimination; -} -export interface IExploration { - maxExtracts: number; - specificExits: ISpecificExits; -} -export interface ISpecificExits { - probability: number; - passageRequirementWhitelist: string[]; -} -export interface ICompletion { - minRequestedAmount: number; - maxRequestedAmount: number; - minRequestedBulletAmount: number; - maxRequestedBulletAmount: number; - useWhitelist: boolean; - useBlacklist: boolean; -} -export interface IElimination { - targets: ITarget[]; - bodyPartProb: number; - bodyParts: IBodyPart[]; - specificLocationProb: number; - distLocationBlacklist: string[]; - distProb: number; - maxDist: number; - minDist: number; - maxKills: number; - minKills: number; -} -export interface IProbabilityObject { - key: string; - relativeProbability: number; - data?: any; -} -export interface ITarget extends IProbabilityObject { - data: IBossInfo; -} -export interface IBossInfo { - isBoss: boolean; -} -export interface IBodyPart extends IProbabilityObject { - data: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IRagfairConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IRagfairConfig.d.ts deleted file mode 100644 index c24e617..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IRagfairConfig.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; - runIntervalSeconds: number; - sell: Sell; - traders: Record; - dynamic: Dynamic; -} -export interface Sell { - fees: boolean; - chance: Chance; - time: Time; - reputation: Reputation; -} -export interface Chance { - base: number; - overprices: number; - underpriced: number; -} -export interface Time { - base: number; - min: number; - max: number; -} -export interface Reputation { - gain: number; - loss: number; -} -export interface Dynamic { - expiredOfferThreshold: number; - offerItemCount: MinMax; - price: MinMax; - presetPrice: MinMax; - endTimeSeconds: MinMax; - condition: Condition; - stackablePercent: MinMax; - nonStackableCount: MinMax; - rating: MinMax; - currencies: Record; - showAsSingleStack: string[]; - blacklist: Blacklist; -} -export interface Condition { - conditionChance: number; - min: number; - max: number; -} -export interface Blacklist { - /** - * show/hide trader items that are blacklisted by bsg - */ - traderItems: boolean; - custom: string[]; - enableBsgList: boolean; - enableQuestList: boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IRepairConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IRepairConfig.d.ts deleted file mode 100644 index 23e6838..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IRepairConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; - priceMultiplier: number; - applyRandomizeDurabilityLoss: boolean; - weaponSkillRepairGain: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IScavCaseConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IScavCaseConfig.d.ts deleted file mode 100644 index df5dae0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IScavCaseConfig.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; - rewardItemValueRangeRub: Record; - moneyRewards: MoneyRewards; - ammoRewards: AmmoRewards; - rewardItemParentBlacklist: string[]; - rewardItemBlacklist: string[]; -} -export interface MoneyRewards { - moneyRewardChancePercent: number; - rubCount: MoneyLevels; - usdCount: MoneyLevels; - eurCount: MoneyLevels; -} -export interface MoneyLevels { - common: MinMax; - rare: MinMax; - superrare: MinMax; -} -export interface AmmoRewards { - ammoRewardChancePercent: number; - ammoRewardBlacklist: Record; - ammoRewardValueRangeRub: Record; - minStackSize: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ITraderConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ITraderConfig.d.ts deleted file mode 100644 index c8e8044..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/ITraderConfig.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; - updateTime: UpdateTime[]; - updateTimeDefault: number; - traderPriceMultipler: number; - minDurabilityForSale: number; - fence: FenceConfig; -} -export interface UpdateTime { - traderId: string; - seconds: number; -} -export interface FenceConfig { - assortSize: number; - maxPresetsCount: number; - presetPriceMult: number; - blacklist: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IWeatherConfig.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IWeatherConfig.d.ts deleted file mode 100644 index bbdc43e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/config/IWeatherConfig.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; - acceleration: number; - weather: Weather; -} -export interface Weather { - clouds: MinMax; - windSpeed: MinMax; - windDirection: MinMax; - windGustiness: MinMax; - rain: MinMax; - rainIntensity: MinMax; - fog: MinMax; - temp: MinMax; - pressure: MinMax; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/controllers/IBotController.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/controllers/IBotController.d.ts deleted file mode 100644 index 010e208..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/controllers/IBotController.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { Difficulty } from "../../eft/common/tables/IBotType"; -export interface IBotController { - getBotLimit(type: string): number; - getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - generate(info: IGenerateBotsRequestData, playerScav: boolean): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IBotGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IBotGenerator.d.ts deleted file mode 100644 index 9043945..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IBotGenerator.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Inventory as PmcInventory } from "../../eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation } from "../../eft/common/tables/IBotType"; -export interface IBotGenerator { - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; -} -export interface IExhaustableArray { - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/ILocationGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/ILocationGenerator.d.ts deleted file mode 100644 index 530ceca..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/ILocationGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../../eft/common/tables/ILootBase"; -import { ILooseLoot, SpawnpointTemplate } from "../../eft/common/ILooseLoot"; -export interface ILocationGenerator { - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IPMCLootGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IPMCLootGenerator.d.ts deleted file mode 100644 index a9db89b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IPMCLootGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IPMCLootGenerator { - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts deleted file mode 100644 index 6670540..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairAssortGenerator { - getAssortItems(): Item[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts deleted file mode 100644 index 30b4be5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBarterScheme } from "../../eft/common/tables/ITrader"; -import { IRagfairOffer } from "../../eft/ragfair/IRagfairOffer"; -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairOfferGenerator { - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/helpers/Traders.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts deleted file mode 100644 index 1b5af39..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface ScavCaseRewardCountsAndPrices { - common: RewardCountAndPriceDetails; - rare: RewardCountAndPriceDetails; - superrare: RewardCountAndPriceDetails; -} -export interface RewardCountAndPriceDetails { - minCount: number; - maxCount: number; - minPriceRub: number; - maxPriceRub: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/LogBackgroundColor.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/LogBackgroundColor.d.ts deleted file mode 100644 index 87e08a9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/LogBackgroundColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogBackgroundColor { - default = "", - black = "blackBG", - red = "redBG", - green = "greenBG", - yellow = "yellowBG", - blue = "blueBG", - magenta = "magentaBG", - cyan = "cyanBG", - white = "whiteBG" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/LogTextColor.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/LogTextColor.d.ts deleted file mode 100644 index 7147ae3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/LogTextColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogTextColor { - black = "black", - red = "red", - green = "green", - yellow = "yellow", - blue = "blue", - magenta = "magenta", - cyan = "cyan", - white = "white", - gray = "" -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/SptLogger.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/SptLogger.d.ts deleted file mode 100644 index ea1b3d8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/logging/SptLogger.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface SptLogger { - error: (msg: string | Record) => void; - warn: (msg: string | Record) => void; - succ?: (msg: string | Record) => void; - info: (msg: string | Record) => void; - debug: (msg: string | Record) => void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IMod.d.ts deleted file mode 100644 index e6eec79..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IMod.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare namespace ModLoader { - interface IMod { - name: string; - version: string; - main?: string; - author?: string; - license: string; - dependencies?: Record; - } -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IModLoader.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IModLoader.d.ts deleted file mode 100644 index 40a5e19..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IModLoader.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export interface IModLoader { - load(container: DependencyContainer): void; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IPackageJsonData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IPackageJsonData.d.ts deleted file mode 100644 index 99e4ef9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/IPackageJsonData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IPackageJsonData { - incompatibilities?: string[]; - dependencies?: string[]; - modDependencies?: Record; - name: string; - author: string; - version: string; - akiVersion: string; - licence: string; - main: string; - contributors: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/NewItemDetails.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/NewItemDetails.d.ts deleted file mode 100644 index fc69a06..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/mod/NewItemDetails.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { ITemplateItem, Props } from "../../eft/common/tables/ITemplateItem"; -export declare abstract class NewItemDetailsBase { - /** Price of the item on flea market */ - fleaPriceRoubles: number; - /** Price of the item in the handbook */ - handbookPriceRoubles: number; - /** - * A dictionary for locale settings, key = langauge (e.g. en,cn,es-mx,jp,fr) - * If a language is not included, the first item in the array will be used in its place - */ - locales: Record; -} -export declare class NewItemFromCloneDetails extends NewItemDetailsBase { - /** Id of the item to copy and use as a base */ - itemTplToClone: string; - /** Item properties that should be applied over the top of the cloned base */ - overrideProperties: Props; - /** ParentId for the new item (item type) */ - parentId: string; - /** - * the id the new item should have, leave blank to have one generated for you - * This is often known as the TplId, or TemplateId - */ - newId: string; -} -export declare class NewItemDetails extends NewItemDetailsBase { - newItem: ITemplateItem; -} -export declare class LocaleDetails { - name: string; - shortName: string; - description: string; -} -export declare class CreateItemResult { - constructor(); - success: boolean; - itemId: string; - errors: string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts deleted file mode 100644 index c7d246a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRagfairServerPrices { - static: Record; - dynamic: Record; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IDatabaseTables.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IDatabaseTables.d.ts deleted file mode 100644 index 9978459..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IDatabaseTables.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { IGlobals } from "../../eft/common/IGlobals"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { IBotType } from "../../eft/common/tables/IBotType"; -import { ICustomizationItem } from "../../eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "../../eft/common/tables/IHandbookBase"; -import { ILootBase } from "../../eft/common/tables/ILootBase"; -import { IMatch } from "../../eft/common/tables/IMatch"; -import { IProfileTemplates } from "../../eft/common/tables/IProfileTemplate"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "../../eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -import { ITrader } from "../../eft/common/tables/ITrader"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { ILocaleBase } from "./ILocaleBase"; -import { ILocations } from "./ILocations"; -import { IServerBase } from "./IServerBase"; -import { ISettingsBase } from "./ISettingsBase"; -export interface IDatabaseTables { - bots?: { - types: Record; - base: IBotBase; - core: IBotCore; - }; - hideout?: { - areas: IHideoutArea[]; - production: IHideoutProduction[]; - scavcase: IHideoutScavCase[]; - settings: IHideoutSettingsBase; - }; - locales?: ILocaleBase; - locations?: ILocations; - loot?: ILootBase; - match?: IMatch; - templates?: { - character: string[]; - items: Record; - quests: IQuest[]; - repeatableQuests: IRepeatableQuestDatabase; - /** DEPRECATED - Items file found in the client, massivly out of date compared to templates.items, try not to use this, remove ASAP*/ - clientItems: Record; - handbook: IHandbookBase; - customization: Record; - /** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */ - profiles: IProfileTemplates; - /** Flea prices of items - gathered from online flea market dump */ - prices: Record; - }; - traders?: Record; - globals?: IGlobals; - server?: IServerBase; - settings?: ISettingsBase; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IHttpServer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IHttpServer.d.ts deleted file mode 100644 index c828399..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IHttpServer.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { INotification } from "../../eft/notifier/INotifier"; -export interface IHttpServer { - load(): void; - getCookies(req: http.IncomingMessage): any; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - sendMessage(sessionID: string, output: INotification): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ILocaleBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ILocaleBase.d.ts deleted file mode 100644 index 8887c06..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ILocaleBase.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -export interface ILocaleBase { - global: Record; - menu: Record; - languages: ILanguageBase[]; -} -export interface ILocaleGlobalBase { - interface: Record; - enum: any[]; - mail: Record; - quest: Record; - preset: Record; - handbook: Record; - season: Record; - customization: Record; - repeatableQuest: Record; - templates: ILocaleTemplateBase; - locations: ILocaleLocationsBase; - banners: ILocaleBannersBase; - trading: ILocaleTradingBase; -} -export interface ILocaleQuest { - name: string; - description: string; - note: string; - failMessageText: string; - startedMessageText: string; - successMessageText: string; - conditions: Record; - location: string; -} -export interface ILocalePreset { - Name: string; -} -export interface ILocaleTemplateBase { - templates: Record; -} -export interface ILocaleLocationsBase { - locations: Record; -} -export interface ILocaleBannersBase { - locations: Record; -} -export interface ILocaleProps { - Name: string; - ShortName: string; - Description: string; -} -export interface ILocaleTradingBase { - locations: Record; -} -export interface ILocaleTradingProps { - FullName: string; - FirstName: string; - Nickname: string; - Location: string; - Description: string; -} -export interface ILanguageBase { - ShortName: string; - Name: string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ILocations.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ILocations.d.ts deleted file mode 100644 index 18f0262..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ILocations.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ILocationBase } from "../../eft/common/ILocationBase"; -import { ILooseLoot } from "../../eft/common/ILooseLoot"; -import { ILocationsBase } from "../../eft/common/tables/ILocationsBase"; -export interface ILocations { - bigmap?: ILocationData; - develop?: ILocationData; - factory4_day?: ILocationData; - factory4_night?: ILocationData; - hideout?: ILocationData; - interchange?: ILocationData; - laboratory?: ILocationData; - lighthouse?: ILocationData; - privatearea?: ILocationData; - rezervbase?: ILocationData; - shoreline?: ILocationData; - suburbs?: ILocationData; - tarkovstreets?: ILocationData; - terminal?: ILocationData; - town?: ILocationData; - woods?: ILocationData; - base?: ILocationsBase; -} -export interface ILocationData { - base: ILocationBase; - looseLoot?: ILooseLoot; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IServerBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IServerBase.d.ts deleted file mode 100644 index d033db3..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/IServerBase.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IServerBase { - ip: string; - port: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ISettingsBase.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ISettingsBase.d.ts deleted file mode 100644 index c067cda..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/server/ISettingsBase.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -export interface ISettingsBase { - config: Config; -} -export interface Config { - AFKTimeoutSeconds: number; - AdditionalRandomDelaySeconds: number; - ClientSendRateLimit: number; - CriticalRetriesCount: number; - DefaultRetriesCount: number; - FirstCycleDelaySeconds: number; - FramerateLimit: FramerateLimit; - GroupStatusInterval: number; - KeepAliveInterval: number; - Mark502and504AsNonImportant: boolean; - MemoryManagementSettings: MemoryManagementSettings; - NVidiaHighlights: boolean; - NextCycleDelaySeconds: number; - PingServerResultSendInterval: number; - PingServersInterval: number; - ReleaseProfiler: ReleaseProfiler; - SecondCycleDelaySeconds: number; - TurnOffLogging: boolean; - WeaponOverlapDistanceCulling: number; - WebDiagnosticsEnabled: boolean; -} -export interface FramerateLimit { - MaxFramerateGameLimit: number; - MaxFramerateLobbyLimit: number; - MinFramerateLimit: number; -} -export interface MemoryManagementSettings { - AggressiveGC: boolean; - GigabytesRequiredToDisableGCDuringRaid: number; - HeapPreAllocationEnabled: boolean; - HeapPreAllocationMB: number; - OverrideRamCleanerSettings: boolean; - RamCleanerEnabled: boolean; -} -export interface ReleaseProfiler { - Enabled: boolean; - MaxRecords: number; - RecordTriggerValue: number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/services/CustomPreset.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/services/CustomPreset.d.ts deleted file mode 100644 index f07382e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/services/CustomPreset.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Preset } from "../../eft/common/IGlobals"; -export interface CustomPreset { - key: string; - preset: Preset; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/services/CustomTraderAssortData.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/services/CustomTraderAssortData.d.ts deleted file mode 100644 index 265a26a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/services/CustomTraderAssortData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../../eft/common/tables/ITrader"; -import { Traders } from "../../enums/Traders"; -export interface CustomTraderAssortData { - traderId: Traders; - assorts: ITraderAssort; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/IAsyncQueue.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/IAsyncQueue.d.ts deleted file mode 100644 index 2be801a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/IAsyncQueue.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ICommand } from "./ICommand"; -export interface IAsyncQueue { - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/ICommand.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/ICommand.d.ts deleted file mode 100644 index 696bb83..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/ICommand.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ICommand { - uuid: string; - cmd: () => Promise; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/ILogger.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/ILogger.d.ts deleted file mode 100644 index 2af3fac..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/ILogger.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Daum } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../logging/LogBackgroundColor"; -import { LogTextColor } from "../logging/LogTextColor"; -export interface ILogger { - writeToLogFile(data: string | Daum): void; - log(data: string | Record | Error, color: string, backgroundColor?: string): void; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): void; - error(data: string): void; - warning(data: string): void; - success(data: string): void; - info(data: string): void; - debug(data: string | Record, onlyShowInConsole?: boolean): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/IUuidGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/IUuidGenerator.d.ts deleted file mode 100644 index 3870469..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/models/spt/utils/IUuidGenerator.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUUidGenerator { - generate(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/HttpRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/HttpRouter.d.ts deleted file mode 100644 index f75a47d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/HttpRouter.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { DynamicRouter, Router, StaticRouter } from "../di/Router"; -export declare class HttpRouter { - protected staticRouters: StaticRouter[]; - protected dynamicRoutes: DynamicRouter[]; - constructor(staticRouters: StaticRouter[], dynamicRoutes: DynamicRouter[]); - protected groupBy(list: T[], keyGetter: (t: T) => string): Map; - getResponse(req: IncomingMessage, info: any, sessionID: string): string; - protected handleRoute(url: string, info: any, sessionID: string, wrapper: ResponseWrapper, routers: Router[], dynamic: boolean): boolean; -} -declare class ResponseWrapper { - output: string; - constructor(output: string); -} -export {}; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/ImageRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/ImageRouter.d.ts deleted file mode 100644 index ab03977..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/ImageRouter.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// -import { IncomingMessage, ServerResponse } from "http"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ImageRouteService } from "../services/mod/image/ImageRouteService"; -import { VFS } from "../utils/VFS"; -export declare class ImageRouter { - protected vfs: VFS; - protected imageRouteService: ImageRouteService; - constructor(vfs: VFS, imageRouteService: ImageRouteService); - addRoute(key: string, valueToAdd: string): void; - sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void; - getImage(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/ItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/ItemEventRouter.d.ts deleted file mode 100644 index b1ac5d9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/ItemEventRouter.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { ItemEventRouterDefinition } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class ItemEventRouter { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected itemEventRouters: ItemEventRouterDefinition[]; - constructor(logger: ILogger, jsonUtil: JsonUtil, profileHelper: ProfileHelper, itemEventRouters: ItemEventRouterDefinition[]); - protected output: IItemEventRouterResponse; - handleEvents(info: IItemEventRouterRequest, sessionID: string): IItemEventRouterResponse; - getOutput(sessionID: string): IItemEventRouterResponse; - protected resetOutput(sessionID: string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/BotDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/BotDynamicRouter.d.ts deleted file mode 100644 index 6d0ab4b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/BotDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BotDynamicRouter extends DynamicRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/BundleDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/BundleDynamicRouter.d.ts deleted file mode 100644 index a765410..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/BundleDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BundleDynamicRouter extends DynamicRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts deleted file mode 100644 index 2db7cc5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class CustomizationDynamicRouter extends DynamicRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/DataDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/DataDynamicRouter.d.ts deleted file mode 100644 index 836ed8d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/DataDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class DataDynamicRouter extends DynamicRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/HttpDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/HttpDynamicRouter.d.ts deleted file mode 100644 index a152b4d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/HttpDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter } from "../../di/Router"; -import { ImageRouter } from "../ImageRouter"; -export declare class HttpDynamicRouter extends DynamicRouter { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/InraidDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/InraidDynamicRouter.d.ts deleted file mode 100644 index 7c0561f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/InraidDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class InraidDynamicRouter extends DynamicRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/LocationDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/LocationDynamicRouter.d.ts deleted file mode 100644 index b8e5cdf..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/LocationDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class LocationDynamicRouter extends DynamicRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/NotifierDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/NotifierDynamicRouter.d.ts deleted file mode 100644 index 83c60c5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class NotifierDynamicRouter extends DynamicRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/TraderDynamicRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/TraderDynamicRouter.d.ts deleted file mode 100644 index 5b7cc1b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/dynamic/TraderDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class TraderDynamicRouter extends DynamicRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/CustomizationItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/CustomizationItemEventRouter.d.ts deleted file mode 100644 index e78445e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/HealthItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/HealthItemEventRouter.d.ts deleted file mode 100644 index 99847c6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/HealthItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HealthItemEventRouter extends ItemEventRouterDefinition { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/HideoutItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/HideoutItemEventRouter.d.ts deleted file mode 100644 index e1e98af..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/HideoutItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutCallbacks } from "../../callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { - protected hideoutCallbacks: HideoutCallbacks; - constructor(hideoutCallbacks: HideoutCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/InsuranceItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/InsuranceItemEventRouter.d.ts deleted file mode 100644 index a922cc0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/InventoryItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/InventoryItemEventRouter.d.ts deleted file mode 100644 index 2619bb9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/InventoryItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InventoryCallbacks } from "../../callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { - protected inventoryCallbacks: InventoryCallbacks; - constructor(inventoryCallbacks: InventoryCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/NoteItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/NoteItemEventRouter.d.ts deleted file mode 100644 index 59bf598..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/NoteItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { NoteCallbacks } from "../../callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class NoteItemEventRouter extends ItemEventRouterDefinition { - protected noteCallbacks: NoteCallbacks; - constructor(noteCallbacks: NoteCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts deleted file mode 100644 index 277db44..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class PresetBuildItemEventRouter extends ItemEventRouterDefinition { - protected presetBuildCallbacks: PresetBuildCallbacks; - constructor(presetBuildCallbacks: PresetBuildCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/QuestItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/QuestItemEventRouter.d.ts deleted file mode 100644 index a092aa6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/QuestItemEventRouter.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class QuestItemEventRouter extends ItemEventRouterDefinition { - protected logger: ILogger; - protected questCallbacks: QuestCallbacks; - constructor(logger: ILogger, questCallbacks: QuestCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(eventAction: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/RagfairItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/RagfairItemEventRouter.d.ts deleted file mode 100644 index 9216cc5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/RagfairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/RepairItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/RepairItemEventRouter.d.ts deleted file mode 100644 index 5196ba9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/RepairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairCallbacks } from "../../callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RepairItemEventRouter extends ItemEventRouterDefinition { - protected repairCallbacks: RepairCallbacks; - constructor(repairCallbacks: RepairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/TradeItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/TradeItemEventRouter.d.ts deleted file mode 100644 index a43bb0a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/TradeItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { TradeCallbacks } from "../../callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class TradeItemEventRouter extends ItemEventRouterDefinition { - protected tradeCallbacks: TradeCallbacks; - constructor(tradeCallbacks: TradeCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/WishlistItemEventRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/WishlistItemEventRouter.d.ts deleted file mode 100644 index 38497fb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/item_events/WishlistItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { WishlistCallbacks } from "../../callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { - protected wishlistCallbacks: WishlistCallbacks; - constructor(wishlistCallbacks: WishlistCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/HealthSaveLoadRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/HealthSaveLoadRouter.d.ts deleted file mode 100644 index 114f5b2..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class HealthSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/InraidSaveLoadRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/InraidSaveLoadRouter.d.ts deleted file mode 100644 index 4c00b40..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InraidSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts deleted file mode 100644 index 30ce98e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts deleted file mode 100644 index 16c7619..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class ProfileSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/BundleSerializer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/BundleSerializer.d.ts deleted file mode 100644 index 912db83..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/BundleSerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Serializer } from "../../di/Serializer"; -import { BundleLoader } from "../../loaders/BundleLoader"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class BundleSerializer extends Serializer { - protected logger: ILogger; - protected bundleLoader: BundleLoader; - constructor(logger: ILogger, bundleLoader: BundleLoader); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/ImageSerializer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/ImageSerializer.d.ts deleted file mode 100644 index 0e040d4..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/ImageSerializer.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { Serializer } from "../../di/Serializer"; -import { ImageRouter } from "../ImageRouter"; -export declare class ImageSerializer extends Serializer { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/NotifySerializer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/NotifySerializer.d.ts deleted file mode 100644 index 1779ac9..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/serializers/NotifySerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NotifierController } from "../../controllers/NotifierController"; -import { Serializer } from "../../di/Serializer"; -import { HttpServerHelper } from "../../helpers/HttpServerHelper"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -export declare class NotifySerializer extends Serializer { - protected notifierController: NotifierController; - protected httpServerHelper: HttpServerHelper; - constructor(notifierController: NotifierController, httpServerHelper: HttpServerHelper); - serialize(_sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/BotStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/BotStaticRouter.d.ts deleted file mode 100644 index aeea220..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/BotStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BotStaticRouter extends StaticRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/BundleStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/BundleStaticRouter.d.ts deleted file mode 100644 index fb682fc..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/BundleStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BundleStaticRouter extends StaticRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/CustomizationStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/CustomizationStaticRouter.d.ts deleted file mode 100644 index 21bc4bb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/CustomizationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class CustomizationStaticRouter extends StaticRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/DataStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/DataStaticRouter.d.ts deleted file mode 100644 index 84ba7fd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/DataStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DataStaticRouter extends StaticRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/DialogStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/DialogStaticRouter.d.ts deleted file mode 100644 index 546cdf1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/DialogStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DialogueCallbacks } from "../../callbacks/DialogueCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DialogStaticRouter extends StaticRouter { - protected dialogueCallbacks: DialogueCallbacks; - constructor(dialogueCallbacks: DialogueCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/GameStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/GameStaticRouter.d.ts deleted file mode 100644 index a9a7496..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/GameStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { GameCallbacks } from "../../callbacks/GameCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class GameStaticRouter extends StaticRouter { - protected gameCallbacks: GameCallbacks; - constructor(gameCallbacks: GameCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/HealthStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/HealthStaticRouter.d.ts deleted file mode 100644 index 863fd5e..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/HealthStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class HealthStaticRouter extends StaticRouter { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/InraidStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/InraidStaticRouter.d.ts deleted file mode 100644 index b29ad23..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/InraidStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InraidStaticRouter extends StaticRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/InsuranceStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/InsuranceStaticRouter.d.ts deleted file mode 100644 index 5676499..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/InsuranceStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InsuranceStaticRouter extends StaticRouter { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/ItemEventStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/ItemEventStaticRouter.d.ts deleted file mode 100644 index c30a7fc..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/ItemEventStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ItemEventCallbacks } from "../../callbacks/ItemEventCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ItemEventStaticRouter extends StaticRouter { - protected itemEventCallbacks: ItemEventCallbacks; - constructor(itemEventCallbacks: ItemEventCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/LauncherStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/LauncherStaticRouter.d.ts deleted file mode 100644 index 0040cbd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/LauncherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LauncherCallbacks } from "../../callbacks/LauncherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LauncherStaticRouter extends StaticRouter { - protected launcherCallbacks: LauncherCallbacks; - constructor(launcherCallbacks: LauncherCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/LocationStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/LocationStaticRouter.d.ts deleted file mode 100644 index b6de956..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/LocationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LocationStaticRouter extends StaticRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/MatchStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/MatchStaticRouter.d.ts deleted file mode 100644 index 9920a92..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/MatchStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { MatchCallbacks } from "../../callbacks/MatchCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class MatchStaticRouter extends StaticRouter { - protected matchCallbacks: MatchCallbacks; - constructor(matchCallbacks: MatchCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/NotifierStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/NotifierStaticRouter.d.ts deleted file mode 100644 index 8f1f5cc..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/NotifierStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class NotifierStaticRouter extends StaticRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/PresetStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/PresetStaticRouter.d.ts deleted file mode 100644 index a9e7458..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/PresetStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class PresetStaticRouter extends StaticRouter { - protected presetCallbacks: PresetBuildCallbacks; - constructor(presetCallbacks: PresetBuildCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/ProfileStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/ProfileStaticRouter.d.ts deleted file mode 100644 index 83403f2..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/ProfileStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ProfileCallbacks } from "../../callbacks/ProfileCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ProfileStaticRouter extends StaticRouter { - protected profileCallbacks: ProfileCallbacks; - constructor(profileCallbacks: ProfileCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/QuestStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/QuestStaticRouter.d.ts deleted file mode 100644 index 8f7ca0a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/QuestStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class QuestStaticRouter extends StaticRouter { - protected questCallbacks: QuestCallbacks; - constructor(questCallbacks: QuestCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/RagfairStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/RagfairStaticRouter.d.ts deleted file mode 100644 index 6c41467..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/RagfairStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class RagfairStaticRouter extends StaticRouter { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/TraderStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/TraderStaticRouter.d.ts deleted file mode 100644 index 41728a1..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/TraderStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class TraderStaticRouter extends StaticRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/WeatherStaticRouter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/WeatherStaticRouter.d.ts deleted file mode 100644 index 72ed851..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/routers/static/WeatherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { WeatherCallbacks } from "../../callbacks/WeatherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class WeatherStaticRouter extends StaticRouter { - protected weatherCallbacks: WeatherCallbacks; - constructor(weatherCallbacks: WeatherCallbacks); -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/ConfigServer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/ConfigServer.d.ts deleted file mode 100644 index a079be8..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/ConfigServer.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigTypes } from "../models/enums/ConfigTypes"; -export declare class ConfigServer { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected configs: Record; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil); - getConfig(configType: ConfigTypes): T; - getConfigByString(configType: string): T; - initialize(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/DatabaseServer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/DatabaseServer.d.ts deleted file mode 100644 index aa152d0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/DatabaseServer.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -export declare class DatabaseServer { - protected tableData: IDatabaseTables; - getTables(): IDatabaseTables; - setTables(any: any): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/HttpServer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/HttpServer.d.ts deleted file mode 100644 index 44d802b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/HttpServer.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { ApplicationContext } from "../context/ApplicationContext"; -import { Serializer } from "../di/Serializer"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { HttpRouter } from "../routers/HttpRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ConfigServer } from "./ConfigServer"; -import { DatabaseServer } from "./DatabaseServer"; -export declare class HttpServer implements IHttpServer { - protected httpRouter: HttpRouter; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected serializers: Serializer[]; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - constructor(httpRouter: HttpRouter, // TODO: delay required - logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, serializers: Serializer[], configServer: ConfigServer, applicationContext: ApplicationContext); - protected buffers: {}; - protected onReceive: {}; - protected onRespond: {}; - protected httpConfig: IHttpConfig; - protected webSockets: {}; - protected websocketPingHandler: any; - getCookies(req: http.IncomingMessage): any; - resetBuffer(sessionID: string): void; - putInBuffer(sessionID: any, data: any, bufLength: number): boolean; - getFromBuffer(sessionID: string): any; - sendZlibJson(resp: any, output: any, sessionID: string): void; - sendMessage(sessionID: string, output: INotification): void; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - handleRequest(req: http.IncomingMessage, resp: http.ServerResponse): void; - load(): void; - protected getRandomisedMessage(): string; - wsOnConnection(ws: any, req: any): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/RagfairServer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/RagfairServer.d.ts deleted file mode 100644 index bc86cdb..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/RagfairServer.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { ConfigServer } from "./ConfigServer"; -export declare class RagfairServer { - protected logger: ILogger; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, ragfairOfferGenerator: RagfairOfferGenerator, ragfairOfferService: RagfairOfferService, ragfairCategoriesService: RagfairCategoriesService, ragfairRequiredItemsService: RagfairRequiredItemsService, configServer: ConfigServer); - load(): void; - update(): void; - getAllCategories(): Record; - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Disable/Hide an offer from flea - * @param offerId - */ - hideOffer(offerId: string): void; - getOffer(offerID: string): IRagfairOffer; - getOffers(): IRagfairOffer[]; - removeOfferStack(offerID: string, amount: number): void; - doesOfferExist(offerId: string): boolean; - addPlayerOffers(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/SaveServer.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/SaveServer.d.ts deleted file mode 100644 index cb28f49..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/servers/SaveServer.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { IAkiProfile, Info } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { SaveLoadRouter } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class SaveServer { - protected vfs: VFS; - protected saveLoadRouters: SaveLoadRouter[]; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected profileFilepath: string; - protected profiles: {}; - protected onSave: {}; - protected saveMd5: {}; - constructor(vfs: VFS, saveLoadRouters: SaveLoadRouter[], jsonUtil: JsonUtil, hashUtil: HashUtil, logger: ILogger); - load(): void; - save(): void; - getProfile(sessionId: string): IAkiProfile; - getProfiles(): Record; - deleteProfileById(sessionID: string): boolean; - createProfile(profileInfo: Info): void; - addProfile(profileDetails: IAkiProfile): void; - loadProfile(sessionID: string): void; - saveProfile(sessionID: string): void; - removeProfile(sessionID: string): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/BotEquipmentFilterService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/BotEquipmentFilterService.d.ts deleted file mode 100644 index e49645b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/BotEquipmentFilterService.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { Equipment, EquipmentFilterDetails, IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class BotEquipmentFilterService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - protected botEquipmentFilterlists: Record; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Filter a bots data to exclude equipment and cartridges defines in the botConfig - * @param baseBotNode bots json data to filter - * @param playerLevel Level of the currently playing player - * @param isPmc Is the bot we're filtering a PMC - * @param role Role of the bot we're filtering - */ - filterBotEquipment(baseBotNode: IBotType, playerLevel: number, isPmc: boolean, role: string): void; - /** - * Get an object that contains equipment and cartridge blacklists for a specified bot type - * @param botRole Role of the bot we want the blacklist for - * @param playerLevel Level of the player - * @returns EquipmentBlacklistDetails object - */ - protected getBotEquipmentBlacklist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Get the whitelist for a specific bot type that's within the players level - * @param botRole Bot type - * @param playerLevel Players level - * @returns EquipmentFilterDetails object - */ - protected getBotEquipmentWhitelist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Filter bot equipment based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment blacklist - * @returns Filtered bot file - */ - protected filterEquipment(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; - /** - * Filter bot cartridges based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment on this list should be excluded from the bot - * @param whitelist equipment on this list should be used exclusivly - * @returns Filtered bot file - */ - protected filterCartridges(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/BotLootCacheService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/BotLootCacheService.d.ts deleted file mode 100644 index cc71eee..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/BotLootCacheService.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { PMCLootGenerator } from "../generators/PMCLootGenerator"; -import { Items } from "../models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { BotLootCache, LootCacheType } from "../models/spt/bots/BotLootCache"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RagfairPriceService } from "./RagfairPriceService"; -export declare class BotLootCacheService { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected pmcLootGenerator: PMCLootGenerator; - protected ragfairPriceService: RagfairPriceService; - protected lootCache: Record; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, ragfairPriceService: RagfairPriceService); - /** - * Remove all cached bot loot data - */ - clearCache(): void; - /** - * Get the fully created loot array, ordered by price low to high - * @param botRole bot to get loot for - * @param isPmc is the bot a pmc - * @param lootType what type of loot is needed (backpack/pocket/stim/vest etc) - * @param lootPool the full pool of loot (needed when cache is empty) - * @returns ITemplateItem array - */ - getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): ITemplateItem[]; - /** - * Generate loot for a bot and store inside a private class property - * @param botRole bots role (assault / pmcBot etc) - * @param lootPool the full pool of loot we use to create the various sub-categories with - * @param isPmc Is the bot a PMC (alteres what loot is cached) - */ - protected addLootToCache(botRole: string, isPmc: boolean, lootPool: Items): void; - /** - * Ammo/grenades have this property - * @param props - * @returns - */ - protected isBulletOrGrenade(props: Props): boolean; - /** - * Internal and external magazine have this property - * @param props - * @returns - */ - protected isMagazine(props: Props): boolean; - /** - * Medical use items (e.g. morphine/lip balm/grizzly) - * @param props - * @returns - */ - protected isMedicalItem(props: Props): boolean; - /** - * Grenades have this property (e.g. smoke/frag/flash grenades) - * @param props - * @returns - */ - protected isGrenade(props: Props): boolean; - /** - * Check if a bot type exists inside the loot cache - * @param botRole role to check for - * @returns true if they exist - */ - protected botRoleExistsInCache(botRole: string): boolean; - /** - * If lootcache is null, init with empty property arrays - * @param botRole Bot role to hydrate - */ - protected initCacheForBotRole(botRole: string): void; - /** - * Compares two item prices by their flea (or handbook if that doesnt exist) price - * -1 when a < b - * 0 when a === b - * 1 when a > b - * @param itemAPrice - * @param itemBPrice - * @returns - */ - protected compareByValue(itemAPrice: number, itemBPrice: number): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/FenceService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/FenceService.d.ts deleted file mode 100644 index 79058c6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/FenceService.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class FenceService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected fenceAssort: ITraderAssort; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, configServer: ConfigServer); - protected setFenceAssort(fenceAssort: ITraderAssort): void; - getFenceAssorts(): ITraderAssort; - hasExpiredCache(refreshAssort: boolean): boolean; - generateFenceAssortCache(pmcData: IPmcData): void; - /** - * Get the fence level the passed in profile has - * @param pmcData Player profile - * @returns FenceLevel - */ - getFenceInfo(pmcData: IPmcData): FenceLevel; - removeFenceOffer(assortIdToRemove: string): void; - updateFenceOffers(pmcData: IPmcData): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/HashCacheService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/HashCacheService.d.ts deleted file mode 100644 index 5320f28..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/HashCacheService.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -export declare class HashCacheService { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected jsonHashes: any; - protected modHashes: any; - protected readonly modCachePath = "./user/cache/modCache.json"; - constructor(vfs: VFS, hashUtil: HashUtil, jsonUtil: JsonUtil, logger: ILogger); - getStoredModHash(modName: string): string; - modContentMatchesStoredHash(modName: string, modContent: string): boolean; - hashMatchesStoredHash(modName: string, modHash: string): boolean; - storeModContent(modName: string, modContent: string): void; - storeModHash(modName: string, modHash: string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/InsuranceService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/InsuranceService.d.ts deleted file mode 100644 index 171bf10..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/InsuranceService.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { SecureContainerHelper } from "../helpers/SecureContainerHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected secureContainerHelper: SecureContainerHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected traderHelper: TraderHelper; - protected dialogueHelper: DialogueHelper; - protected configServer: ConfigServer; - protected insured: Record>; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, secureContainerHelper: SecureContainerHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, saveServer: SaveServer, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, configServer: ConfigServer); - insuranceExists(sessionId: string): boolean; - insuranceTraderArrayExists(sessionId: string, traderId: string): boolean; - getInsurance(sessionId: string): Record; - getInsuranceItems(sessionId: string, traderId: string): any[]; - resetInsurance(sessionId: string): void; - resetInsuranceTraderArray(sessionId: string, traderId: string): void; - addInsuranceItemToArray(sessionId: string, traderId: string, itemToAdd: any): void; - /** - * Get the rouble price for an item by templateId - * @param itemTpl item tpl to get handbook price for - * @returns handbook price in roubles, Return 0 if not found - */ - getItemPrice(itemTpl: string): number; - /** - * Sends stored insured items as message to player - * @param pmcData profile to modify - * @param sessionID SessionId of current player - * @param mapId Id of the map player died/exited that caused the insurance to be issued on - */ - sendInsuredItems(pmcData: IPmcData, sessionID: string, mapId: string): void; - storeLostGear(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - storeInsuredItemsForReturn(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - protected addGearToSend(pmcData: IPmcData, insuredItem: any, actualItem: any, sessionID: string): any; - getPremium(pmcData: IPmcData, inventoryItem: Item, traderId: string): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/LocaleService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/LocaleService.d.ts deleted file mode 100644 index 33bea7b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/LocaleService.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILocaleConfig } from "../models/spt/config/ILocaleConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class LocaleService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected localeConfig: ILocaleConfig; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Gets the locale key from the locale.json file - * @returns locale e.g en/ge/cz/cn - */ - getDesiredLocale(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/MatchLocationService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/MatchLocationService.d.ts deleted file mode 100644 index c027bec..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/MatchLocationService.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class MatchLocationService { - protected timeUtil: TimeUtil; - protected locations: {}; - constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/ModCompilerService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/ModCompilerService.d.ts deleted file mode 100644 index 26cb4ac..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/ModCompilerService.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import * as ts from "typescript"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { VFS } from "../utils/VFS"; -import { HashCacheService } from "./HashCacheService"; -export declare class ModCompilerService { - protected logger: ILogger; - protected hashCacheService: HashCacheService; - protected vfs: VFS; - constructor(logger: ILogger, hashCacheService: HashCacheService, vfs: VFS); - compileMod(modName: string, modPath: string, modTypeScriptFiles: string[]): Promise; - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; - protected buildDepth(depth: number): string; - protected getNodesModulesPath(depth: number): string; - protected getAkiPath(depth: number): string; - protected getAkiFolder(): string; - protected getNodesModulesFolder(): string; - protected calculateDepth(file: string): number; - protected areFilesReady(fileNames: string[]): boolean; - protected delay(ms: number): Promise; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/NotificationService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/NotificationService.d.ts deleted file mode 100644 index 65a84dd..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/NotificationService.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -export declare class NotificationService { - protected messageQueue: Record; - getMessageQueue(): Record; - getMessageFromQueue(sessionId: string): any[]; - updateMessageOnQueue(sessionId: string, value: any[]): void; - has(sessionID: string): boolean; - /** - * Pop first message from queue. - */ - pop(sessionID: string): any; - /** - * Add message to queue - */ - add(sessionID: string, message: INotification): void; - /** - * Get message queue for session - * @param sessionID - */ - get(sessionID: string): any[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/PaymentService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/PaymentService.d.ts deleted file mode 100644 index a5e538f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/PaymentService.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PaymentService { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, traderHelper: TraderHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Take money and insert items into return to server request - * @param {Object} pmcData - * @param {Object} body - * @param {string} sessionID - * @returns Object - */ - payMoney(pmcData: IPmcData, body: IProcessBuyTradeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Receive money back after selling - * @param {IPmcData} pmcData - * @param {number} amount - * @param {IProcessSellTradeRequestData} body - * @param {IItemEventRouterResponse} output - * @param {string} sessionID - * @returns IItemEventRouterResponse - */ - getMoney(pmcData: IPmcData, amount: number, body: IProcessSellTradeRequestData, output: IItemEventRouterResponse, sessionID: string): IItemEventRouterResponse; - /** - * Recursively checks if the given item is - * inside the stash, that is it has the stash as - * ancestor with slotId=hideout - */ - protected isItemInStash(pmcData: IPmcData, item: Item): boolean; - /** - * Remove currency from player stash/inventory - * @param pmcData Player profile to find and remove currency from - * @param currencyTpl Type of currency to pay - * @param amountToPay money value to pay - * @param sessionID Sessino id - * @param output output object to send to client - * @returns IItemEventRouterResponse - */ - addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Prioritise player stash first over player inventory - * Post-raid healing would often take money out of the players pockets/secure container - * @param a Firsat money stack item - * @param b Second money stack item - * @returns sorted item - */ - protected moneySort(a: Item, b: Item): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/PlayerService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/PlayerService.d.ts deleted file mode 100644 index 519b7e5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/PlayerService.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IPlayerIncrementSkillLevelRequestData } from "../models/eft/player/IPlayerIncrementSkillLevelRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PlayerService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, databaseServer: DatabaseServer); - /** - * increases the profile skill and updates any output - * @param {Object} pmcData - * @param {Object} output - * @param {String} skillName - * @param {Number} amount - */ - incrementSkillLevel(pmcData: IPmcData, output: IPlayerIncrementSkillLevelRequestData, skillName: string, amount: number): void; - /** - * @param {Object} pmcData - * @returns number - */ - calculateLevel(pmcData: IPmcData): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/ProfileFixerService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/ProfileFixerService.d.ts deleted file mode 100644 index ed1dec7..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/ProfileFixerService.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutSlot } from "../models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "../models/enums/HideoutAreas"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { Watermark } from "../utils/Watermark"; -export declare class ProfileFixerService { - protected logger: ILogger; - protected watermark: Watermark; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, watermark: Watermark, databaseServer: DatabaseServer); - /** - * Find issues in the pmc profile data that may cause issues and fix them - * @param pmcProfile profile to check and fix - */ - checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void; - /** - * Add tag to profile to indicate when it was made - * @param fullProfile - */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; - /** - * TODO - make this non-public - currently used by RepeatableQuestController - * Remove unused condition counters - * @param pmcProfile profile to remove old counters from - */ - removeDanglingConditionCounters(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; - protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; - protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; - protected addMissingBonusesProperty(pmcProfile: IPmcData): void; - /** - * Adjust profile quest status and statusTimers object values - * quest.status is numeric e.g. 2 - * quest.statusTimers keys are numeric as strings e.g. "2" - * @param pmcProfile profile to update - */ - protected updateProfileQuestDataValues(pmcProfile: IPmcData): void; - protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; - protected addMissingWorkbenchWeaponSkills(pmcProfile: IPmcData): void; - /** - * A new property was added to slot items "locationIndex", if this is missing, the hideout slot item must be removed - * @param pmcProfile Profile to find and remove slots from - */ - protected removeResourcesFromSlotsInHideoutWithoutLocationIndexValue(pmcProfile: IPmcData): void; - /** - * add in objects equal to the number of slots - * @param areaType area to check - * @param pmcProfile profile to update - */ - protected addEmptyObjectsToHideoutAreaSlots(areaType: HideoutAreas, emptyItemCount: number, pmcProfile: IPmcData): void; - protected addObjectsToArray(count: number, slots: HideoutSlot[]): HideoutSlot[]; - /** - * In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots - * @param pmcProfile - */ - protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void; - addMissingArmorRepairSkill(pmcProfile: IPmcData): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairCategoriesService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairCategoriesService.d.ts deleted file mode 100644 index 83910e5..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairCategoriesService.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairCategoriesService { - protected logger: ILogger; - protected categories: Record; - constructor(logger: ILogger); - /** - * Get all flea categories and their count of offers - * @returns item categories and count - */ - getAllCategories(): Record; - /** - * With the supplied items, get custom categories - * @returns a custom list of categories - */ - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Take an array of ragfair offers and create a dictionary of items with thier corrisponding offer count - * @param offers ragfair offers - * @returns categories and count - */ - protected processOffersIntoCategories(offers: IRagfairOffer[]): Record; - /** - * Increment or decrement a category array - * @param offer offer to process - * @param categories categories to update - * @param increment should item be incremented or decremented - */ - protected addOrIncrementCategory(offer: IRagfairOffer, categories: Record, increment?: boolean): void; - /** - * Increase category count by 1 - * @param offer - */ - incrementCategory(offer: IRagfairOffer): void; - /** - * Reduce category count by 1 - * @param offer - */ - decrementCategory(offer: IRagfairOffer): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairLinkedItemService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairLinkedItemService.d.ts deleted file mode 100644 index 6c34ee0..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairLinkedItemService.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -export declare class RagfairLinkedItemService { - protected databaseServer: DatabaseServer; - protected linkedItemsCache: Record>; - constructor(databaseServer: DatabaseServer); - getLinkedItems(linkedSearchId: string): Iterable; - protected buildLinkedItemTable(): void; - protected getFilters(item: ITemplateItem, slot: string): string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairOfferService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairOfferService.d.ts deleted file mode 100644 index 7398a8f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairOfferService.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairCategoriesService } from "./RagfairCategoriesService"; -export declare class RagfairOfferService { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairCategoriesService: RagfairCategoriesService; - protected profileHelper: ProfileHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected playerOffersLoaded: boolean; - protected toUpdate: Record; - protected expiredOffers: Item[]; - protected offers: IRagfairOffer[]; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, ragfairCategoriesService: RagfairCategoriesService, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); - /** - * Get all offers - * @returns IRagfairOffer array - */ - getOffers(): IRagfairOffer[]; - getOfferByOfferId(offerId: string): IRagfairOffer; - getOffersOfType(templateId: string): IRagfairOffer[]; - addOffer(offer: IRagfairOffer): void; - addOfferToExpired(staleOffer: IRagfairOffer): void; - setTraderUpdateStatus(traderId: string, shouldUpdate: boolean): void; - shouldTraderBeUpdated(traderID: string): boolean; - getExpiredOfferCount(): number; - /** - * Get an array of expired items not yet processed into new offers - * @returns items that need to be turned into offers - */ - getExpiredOffers(): Item[]; - resetExpiredOffers(): void; - /** - * Does the offer exist on the ragfair - * @param offerId offer id to check for - * @returns offer exists - true - */ - doesOfferExist(offerId: string): boolean; - getTraders(): Record; - flagTraderForUpdate(expiredOfferUserId: string): void; - removeOfferById(offerId: string): void; - removeOfferStack(offerID: string, amount: number): void; - removeAllOffersByTrader(traderId: string): void; - addTradersToUpdateList(): void; - addPlayerOffers(): void; - expireStaleOffers(): void; - /** - * Get an array of stale offers that are still shown to player - * @returns IRagfairOffer array - */ - protected getStaleOffers(): IRagfairOffer[]; - protected isStale(offer: IRagfairOffer, time: number): boolean; - protected processStaleOffer(staleOffer: IRagfairOffer): void; - protected returnPlayerOffer(offer: IRagfairOffer): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairPriceService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairPriceService.d.ts deleted file mode 100644 index 679fe1d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairPriceService.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { Preset } from "../models/eft/common/IGlobals"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "../models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RagfairPriceService { - protected handbookHelper: HandbookHelper; - protected databaseServer: DatabaseServer; - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected prices: IRagfairServerPrices; - constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, randomUtil: RandomUtil, configServer: ConfigServer); - generateStaticPrices(): void; - generateDynamicPrices(): void; - hasDynamicPrices(): boolean; - getDynamicPrice(itemTpl: string): number; - getAllFleaPrices(): Record; - getFleaPriceForItem(tplId: string): number; - getStaticPriceForItem(tplId: string): number; - getBarterPrice(barterScheme: IBarterScheme[]): number; - getDynamicOfferPrice(items: Item[], desiredCurrency: string): number; - /** - * Multiply the price by a randomised curve where n = 2, shift = 2 - * @param existingPrice price to alter - * @param isPreset is the item we're multiplying a preset - * @returns multiplied price - */ - protected randomisePrice(existingPrice: number, isPreset: boolean): number; - /** - * Calculate the cost of a weapon preset by adding together the price of its mods + base price of default weapon preset - * @param item base weapon - * @param items weapon plus mods - * @param existingPrice price of existing base weapon - * @returns - */ - getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; - /** - * Attempt to get the default preset for a weapon, failing that get the first preset in the array - * (assumes default = has encyclopedia entry) - * @param presets weapon presets to choose from - * @returns Default preset object - */ - protected getDefaultWeaponPreset(presets: Preset[], weapon: Item): Preset; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairRequiredItemsService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairRequiredItemsService.d.ts deleted file mode 100644 index b05fc65..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/RagfairRequiredItemsService.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairRequiredItemsService { - protected logger: ILogger; - protected paymentHelper: PaymentHelper; - protected ragfairOfferService: RagfairOfferService; - protected requiredItemsCache: {}; - constructor(logger: ILogger, paymentHelper: PaymentHelper, ragfairOfferService: RagfairOfferService); - getRequiredItems(searchId: string): any; - buildRequiredItemTable(): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/TraderAssortService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/TraderAssortService.d.ts deleted file mode 100644 index 5ba2d05..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/TraderAssortService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -export declare class TraderAssortService { - protected pristineTraderAssorts: Record; - getPristineTraderAssort(traderId: string): ITraderAssort; - setPristineTraderAssort(traderId: string, assort: ITraderAssort): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/CustomItemService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/CustomItemService.d.ts deleted file mode 100644 index 87bda40..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/CustomItemService.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { ITemplateItem, Props } from "../../models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "../../models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "../../models/spt/server/IDatabaseTables"; -import { ILogger } from "../../models/spt/utils/ILogger"; -import { DatabaseServer } from "../../servers/DatabaseServer"; -import { HashUtil } from "../../utils/HashUtil"; -import { JsonUtil } from "../../utils/JsonUtil"; -export declare class CustomItemService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected tables: IDatabaseTables; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Create a new item from a cloned item base - * WARNING - If no item id is supplied, an id will be generated, this id will be random every time you add an item and will not be the same on each subsequent server start - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Item details for the new item to be created - * @returns tplId of the new item created - */ - createItemFromClone(newItemDetails: NewItemFromCloneDetails): CreateItemResult; - /** - * Create a new item without using an existing item as a template - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Details on what the item to be created - * @returns CreateItemResult containing the completed items Id - */ - createItem(newItemDetails: NewItemDetails): CreateItemResult; - /** - * If the id provided is an empty string, return a randomly generated guid, otherwise return the newId parameter - * @param newId id supplied to code - * @returns item id - */ - protected getOrGenerateIdForItem(newId: string): string; - /** - * Iterates through supplied properties and updates the cloned items properties with them - * Complex objects cannot have overrides, they must be fully hydrated with values if they are to be used - * @param overrideProperties new properties to apply - * @param itemClone item to update - */ - protected updateBaseItemPropertiesWithOverrides(overrideProperties: Props, itemClone: ITemplateItem): void; - /** - * Addd a new item object to the in-memory representation of items.json - * @param newItemId id of the item to add to items.json - * @param itemToAdd Item to add against the new id - */ - protected addToItemsDb(newItemId: string, itemToAdd: ITemplateItem): void; - /** - * Add a handbook price for an item - * @param newItemId id of the item being added - * @param parentId parent id of the item being added - * @param priceRoubles price of the item being added - */ - protected addToHandbookDb(newItemId: string, parentId: string, priceRoubles: number): void; - /** - * Iterate through the passed in locale data and add to each locale in turn - * If data is not provided for each langauge eft uses, the first object will be used in its place - * e.g. - * en[0] - * fr[1] - * - * No jp provided, so english will be used as a substitute - * @param localeDetails key is language, value are the new locale details - * @param newItemId id of the item being created - */ - protected addToLocaleDbs(localeDetails: Record, newItemId: string): void; - /** - * Add a price to the in-memory representation of prices.json, used to inform the flea of an items price on the market - * @param newItemId id of the new item - * @param fleaPriceRoubles Price of the new item - */ - protected addToFleaPriceDb(newItemId: string, fleaPriceRoubles: number): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts deleted file mode 100644 index abfe237..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter, RouteAction } from "../../../di/Router"; -export declare class DynamicRouterMod extends DynamicRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts deleted file mode 100644 index 6742fc6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class DynamicRouterModService { - private container; - constructor(container: DependencyContainer); - registerDynamicRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/image/imageRouteService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/image/imageRouteService.d.ts deleted file mode 100644 index 29569b2..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/image/imageRouteService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare class ImageRouteService { - protected routes: Record; - addRoute(urlKey: string, route: string): void; - getByKey(urlKey: string): string; - existsByKey(urlKey: string): boolean; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onLoad/OnLoadMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onLoad/OnLoadMod.d.ts deleted file mode 100644 index 53fb062..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onLoad/OnLoadMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnLoad } from "../../../di/OnLoad"; -export declare class OnLoadMod extends OnLoad { - private onLoadOverride; - private getRouteOverride; - constructor(onLoadOverride: () => void, getRouteOverride: () => string); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onLoad/OnLoadModService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onLoad/OnLoadModService.d.ts deleted file mode 100644 index f402103..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onLoad/OnLoadModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnLoadModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnLoad(name: string, onLoad: () => void, getRoute: () => string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onUpdate/OnUpdateMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onUpdate/OnUpdateMod.d.ts deleted file mode 100644 index ee89043..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnUpdate } from "../../../di/OnUpdate"; -export declare class OnUpdateMod extends OnUpdate { - private onUpdateOverride; - private getRouteOverride; - constructor(onUpdateOverride: (timeSinceLastRun: number) => boolean, getRouteOverride: () => string); - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onUpdate/OnUpdateModService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onUpdate/OnUpdateModService.d.ts deleted file mode 100644 index 05d735b..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/onUpdate/OnUpdateModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnUpdateModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnUpdate(name: string, onUpdate: (timeSinceLastRun: number) => boolean, getRoute: () => string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/staticRouter/StaticRouterMod.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/staticRouter/StaticRouterMod.d.ts deleted file mode 100644 index 1e62747..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RouteAction, StaticRouter } from "../../../di/Router"; -export declare class StaticRouterMod extends StaticRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/staticRouter/StaticRouterModService.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/staticRouter/StaticRouterModService.d.ts deleted file mode 100644 index f28fd45..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class StaticRouterModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerStaticRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/App.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/App.d.ts deleted file mode 100644 index dcc2669..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/App.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { TimeUtil } from "./TimeUtil"; -import { OnLoad } from "../di/OnLoad"; -import { OnUpdate } from "../di/OnUpdate"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class App { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected onLoadComponents: OnLoad[]; - protected onUpdateComponents: OnUpdate[]; - protected onUpdateLastRun: {}; - constructor(logger: ILogger, timeUtil: TimeUtil, onLoadComponents: OnLoad[], onUpdateComponents: OnUpdate[]); - load(): void; - protected update(onUpdateComponents: OnUpdate[]): void; - protected logUpdateException(err: any, updateable: OnUpdate): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/AyncQueue.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/AyncQueue.d.ts deleted file mode 100644 index da6ab18..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/AyncQueue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ICommand } from "../models/spt/utils/ICommand"; -export declare class AsyncQueue implements IAsyncQueue { - protected commandsQueue: ICommand[]; - constructor(); - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/DatabaseImporter.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/DatabaseImporter.d.ts deleted file mode 100644 index 483e135..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/DatabaseImporter.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ImageRouter } from "../routers/ImageRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "./JsonUtil"; -import { VFS } from "./VFS"; -export declare class DatabaseImporter extends OnLoad { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected imageRouter: ImageRouter; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, imageRouter: ImageRouter); - onLoad(): void; - /** - * Read all json files in database folder and map into a json object - * @param filepath path to database folder - */ - protected hydrateDatabase(filepath: string): void; - getRoute(): string; - loadRecursive(filepath: string): IDatabaseTables; - loadImages(filepath: string): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/HashUtil.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/HashUtil.d.ts deleted file mode 100644 index bacbf2a..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/HashUtil.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -import crypto from "crypto"; -import { TimeUtil } from "./TimeUtil"; -export declare class HashUtil { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - generate(): string; - generateMd5ForData(data: string): string; - generateSha1ForData(data: string): string; - generateHashForData(algorithm: string, data: crypto.BinaryLike): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/HttpResponseUtil.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/HttpResponseUtil.d.ts deleted file mode 100644 index 29502be..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/HttpResponseUtil.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { JsonUtil } from "./JsonUtil"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class HttpResponseUtil { - protected jsonUtil: JsonUtil; - constructor(jsonUtil: JsonUtil); - protected clearString(s: string): any; - noBody(data: any): any; - getBody(data: T, err?: number, errmsg?: any): IGetBodyResponseData; - getUnclearedBody(data: any, err?: number, errmsg?: any): string; - emptyResponse(): IGetBodyResponseData; - nullResponse(): INullResponseData; - emptyArrayResponse(): IGetBodyResponseData; - appendErrorToOutput(output: IItemEventRouterResponse, message?: string, title?: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/JsonUtil.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/JsonUtil.d.ts deleted file mode 100644 index 71e95f6..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/JsonUtil.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "./HashUtil"; -import { VFS } from "./VFS"; -export declare class JsonUtil { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected fileHashes: any; - constructor(vfs: VFS, hashUtil: HashUtil, logger: ILogger); - /** - * From object to string - * @param data object to turn into JSON - * @param prettify Should output be prettified? - * @returns string - */ - serialize(data: any, prettify?: boolean): string; - /** - * From string to object - * @param jsonString json string to turn into object - * @returns object - */ - deserialize(jsonString: string): any; - deserializeWithCacheCheck(jsonString: string, filePath: string): string; - clone(data: T): T; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/Logger.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/Logger.d.ts deleted file mode 100644 index 3d9013f..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/Logger.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -/// -import fs from "fs"; -import winston from "winston"; -import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "../models/spt/logging/LogTextColor"; -import { SptLogger } from "../models/spt/logging/SptLogger"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class WinstonLogger implements ILogger { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - protected showDebugInConsole: boolean; - protected folderPath: string; - protected file: string; - protected filePath: string; - protected logLevels: { - levels: { - error: number; - warn: number; - succ: number; - info: number; - custom: number; - debug: number; - }; - colors: { - error: string; - warn: string; - succ: string; - info: string; - custom: string; - debug: string; - }; - bgColors: { - default: string; - blackBG: string; - redBG: string; - greenBG: string; - yellowBG: string; - blueBG: string; - magentaBG: string; - cyanBG: string; - whiteBG: string; - }; - }; - protected logger: winston.Logger & SptLogger; - protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - writeToLogFile(data: string | Daum): Promise; - log(data: string | Error | Record, color: string, backgroundColor?: string): Promise; - error(data: string | Record): Promise; - warning(data: string | Record): Promise; - success(data: string | Record): Promise; - info(data: string | Record): Promise; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): Promise; - debug(data: string | Record, onlyShowInConsole?: boolean): Promise; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/MathUtil.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/MathUtil.d.ts deleted file mode 100644 index ea5fd69..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/MathUtil.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -export declare class MathUtil { - /** - * Helper to create the sum of all array elements - * @param {array} values The array with numbers of which to calculate the sum - * @return {number} sum(values) - */ - arraySum(values: number[]): number; - /** - * Helper to create the cumulative sum of all array elements - * arrayCumsum([1, 2, 3, 4]) = [1, 3, 6, 10] - * @param {array} values The array with numbers of which to calculate the cumulative sum - * @return {array} cumsum(values) - */ - arrayCumsum(values: number[]): number[]; - /** - * Helper to create the product of each element times factor - * @param {array} values The array of numbers which shall be multiplied by the factor - * @return {array} array times factor - */ - arrayProd(values: number[], factor: number): number[]; - /** - * Helper to add a constant to all array elements - * @param {array} values The array of numbers to which the summand should be added - * @return {array} array plus summand - */ - arrayAdd(values: number[], summand: number): number[]; - /** - * Map a value from an input range to an output range linearly - * - * Example: - * a_min = 0; a_max=1; - * b_min = 1; b_max=3; - * MathUtil.mapToRange(0.5, a_min, a_max, b_min, b_max) // returns 2 - * - * @param {number} x The value from input range to be mapped to output range - * @param {number} minIn min of input range - * @param {number} maxIn max of input range - * @param {number} minOut min of output range - * @param {number} maxOut max of outout range - * @return {number} the result of the mapping - */ - mapToRange(x: number, minIn: number, maxIn: number, minOut: number, maxOut: number): number; - /** - * Linear interpolation - * e.g. used to do a continuous integration for quest rewards which are defined for specific support centers of pmcLevel - * - * @param {string} xp the point of x at which to interpolate - * @param {array} x support points in x (of same length as y) - * @param {array} y support points in y (of same length as x) - * @return {number} y(xp) - */ - interp1(xp: number, x: number[], y: number[]): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/ObjectId.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/ObjectId.d.ts deleted file mode 100644 index 03aae56..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/ObjectId.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/// -import { TimeUtil } from "./TimeUtil"; -export declare class ObjectId { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - protected randomBytes: Buffer; - protected constglobalCounter: number; - protected consttime: number; - protected globalCounter: number; - protected time: number; - incGlobalCounter(): number; - toHexString(byteArray: string | any[] | Buffer): string; - generate(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/RandomUtil.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/RandomUtil.d.ts deleted file mode 100644 index c24dd60..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/RandomUtil.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { JsonUtil } from "./JsonUtil"; -import { MathUtil } from "./MathUtil"; -/** - * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects - * based on the relative probability of each of its elements. - * The probabilities of the contained element is not required to be normalized. - * - * Example: - * po = new ProbabilityObjectArray( - * new ProbabilityObject("a", 5), - * new ProbabilityObject("b", 1), - * new ProbabilityObject("c", 1) - * ); - * res = po.draw(10000); - * // count the elements which should be distributed according to the relative probabilities - * res.filter(x => x==="b").reduce((sum, x) => sum + 1 , 0) - */ -export declare class ProbabilityObjectArray extends Array> { - private mathUtil; - constructor(mathUtil: MathUtil, ...items: ProbabilityObject[]); - filter(callbackfn: (value: ProbabilityObject, index: number, array: ProbabilityObject[]) => any): ProbabilityObjectArray; - /** - * Calculates the normalized cumulative probability of the ProbabilityObjectArray's elements normalized to 1 - * @param {array} probValues The relative probability values of which to calculate the normalized cumulative sum - * @returns {array} Cumulative Sum normalized to 1 - */ - cumulativeProbability(probValues: number[]): number[]; - /** - * Clone this ProbabilitObjectArray - * @returns {ProbabilityObjectArray} Deep Copy of this ProbabilityObjectArray - */ - clone(): ProbabilityObjectArray; - /** - * Drop an element from the ProbabilityObjectArray - * - * @param {string} key The key of the element to drop - * @returns {ProbabilityObjectArray} ProbabilityObjectArray without the dropped element - */ - drop(key: K): ProbabilityObjectArray; - /** - * Return the data field of a element of the ProbabilityObjectArray - * @param {string} key The key of the element whose data shall be retrieved - * @returns {object} The data object - */ - data(key: K): V; - /** - * Get the relative probability of an element by its key - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @param {string} key The key of the element whose relative probability shall be retrieved - * @return {number} The relative probability - */ - probability(key: K): number; - /** - * Get the maximum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @return {number} the maximum value of all relative probabilities in this ProbabilityObjectArray - */ - maxProbability(): number; - /** - * Get the minimum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.minProbability() // returns 1 - * - * @return {number} the minimum value of all relative probabilities in this ProbabilityObjectArray - */ - minProbability(): number; - /** - * Draw random element of the ProbabilityObject N times to return an array of N keys. - * Drawing can be with or without replacement - * - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with or without replacement from the input dict - * @param {array} locklist list keys which shall be replaced even if drawing without replacement - * @return {array} Array consisting of N random keys for this ProbabilityObjectArray - */ - draw(count?: number, replacement?: boolean, locklist?: Array): K[]; -} -/** - * A ProbabilityObject which is use as an element to the ProbabilityObjectArray array - * It contains a key, the relative probability as well as optional data. - */ -export declare class ProbabilityObject { - key: K; - relativeProbability: number; - data: V; - /** - * Constructor for the ProbabilityObject - * @param {string} key The key of the element - * @param {number} relativeProbability The relative probability of this element - * @param {any} data Optional data attached to the element - */ - constructor(key: K, relativeProbability: number, data?: V); -} -export declare class RandomUtil { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - constructor(jsonUtil: JsonUtil, logger: ILogger); - getInt(min: number, max: number): number; - getIntEx(max: number): number; - getFloat(min: number, max: number): number; - getBool(): boolean; - getStringArrayValue(arr: string[]): string; - getArrayValue(arr: T[]): T; - getKey(node: any): string; - getKeyValue(node: { - [x: string]: any; - }): any; - /** - * Draw from normal distribution - * @param {number} mu Mean of the normal distribution - * @param {number} sigma Standard deviation of the normal distribution - * @returns {number} The value drawn - */ - randn(mu: number, sigma: number): number; - /** - * Draw Random integer low inclusive, high exclusive - * if high is not set we draw from 0 to low (exclusive) - * @param {integer} low Lower bound inclusive, when high is not set, this is high - * @param {integer} high Higher bound exclusive - * @returns {integer} The random integer in [low, high) - */ - randInt(low: number, high?: number): number; - /** - * Draw a random element of the provided list N times to return an array of N random elements - * Drawing can be with or without replacement - * @param {array} list The array we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input array - * @return {array} Array consisting of N random elements - */ - drawRandomFromList(list: Array, count?: number, replacement?: boolean): Array; - /** - * Draw a random (top level) element of the provided dictionary N times to return an array of N random dictionary keys - * Drawing can be with or without replacement - * @param {any} dict The dictionary we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input dict - * @return {array} Array consisting of N random keys of the dictionary - */ - drawRandomFromDict(dict: any, count?: number, replacement?: boolean): any[]; - getBiasedRandomNumber(min: number, max: number, shift: number, n: number): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/TimeUtil.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/TimeUtil.d.ts deleted file mode 100644 index eed4e6d..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/TimeUtil.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export declare class TimeUtil { - static readonly oneHourAsSeconds = 3600; - formatTime(date: Date): string; - formatDate(date: Date): string; - getDate(): string; - getTime(): string; - getTimestamp(): number; - /** - * mail in eft requires time be in a specific format - * @returns current time in format: 00:00 (hh:mm) - */ - getTimeMailFormat(): string; - /** - * Mail in eft requires date be in a specific format - * @returns current date in format: 00.00.0000 (dd.mm.yyyy) - */ - getDateMailFormat(): string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/UUidGenerator.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/UUidGenerator.d.ts deleted file mode 100644 index 000b719..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/UUidGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class UUidGenerator implements IUUidGenerator { - generate: () => string; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/VFS.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/VFS.d.ts deleted file mode 100644 index e5eaf02..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/VFS.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -/// -/// -import "reflect-metadata"; -import fs from "fs"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class VFS { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; - copyFilePromisify: (src: fs.PathLike, dst: fs.PathLike, flags?: number) => Promise; - mkdirPromisify: (path: fs.PathLike, options: fs.MakeDirectoryOptions & { - recursive: true; - }) => Promise; - readFilePromisify: (path: fs.PathLike) => Promise; - writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - readdirPromisify: (path: fs.PathLike, options?: BufferEncoding | { - encoding: BufferEncoding; - withFileTypes?: false; - }) => Promise; - statPromisify: (path: fs.PathLike, options?: fs.StatOptions & { - bigint?: false; - }) => Promise; - unlinkPromisify: (path: fs.PathLike) => Promise; - rmdirPromisify: (path: fs.PathLike) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - exists(filepath: fs.PathLike): boolean; - existsAsync(filepath: fs.PathLike): Promise; - copyFile(filepath: fs.PathLike, target: fs.PathLike): void; - copyAsync(filepath: fs.PathLike, target: fs.PathLike): Promise; - createDir(filepath: string): void; - createDirAsync(filepath: string): Promise; - copyDir(filepath: string, target: string, fileExtensions?: string | string[]): void; - copyDirAsync(filepath: string, target: string, fileExtensions: string | string[]): Promise; - readFile(filepath: string): any; - readFileAsync(filepath: string): Promise; - writeFile(filepath: any, data?: string, append?: boolean, atomic?: boolean): void; - writeFileAsync(filepath: any, data?: string, append?: boolean, atomic?: boolean): Promise; - getFiles(filepath: string): string[]; - getFilesAsync(filepath: string): Promise; - getDirs(filepath: string): string[]; - getDirsAsync(filepath: string): Promise; - removeFile(filepath: string): void; - removeFileAsync(filepath: string): Promise; - removeDir(filepath: string): void; - removeDirAsync(filepath: string): Promise; - private lockFileSync; - private checkFileSync; - private unlockFileSync; - getFileExtension(filepath: string): string; - stripExtension(filepath: string): string; - minifyAllJsonInDirRecursive(filepath: string): Promise; - minifyAllJsonInDirRecursiveAsync(filepath: string): Promise; - getFilesOfType(directory: string, fileType: string, files?: string[]): string[]; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/Watermark.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/Watermark.d.ts deleted file mode 100644 index c6dc120..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/Watermark.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WatermarkLocale { - protected locales: { - "en-US": { - description: string[]; - warning: string[]; - modding: string[]; - }; - "zh-CN": { - description: string[]; - warning: string[]; - modding: string[]; - }; - }; - getLocale(): string; - getDescription(): string[]; - getWarning(): string[]; - getModding(): string[]; -} -export declare class Watermark { - protected logger: ILogger; - protected configServer: ConfigServer; - protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, configServer: ConfigServer, watermarkLocale?: WatermarkLocale); - protected text: string[]; - protected versionLabel: string; - initialize(): void; - /** - * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) - * @param withEftVersion Include the eft version this spt version was made for - * @returns string - */ - getVersionTag(withEftVersion?: boolean): string; - getVersionLabel(): string; - /** Set window title */ - setTitle(): void; - /** Reset console cursor to top */ - resetCursor(): void; - /** Draw the watermark */ - draw(): void; - /** Caculate text length */ - protected textLength(s: string): number; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/collections/lists/LinkedList.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/collections/lists/LinkedList.d.ts deleted file mode 100644 index aca0659..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/collections/lists/LinkedList.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -export declare class LinkedList { - private head; - private tail; - add(t: T): void; - addRange(list: T[]): void; - getHead(): LinkedListNode; - getTail(): LinkedListNode; - isEmpty(): boolean; - getSize(): number; - removeFirst(): LinkedListNode; - removeLast(): LinkedListNode; - indexOf(func: (t: T) => boolean): number; - contains(func: (t: T) => boolean): boolean; - forEachNode(func: (t: LinkedListNode) => void): void; - forEachValue(func: (t: T) => void): void; - findFirstNode(func: (t: LinkedListNode) => boolean): LinkedListNode; - findFirstValue(func: (t: T) => boolean): T; - toList(): T[]; -} -export declare class LinkedListNode { - private previous; - private value; - private next; - constructor(value: T, previous?: LinkedListNode, next?: LinkedListNode); - getValue(): T; - getNextNode(): LinkedListNode; - setNextNode(node: LinkedListNode): void; - getPreviousNode(): LinkedListNode; - setPreviousNode(node: LinkedListNode): void; -} diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/decorators/Singleton.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/decorators/Singleton.d.ts deleted file mode 100644 index 7e89026..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/decorators/Singleton.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type constructor from "./constructor"; -import { InjectionToken } from "tsyringe"; -declare function singleton(token?: InjectionToken): (target: constructor) => void; -export default singleton; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/decorators/constructor.d.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/decorators/constructor.d.ts deleted file mode 100644 index 416f354..0000000 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/types/utils/decorators/constructor.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare type constructor = { - new (...args: any[]): T; -}; -export default constructor; diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/bepInEx/plugins/CWX-BushWhacker.dll b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/bepInEx/plugins/CWX-BushWhacker.dll similarity index 91% rename from Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/bepInEx/plugins/CWX-BushWhacker.dll rename to Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/bepInEx/plugins/CWX-BushWhacker.dll index bf35270..eb743a6 100644 Binary files a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/bepInEx/plugins/CWX-BushWhacker.dll and b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/bepInEx/plugins/CWX-BushWhacker.dll differ diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/LICENSE.txt b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/LICENSE.txt similarity index 100% rename from Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/LICENSE.txt rename to Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/LICENSE.txt diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/package.json b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/package.json similarity index 95% rename from Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/package.json rename to Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/package.json index 5dcfca2..2ada0a4 100644 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/package.json +++ b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/package.json @@ -1,10 +1,10 @@ { "name": "BushWhacker", "author": "CWX", - "version": "1.2.1", + "version": "1.2.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/src/mod.ts b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/src/mod.ts similarity index 83% rename from Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/src/mod.ts rename to Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/src/mod.ts index 80863d0..a04f4de 100644 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.1/user/mods/CWX-BushWhacker 1.2.1/src/mod.ts +++ b/Live/CWX_BushWhacker/CWX-BushWhacker 1.2.3/user/mods/CWX-BushWhacker 1.2.3/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_BushWhacker implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_BushWhacker/server/dist/package.json b/Live/CWX_BushWhacker/server/dist/package.json index 5dcfca2..2ada0a4 100644 --- a/Live/CWX_BushWhacker/server/dist/package.json +++ b/Live/CWX_BushWhacker/server/dist/package.json @@ -1,10 +1,10 @@ { "name": "BushWhacker", "author": "CWX", - "version": "1.2.1", + "version": "1.2.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_BushWhacker/server/dist/src/mod.ts b/Live/CWX_BushWhacker/server/dist/src/mod.ts index 80863d0..a04f4de 100644 --- a/Live/CWX_BushWhacker/server/dist/src/mod.ts +++ b/Live/CWX_BushWhacker/server/dist/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_BushWhacker implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_BushWhacker/server/dist/types/Utils.d.ts b/Live/CWX_BushWhacker/server/dist/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_BushWhacker/server/dist/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_BushWhacker/server/dist/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_BushWhacker/server/dist/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_BushWhacker/server/dist/types/loaders/DelayedModLoader.d.ts b/Live/CWX_BushWhacker/server/dist/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 2a05604..0000000 --- a/Live/CWX_BushWhacker/server/dist/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected initialModLoader: InitialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_BushWhacker/server/dist/types/loaders/InitialModLoader.d.ts b/Live/CWX_BushWhacker/server/dist/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 68e47fe..0000000 --- a/Live/CWX_BushWhacker/server/dist/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt300Compatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(mod: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_BushWhacker/server/dist/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_BushWhacker/server/dist/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_BushWhacker/server/dist/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_BushWhacker/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_BushWhacker/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_BushWhacker/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_BushWhacker/server/dist/types/models/external/mod.d.ts b/Live/CWX_BushWhacker/server/dist/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_BushWhacker/server/dist/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_BushWhacker/server/dist/types/models/spt/helpers/Traders.d.ts b/Live/CWX_BushWhacker/server/dist/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_BushWhacker/server/dist/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_BushWhacker/server/package.json b/Live/CWX_BushWhacker/server/package.json index 5dcfca2..2ada0a4 100644 --- a/Live/CWX_BushWhacker/server/package.json +++ b/Live/CWX_BushWhacker/server/package.json @@ -1,10 +1,10 @@ { "name": "BushWhacker", "author": "CWX", - "version": "1.2.1", + "version": "1.2.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_BushWhacker/server/src/mod.ts b/Live/CWX_BushWhacker/server/src/mod.ts index 80863d0..a04f4de 100644 --- a/Live/CWX_BushWhacker/server/src/mod.ts +++ b/Live/CWX_BushWhacker/server/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_BushWhacker implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/Program.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/Program.d.ts deleted file mode 100644 index d4b71b9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/Program.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class Program { - constructor(); - start(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/TYPES.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/TYPES.d.ts deleted file mode 100644 index 6407c3a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/TYPES.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const TYPES: { - [name: string]: symbol; -}; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/Utils.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/BotCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/BotCallbacks.d.ts deleted file mode 100644 index 2db60dc..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/BotCallbacks.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { BotController } from "../controllers/BotController"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BotCallbacks { - protected botController: BotController; - protected httpResponse: HttpResponseUtil; - constructor(botController: BotController, httpResponse: HttpResponseUtil); - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/BundleCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/BundleCallbacks.d.ts deleted file mode 100644 index b28abe1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/BundleCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { BundleLoader } from "../loaders/BundleLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BundleCallbacks { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, bundleLoader: BundleLoader, configServer: ConfigServer); - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/CustomizationCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/CustomizationCallbacks.d.ts deleted file mode 100644 index 3bab8c0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/CustomizationCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { CustomizationController } from "../controllers/CustomizationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class CustomizationCallbacks { - protected customizationController: CustomizationController; - protected saveServer: SaveServer; - protected httpResponse: HttpResponseUtil; - constructor(customizationController: CustomizationController, saveServer: SaveServer, httpResponse: HttpResponseUtil); - getSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<{ - _id: string; - suites: string[]; - }>; - getTraderSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/DataCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/DataCallbacks.d.ts deleted file mode 100644 index cfb1c16..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/DataCallbacks.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGlobals } from "../models/eft/common/IGlobals"; -import { ICustomizationItem } from "../models/eft/common/tables/ICustomizationItem"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IHideoutArea } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../models/spt/server/ILocaleBase"; -import { ISettingsBase } from "../models/spt/server/ISettingsBase"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DataCallbacks { - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, databaseServer: DatabaseServer); - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/DialogueCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/DialogueCallbacks.d.ts deleted file mode 100644 index 634f90b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/DialogueCallbacks.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { DialogueController } from "../controllers/DialogueController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "../models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "../models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "../models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "../models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "../models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "../models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "../models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "../models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "../models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class DialogueCallbacks extends OnUpdate { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected dialogueController: DialogueController; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, dialogueController: DialogueController); - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/GameCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/GameCallbacks.d.ts deleted file mode 100644 index 06da1b5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/GameCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { GameController } from "../controllers/GameController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "../models/eft/game/IGameEmptyCrcRequestData"; -import { IReportNicknameRequestData } from "../models/eft/game/IReportNicknameRequestData"; -import { IVersionValidateRequestData } from "../models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class GameCallbacks { - protected httpResponse: HttpResponseUtil; - protected watermark: Watermark; - protected gameController: GameController; - constructor(httpResponse: HttpResponseUtil, watermark: Watermark, gameController: GameController); - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; - reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; -} -export { GameCallbacks }; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HandbookCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HandbookCallbacks.d.ts deleted file mode 100644 index 891e375..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HandbookCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookController } from "../controllers/HandbookController"; -import { OnLoad } from "../di/OnLoad"; -export declare class HandbookCallbacks extends OnLoad { - protected handbookController: HandbookController; - constructor(handbookController: HandbookController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HealthCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HealthCallbacks.d.ts deleted file mode 100644 index 8672be7..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HealthCallbacks.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { HealthController } from "../controllers/HealthController"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class HealthCallbacks { - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected healthController: HealthController; - constructor(httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, healthController: HealthController); - /** - * Custom aki server request found in modules/HealthSynchronizer.cs - * @param url - * @param info HealthListener.Instance.CurrentHealth class - * @param sessionID session id - * @returns empty response, no data sent back to client - */ - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HideoutCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HideoutCallbacks.d.ts deleted file mode 100644 index 99ab4c9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HideoutCallbacks.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { HideoutController } from "../controllers/HideoutController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HideoutCallbacks extends OnUpdate { - protected hideoutController: HideoutController; - protected configServer: ConfigServer; - protected hideoutConfig: IHideoutConfig; - constructor(hideoutController: HideoutController, // TODO: delay needed - configServer: ConfigServer); - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HttpCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HttpCallbacks.d.ts deleted file mode 100644 index 94c97bd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/HttpCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class HttpCallbacks extends OnLoad { - protected httpServer: IHttpServer; - constructor(httpServer: IHttpServer); - onLoad(): void; - getRoute(): string; - getImage(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InraidCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InraidCallbacks.d.ts deleted file mode 100644 index 05bcce4..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InraidCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { InraidController } from "../controllers/InraidController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IAirdropConfig } from "../models/spt/config/IAirdropConfig"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InraidCallbacks { - protected inraidController: InraidController; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected airdropConfig: IAirdropConfig; - protected inraidConfig: IInRaidConfig; - constructor(inraidController: InraidController, httpResponse: HttpResponseUtil, configServer: ConfigServer); - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InsuranceCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InsuranceCallbacks.d.ts deleted file mode 100644 index 6819960..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InsuranceCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { InsuranceController } from "../controllers/InsuranceController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InsuranceCallbacks extends OnLoadOnUpdate { - protected insuranceController: InsuranceController; - protected insuranceService: InsuranceService; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(insuranceController: InsuranceController, insuranceService: InsuranceService, httpResponse: HttpResponseUtil, configServer: ConfigServer); - onLoad(): void; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(secondsSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InventoryCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InventoryCallbacks.d.ts deleted file mode 100644 index 9ab1486..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/InventoryCallbacks.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { InventoryController } from "../controllers/InventoryController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class InventoryCallbacks { - protected inventoryController: InventoryController; - constructor(inventoryController: InventoryController); - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ItemEventCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ItemEventCallbacks.d.ts deleted file mode 100644 index f4f04f9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ItemEventCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class ItemEventCallbacks { - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - constructor(httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter); - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/LauncherCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/LauncherCallbacks.d.ts deleted file mode 100644 index c022325..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/LauncherCallbacks.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { LauncherController } from "../controllers/LauncherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class LauncherCallbacks { - protected httpResponse: HttpResponseUtil; - protected launcherController: LauncherController; - protected saveServer: SaveServer; - protected watermark: Watermark; - constructor(httpResponse: HttpResponseUtil, launcherController: LauncherController, saveServer: SaveServer, watermark: Watermark); - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getServerVersion(): string; - ping(url: string, info: IEmptyRequestData, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} -export { LauncherCallbacks }; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/LocationCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/LocationCallbacks.d.ts deleted file mode 100644 index cc69369..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/LocationCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LocationController } from "../controllers/LocationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "../models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class LocationCallbacks { - protected httpResponse: HttpResponseUtil; - protected locationController: LocationController; - constructor(httpResponse: HttpResponseUtil, locationController: LocationController); - getLocationData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/MatchCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/MatchCallbacks.d.ts deleted file mode 100644 index 2a92ef5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/MatchCallbacks.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MatchController } from "../controllers/MatchController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IPutMetricsRequestData } from "../models/eft/match/IPutMetricsRequestData"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IUpdatePingRequestData } from "../models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class MatchCallbacks { - protected httpResponse: HttpResponseUtil; - protected jsonUtil: JsonUtil; - protected matchController: MatchController; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, matchController: MatchController, databaseServer: DatabaseServer); - updatePing(url: string, info: IUpdatePingRequestData, sessionID: string): INullResponseData; - exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; - getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ModCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ModCallbacks.d.ts deleted file mode 100644 index 58342dc..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ModCallbacks.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { PostAkiModLoader } from "../loaders/PostAkiModLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -declare class ModCallbacks extends OnLoad { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected postAkiModLoader: PostAkiModLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, postAkiModLoader: PostAkiModLoader, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} -export { ModCallbacks }; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/NoteCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/NoteCallbacks.d.ts deleted file mode 100644 index d39d400..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/NoteCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NoteController } from "../controllers/NoteController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "../models/eft/notes/INoteActionData"; -export declare class NoteCallbacks { - protected noteController: NoteController; - constructor(noteController: NoteController); - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/NotifierCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/NotifierCallbacks.d.ts deleted file mode 100644 index c42058f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/NotifierCallbacks.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { NotifierController } from "../controllers/NotifierController"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../models/eft/notifier/ISelectProfileRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class NotifierCallbacks { - protected httpServerHelper: HttpServerHelper; - protected httpResponse: HttpResponseUtil; - protected notifierController: NotifierController; - constructor(httpServerHelper: HttpServerHelper, httpResponse: HttpResponseUtil, notifierController: NotifierController); - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/PresetBuildCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/PresetBuildCallbacks.d.ts deleted file mode 100644 index 541715a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/PresetBuildCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { PresetBuildController } from "../controllers/PresetBuildController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PresetBuildCallbacks { - protected httpResponse: HttpResponseUtil; - protected presetBuildController: PresetBuildController; - constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/PresetCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/PresetCallbacks.d.ts deleted file mode 100644 index 4553f8f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/PresetCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetController } from "../controllers/PresetController"; -import { OnLoad } from "../di/OnLoad"; -export declare class PresetCallbacks extends OnLoad { - protected presetController: PresetController; - constructor(presetController: PresetController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ProfileCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ProfileCallbacks.d.ts deleted file mode 100644 index 6a86fc0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/ProfileCallbacks.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ProfileController } from "../controllers/ProfileController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileCallbacks { - protected httpResponse: HttpResponseUtil; - protected timeUtil: TimeUtil; - protected profileController: ProfileController; - constructor(httpResponse: HttpResponseUtil, timeUtil: TimeUtil, profileController: ProfileController); - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - /** - * Called when creating a character, when you choose a character face/voice - * @param url - * @param info response (empty) - * @param sessionID - * @returns - */ - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/QuestCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/QuestCallbacks.d.ts deleted file mode 100644 index 559c29e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/QuestCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { QuestController } from "../controllers/QuestController"; -import { RepeatableQuestController } from "../controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "../models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class QuestCallbacks { - protected httpResponse: HttpResponseUtil; - protected questController: QuestController; - protected repeatableQuestController: RepeatableQuestController; - constructor(httpResponse: HttpResponseUtil, questController: QuestController, repeatableQuestController: RepeatableQuestController); - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/RagfairCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/RagfairCallbacks.d.ts deleted file mode 100644 index 3a405c9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/RagfairCallbacks.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { RagfairController } from "../controllers/RagfairController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRemoveOfferRequestData } from "../models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "../models/eft/ragfair/ISendRagfairReportRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected ragfairServer: RagfairServer; - protected ragfairController: RagfairController; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(httpResponse: HttpResponseUtil, logger: ILogger, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - sendReport(url: string, info: ISendRagfairReportRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/RepairCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/RepairCallbacks.d.ts deleted file mode 100644 index 63733fa..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/RepairCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { RepairController } from "../controllers/RepairController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -export declare class RepairCallbacks { - protected repairController: RepairController; - constructor(repairController: RepairController); - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/SaveCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/SaveCallbacks.d.ts deleted file mode 100644 index bbb6e53..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/SaveCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { SaveServer } from "../servers/SaveServer"; -export declare class SaveCallbacks extends OnLoadOnUpdate { - protected saveServer: SaveServer; - constructor(saveServer: SaveServer); - onLoad(): void; - getRoute(): string; - onUpdate(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/TradeCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/TradeCallbacks.d.ts deleted file mode 100644 index 272ae46..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/TradeCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { TradeController } from "../controllers/TradeController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -export declare class TradeCallbacks { - protected tradeController: TradeController; - constructor(tradeController: TradeController); - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/TraderCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/TraderCallbacks.d.ts deleted file mode 100644 index 128d9b2..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/TraderCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { TraderController } from "../controllers/TraderController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class TraderCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected traderController: TraderController; - constructor(httpResponse: HttpResponseUtil, traderController: TraderController); - onLoad(): void; - getRoute(): string; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - onUpdate(): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/WeatherCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/WeatherCallbacks.d.ts deleted file mode 100644 index ae784c8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/WeatherCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WeatherController } from "../controllers/WeatherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class WeatherCallbacks { - protected httpResponse: HttpResponseUtil; - protected weatherController: WeatherController; - constructor(httpResponse: HttpResponseUtil, weatherController: WeatherController); - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/WishlistCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/WishlistCallbacks.d.ts deleted file mode 100644 index c2cc2a8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/callbacks/WishlistCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WishlistController } from "../controllers/WishlistController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -export declare class WishlistCallbacks { - protected wishlistController: WishlistController; - constructor(wishlistController: WishlistController); - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ApplicationContext.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ApplicationContext.d.ts deleted file mode 100644 index a155bcd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ApplicationContext.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ContextVariable } from "./ContextVariable"; -import { ContextVariableType } from "./ContextVariableType"; -export declare class ApplicationContext { - private variables; - private static holderMaxSize; - getLatestValue(type: ContextVariableType): ContextVariable; - getValues(type: ContextVariableType): ContextVariable[]; - addValue(type: ContextVariableType, value: any): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ContextVariable.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ContextVariable.d.ts deleted file mode 100644 index e438947..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ContextVariable.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ContextVariableType } from "./ContextVariableType"; -export declare class ContextVariable { - private value; - private timestamp; - private type; - constructor(value: any, type: ContextVariableType); - getValue(): any; - getTimestamp(): Date; - getType(): ContextVariableType; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ContextVariableType.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ContextVariableType.d.ts deleted file mode 100644 index 5fc1704..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/context/ContextVariableType.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare enum ContextVariableType { - SESSION_ID = 0, - MATCH_INFO = 1 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/BotController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/BotController.d.ts deleted file mode 100644 index 5e6f05d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/BotController.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { BotHelper } from "../helpers/BotHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IBotCore } from "../models/eft/common/tables/IBotCore"; -import { Difficulty } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class BotController { - protected databaseServer: DatabaseServer; - protected botGenerator: BotGenerator; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(databaseServer: DatabaseServer, botGenerator: BotGenerator, botHelper: BotHelper, configServer: ConfigServer); - /** - * Return the number of bot loadout varieties to be generated - * @param type bot Type we want the loadout gen count for - * @returns - */ - getBotPresetGenerationLimit(type: string): number; - getBotCoreDifficulty(): IBotCore; - /** - * Get bot difficulty settings - * adjust PMC settings to ensure they engage the correct bot types - * @param type what bot the server is requesting settings for - * @param difficulty difficulty level server requested settings for - * @returns Difficulty object - */ - getBotDifficulty(type: string, difficulty: string): Difficulty; - protected getPmcDifficultySettings(pmcType: "bear" | "usec", difficulty: string): Difficulty; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/CustomizationController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/CustomizationController.d.ts deleted file mode 100644 index a6c4730..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/CustomizationController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -export declare class CustomizationController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper); - getTraderSuits(traderID: string, sessionID: string): ISuit[]; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; - protected getAllTraderSuits(sessionID: string): ISuit[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/DialogueController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/DialogueController.d.ts deleted file mode 100644 index b15c4b6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/DialogueController.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { DialogueInfo, Message } from "../models/eft/profile/IAkiProfile"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DialogueController { - protected httpResponse: HttpResponseUtil; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - constructor(httpResponse: HttpResponseUtil, saveServer: SaveServer, dialogueHelper: DialogueHelper); - getFriendList(sessionID: string): IGetFriendListDataResponse; - generateDialogueList(sessionID: string): IGetBodyResponseData; - getDialogueInfo(dialogueID: string, sessionID: string): DialogueInfo; - generateDialogueView(dialogueID: string, sessionID: string): IGetMailDialogViewResponseData; - removeDialogue(dialogueID: string, sessionID: string): void; - setDialoguePin(dialogueID: string, shouldPin: boolean, sessionID: string): void; - setRead(dialogueIDs: string[], sessionID: string): void; - getAllAttachments(dialogueID: string, sessionID: string): IGetAllAttachmentsResponse; - protected messagesHaveUncollectedRewards(messages: Message[]): boolean; - protected removeExpiredItems(sessionID: string): void; - update(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/GameController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/GameController.d.ts deleted file mode 100644 index 85ec418..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/GameController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { LocaleService } from "../services/LocaleService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { Watermark } from "../utils/Watermark"; -export declare class GameController { - protected logger: ILogger; - protected watermark: Watermark; - protected httpServerHelper: HttpServerHelper; - protected localeService: LocaleService; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected coreConfig: ICoreConfig; - constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, localeService: LocaleService, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, configServer: ConfigServer); - gameStart(_url: string, _info: IEmptyRequestData, sessionID: string): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; - getGameConfig(sessionID: string): IGameConfigResponse; - getServer(): any[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HandbookController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HandbookController.d.ts deleted file mode 100644 index 52d2dd8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HandbookController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class HandbookController { - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - constructor(databaseServer: DatabaseServer, handbookHelper: HandbookHelper); - load(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HealthController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HealthController.d.ts deleted file mode 100644 index cc13603..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HealthController.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentService } from "../services/PaymentService"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class HealthController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected inventoryHelper: InventoryHelper; - protected healthHelper: HealthHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, healthHelper: HealthHelper); - /** - * stores in-raid player health - * @param pmcData Player profile - * @param info Request data - * @param sessionID - * @param addEffects Should effects found be added or removed from profile - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - /** - * When healing in menu - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Occurs on post-raid healing page - * @param pmcData player profile - * @param info Request data from client - * @param sessionID Session id - * @returns - */ - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HideoutController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HideoutController.d.ts deleted file mode 100644 index 3eefe1a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/HideoutController.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { ScavCaseRewardGenerator } from "../generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "../helpers/HideoutHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutArea, Product } from "../models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HideoutController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected inventoryHelper: InventoryHelper; - protected saveServer: SaveServer; - protected playerService: PlayerService; - protected presetHelper: PresetHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - 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; - upgradeComplete(pmcData: IPmcData, body: HideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Create item in hideout slot item array, remove item from player inventory - * @param pmcData Profile data - * @param addItemToHideoutRequest reqeust from client to place item in area slot - * @param sessionID Session id - * @returns IItemEventRouterResponse object - */ - putItemsInAreaSlots(pmcData: IPmcData, addItemToHideoutRequest: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Find resource item in hideout area, add copy to player inventory, remove Item from hideout slot - * @param sessionID Session id - * @param pmcData Profile to update - * @param removeResourceRequest client request - * @param output response to send to client - * @param hideoutArea Area fuel is being removed from - * @returns IItemEventRouterResponse response - */ - protected removeResourceFromArea(sessionID: string, pmcData: IPmcData, removeResourceRequest: IHideoutTakeItemOutRequestData, output: IItemEventRouterResponse, hideoutArea: HideoutArea): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles event after clicking 'start' on the scav case hideout page - * @param pmcData player profile - * @param body client request object - * @param sessionID session id - * @returns item event router response - */ - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Add generated scav case rewards to player profile - * @param pmcData player profile to add rewards to - * @param rewards reward items to add to profile - */ - protected addScavCaseRewardsToProfile(pmcData: IPmcData, rewards: Product[]): void; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - protected handleRecipie(sessionID: string, recipe: IHideoutProduction, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Handles giving rewards stored in player profile to player after clicking 'get rewards' - * @param sessionID - * @param pmcData - * @param body - * @param output - * @returns - */ - protected handleScavCase(sessionID: string, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - update(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InraidController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InraidController.d.ts deleted file mode 100644 index b899e7d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InraidController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { InRaidHelper } from "../helpers/InRaidHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InraidController { - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected playerScavGenerator: PlayerScavGenerator; - protected healthHelper: HealthHelper; - protected traderHelper: TraderHelper; - protected insuranceService: InsuranceService; - protected inRaidHelper: InRaidHelper; - protected configServer: ConfigServer; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, jsonUtil: JsonUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, configServer: ConfigServer); - addPlayer(sessionID: string, info: IRegisterPlayerRequestData): void; - saveProgress(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Mark inventory items as FiR if player survived raid, otherwise remove FiR from them - * @param offraidData Save Progress Request - * @param pmcData player profile - * @param isPlayerScav Was the player a pScav - */ - private markOrRemoveFoundInRaidItems; - private handlePostRaidPlayerScavProcess; - private handlePostRaidPlayerScavKarmaChanges; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InsuranceController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InsuranceController.d.ts deleted file mode 100644 index 6895383..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InsuranceController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { PaymentService } from "../services/PaymentService"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceController { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected itemEventRouter: ItemEventRouter; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected dialogueHelper: DialogueHelper; - protected paymentService: PaymentService; - protected insuranceService: InsuranceService; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, itemEventRouter: ItemEventRouter, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileHelper: ProfileHelper, dialogueHelper: DialogueHelper, paymentService: PaymentService, // TODO: delay required - insuranceService: InsuranceService, configServer: ConfigServer); - processReturn(): void; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Calculate insurance cost - * @param info request object - * @param sessionID session id - * @returns response object to send to client - */ - cost(info: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InventoryController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InventoryController.d.ts deleted file mode 100644 index f57f731..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/InventoryController.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class InventoryController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected fenceService: FenceService; - protected presetHelper: PresetHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairOfferService: RagfairOfferService; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); - /** - * Move Item - * change location of item with parentId and slotId - * transfers items from one profile to another if fromOwner/toOwner is set in the body. - * otherwise, move is contained within the same profile_f. - */ - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove Item from Profile - * Deep tree item deletion, also removes items from insurance list - */ - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Implements functionality "Discard" from Main menu (Stash etc.) - * Removes item from PMC Profile - */ - discardItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Split Item - * spliting 1 item-stack into 2 separate items ... - */ - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Merge Item - * merges 2 items into one, deletes item from `body.item` and adding number of stacks into `body.with` - */ - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Transfer item - * Used to take items from scav inventory into stash or to insert ammo into mags (shotgun ones) and reloading weapon by clicking "Reload" - */ - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Swap Item - * its used for "reload" if you have weapon in hands and magazine is somewhere else in rig or backpack in equipment - */ - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Give Item - * its used for "add" item like gifts etc. - */ - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - /** - * Handles folding of Weapons - */ - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Toggles "Toggleable" items like night vision goggles and face shields. - */ - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles Tagging of items (primary Containers). - */ - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles examining an item - * @param pmcData player profile - * @param body request object - * @param sessionID session id - * @returns response - */ - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Get the tplid of an item from the examine request object - * @param body response request - * @returns tplid - */ - protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles sorting of Inventory. - */ - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/LauncherController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/LauncherController.d.ts deleted file mode 100644 index 1af1f56..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/LauncherController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { Info } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class LauncherController { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected httpServerHelper: HttpServerHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected coreConfig: ICoreConfig; - constructor(hashUtil: HashUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - connect(): any; - find(sessionIdKey: string): Info; - login(info: ILoginRequestData): string; - register(info: IRegisterData): string; - protected createAccount(info: IRegisterData): string; - changeUsername(info: IChangeRequestData): string; - changePassword(info: IChangeRequestData): string; - wipe(info: IRegisterData): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/LocationController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/LocationController.d.ts deleted file mode 100644 index 90b6d7a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/LocationController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { LocationGenerator } from "../generators/LocationGenerator"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class LocationController { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected locationGenerator: LocationGenerator; - protected databaseServer: DatabaseServer; - protected timeUtil: TimeUtil; - constructor(jsonUtil: JsonUtil, logger: ILogger, locationGenerator: LocationGenerator, databaseServer: DatabaseServer, timeUtil: TimeUtil); - get(location: string): ILocationBase; - generate(name: string): ILocationBase; - generateAll(): ILocationsGenerateAllResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/MatchController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/MatchController.d.ts deleted file mode 100644 index 71cb7d3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/MatchController.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ApplicationContext } from "../context/ApplicationContext"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "../models/spt/config/IMatchConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { MatchLocationService } from "../services/MatchLocationService"; -export declare class MatchController { - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected matchLocationService: MatchLocationService; - protected traderHelper: TraderHelper; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - protected matchConfig: IMatchConfig; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer, applicationContext: ApplicationContext); - getEnabled(): boolean; - getProfile(info: IGetProfileRequestData): IPmcData[]; - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; - joinMatch(info: IJoinMatchRequestData, sessionID: string): IJoinMatchResult[]; - protected getMatch(location: string): any; - getGroupStatus(info: IGetGroupStatusRequestData): any; - startOfflineRaid(info: IStartOfflineRaidRequestData, sessionID: string): void; - endOfflineRaid(info: IEndOfflineRaidRequestData, sessionID: string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/NoteController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/NoteController.d.ts deleted file mode 100644 index ee70541..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/NoteController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -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"; -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; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/NotifierController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/NotifierController.d.ts deleted file mode 100644 index 31d7bfe..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/NotifierController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { NotificationService } from "../services/NotificationService"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -export declare class NotifierController { - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected notificationService: NotificationService; - protected pollInterval: number; - protected timeout: number; - constructor(notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, notificationService: NotificationService); - /** - * Resolve an array of session notifications. - * - * If no notifications are currently queued then intermittently check for new notifications until either - * one or more appear or when a timeout expires. - * If no notifications are available after the timeout, use a default message. - */ - notifyAsync(sessionID: string): Promise; - getServer(sessionID: string): string; - getChannel(sessionID: string): INotifierChannel; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/PresetBuildController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/PresetBuildController.d.ts deleted file mode 100644 index adf4084..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/PresetBuildController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class PresetBuildController { - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - constructor(hashUtil: HashUtil, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, saveServer: SaveServer); - getUserBuilds(sessionID: string): WeaponBuild[]; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/PresetController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/PresetController.d.ts deleted file mode 100644 index ca1af1a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/PresetController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetHelper } from "../helpers/PresetHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PresetController { - protected presetHelper: PresetHelper; - protected databaseServer: DatabaseServer; - constructor(presetHelper: PresetHelper, databaseServer: DatabaseServer); - initialize(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/ProfileController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/ProfileController.d.ts deleted file mode 100644 index 8c89a02..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/ProfileController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IMiniProfile } from "../models/eft/launcher/IMiniProfile"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileController { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileFixerService: ProfileFixerService; - protected playerScavGenerator: PlayerScavGenerator; - protected traderHelper: TraderHelper; - protected profileHelper: ProfileHelper; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, playerScavGenerator: PlayerScavGenerator, traderHelper: TraderHelper, profileHelper: ProfileHelper); - getMiniProfiles(): IMiniProfile[]; - getMiniProfile(sessionID: string): any; - getCompleteProfile(sessionID: string): IPmcData[]; - createProfile(info: IProfileCreateRequestData, sessionID: string): void; - /** - * Generate a player scav object - * pmc profile MUST exist first before pscav can be generated - * @param sessionID - * @returns IPmcData object - */ - generatePlayerScav(sessionID: string): IPmcData; - validateNickname(info: IValidateNicknameRequestData, sessionID: string): string; - changeNickname(info: IProfileChangeNicknameRequestData, sessionID: string): string; - changeVoice(info: IProfileChangeVoiceRequestData, sessionID: string): void; - getFriends(info: ISearchFriendRequestData, sessionID: string): ISearchFriendResponse[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/QuestController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/QuestController.d.ts deleted file mode 100644 index 2cbccfb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/QuestController.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestConditionHelper } from "../helpers/QuestConditionHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { PlayerService } from "../services/PlayerService"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class QuestController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected questHelper: QuestHelper; - protected questConditionHelper: QuestConditionHelper; - protected playerService: PlayerService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, configServer: ConfigServer); - /** - * Get all quests visible to player - * Exclude quests with incomplete preconditions (level/loyalty) - * @param sessionID session id - * @returns array of IQuest - */ - getClientQuests(sessionID: string): IQuest[]; - acceptQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - acceptRepeatableQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove completed quest from profile - * Add newly unlocked quests to profile - * Also recalculate thier level due to exp rewards - * @param pmcData Player profile - * @param body completed quest request - * @param sessionID session id - * @returns ItemEvent response - */ - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Send a popup to player on completion of a quest - * @param sessionID session id - * @param pmcData player profile - * @param completedQuestId completed quest id - * @param questRewards rewards given to player - */ - protected sendDialogMessageOnQuestComplete(sessionID: string, pmcData: IPmcData, completedQuestId: string, questRewards: Reward[]): void; - /** - * Returns a list of quests that should be failed when a quest is completed - * @param completedQuestId quest completed id - * @returns array of quests - */ - protected getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; - /** - * Fail the quests provided - * @param sessionID session id - * @param pmcData player profile - * @param questsToFail quests to fail - */ - protected failQuests(sessionID: string, pmcData: IPmcData, questsToFail: IQuest[]): void; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RagfairController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RagfairController.d.ts deleted file mode 100644 index c4ffc15..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RagfairController.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairHelper } from "../helpers/RagfairHelper"; -import { RagfairOfferHelper } from "../helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "../helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "../helpers/RagfairSortHelper"; -import { RagfairTaxHelper } from "../helpers/RagfairTaxHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PaymentService } from "../services/PaymentService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - protected ragfairServer: RagfairServer; - protected ragfairPriceService: RagfairPriceService; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - protected ragfairSellHelper: RagfairSellHelper; - protected ragfairTaxHelper: RagfairTaxHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairOfferHelper: RagfairOfferHelper; - protected profileHelper: ProfileHelper; - protected paymentService: PaymentService; - protected handbookHelper: HandbookHelper; - protected paymentHelper: PaymentHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxHelper: RagfairTaxHelper, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, configServer: ConfigServer); - getOffers(sessionID: string, info: ISearchRequestData): IGetOffersResult; - protected isLinkedSearch(info: ISearchRequestData): boolean; - protected isRequiredSearch(info: ISearchRequestData): boolean; - update(): void; - getItemPrice(info: IGetMarketPriceRequestData): IGetItemPriceResult; - addPlayerOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - createPlayerOffer(profile: IAkiProfile, requirements: Requirement[], items: Item[], sellInOnePiece: boolean, amountToSend: number): IRagfairOffer; - getAllFleaPrices(): Record; - removeOffer(offerId: string, sessionID: string): IItemEventRouterResponse; - extendOffer(info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RepairController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RepairController.d.ts deleted file mode 100644 index 0e78ef6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RepairController.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { QuestHelper } from "../helpers/QuestHelper"; -import { RepairHelper } from "../helpers/RepairHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -export declare class RepairController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected traderHelper: TraderHelper; - protected paymentService: PaymentService; - protected repairHelper: RepairHelper; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); - /** - * Repair with trader - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - /** - * Repair with repair kit - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - repairWithKit(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RepeatableQuestController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RepeatableQuestController.d.ts deleted file mode 100644 index 98d05dd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/RepeatableQuestController.d.ts +++ /dev/null @@ -1,220 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { Exit } from "../models/eft/common/ILocationBase"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { TraderInfo } from "../models/eft/common/tables/IBotBase"; -import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "../models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { ProbabilityObject, ProbabilityObjectArray, RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export interface IQuestTypePool { - types: string[]; - pool: IQuestPool; -} -export interface IQuestPool { - Exploration: IExplorationPool; - Elimination: IEliminationPool; -} -export interface IExplorationPool { - locations: Partial>; -} -export interface IEliminationPool { - targets: IEliminationTargetPool; -} -export interface IEliminationTargetPool { - Savage?: ITargetLocation; - AnyPmc?: ITargetLocation; - bossBully?: ITargetLocation; - bossGluhar?: ITargetLocation; - bossKilla?: ITargetLocation; - bossSanitar?: ITargetLocation; - bossTagilla?: ITargetLocation; - bossKojaniy?: ITargetLocation; -} -export interface ITargetLocation { - locations: string[]; -} -export declare class RepeatableQuestController { - protected timeUtil: TimeUtil; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected mathUtil: MathUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected ragfairServerHelper: RagfairServerHelper; - protected itemEventRouter: ItemEventRouter; - protected paymentService: PaymentService; - protected objectId: ObjectId; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); - /** - * This is the method reached by the /client/repeatalbeQuests/activityPeriods endpoint - * Returns an array of objects in the format of repeatable quests to the client. - * repeatableQuestObject = { - * id: Unique Id, - * name: "Daily", - * endTime: the time when the quests expire - * activeQuests: currently available quests in an array. Each element of quest type format (see assets/database/templates/repeatableQuests.json). - * inactiveQuests: the quests which were previously active (required by client to fail them if they are not completed) - * } - * - * The method checks if the player level requirement for repeatable quests (e.g. daily lvl5, weekly lvl15) is met and if the previously active quests - * are still valid. This ischecked by endTime persisted in profile accordning to the resetTime configured for each repeatable kind (daily, weekly) - * in QuestCondig.js - * - * If the condition is met, new repeatableQuests are created, old quests (which are persisted in the profile.RepeatableQuests[i].activeQuests) are - * moved to profile.RepeatableQuests[i].inactiveQuests. This memory is required to get rid of old repeatable quest data in the profile, otherwise - * they'll litter the profile's Quests field. - * (if the are on "Succeed" but not "Completed" we keep them, to allow the player to complete them and get the rewards) - * The new quests generated are again persisted in profile.RepeatableQuests - * - * - * @param {string} sessionId Player's session id - * @returns {array} array of "repeatableQuestObjects" as descibed above - */ - getClientRepeatableQuests(_info: IEmptyRequestData, sessionID: string): IPmcDataRepeatableQuest[]; - /** - * This method is called by GetClientRepeatableQuests and creates one element of quest type format (see assets/database/templates/repeatableQuests.json). - * It randomly draws a quest type (currently Elimination, Completion or Exploration) as well as a trader who is providing the quest - */ - generateRepeatableQuest(pmcLevel: number, pmcTraderInfo: Record, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; - /** - * Just for debug reasons. Draws dailies a random assort of dailies extracted from dumps - */ - generateDebugDailies(dailiesPool: any, factory: any, number: any): any; - /** - * Generates the base object of quest type format given as templates in assets/database/templates/repeatableQuests.json - * The templates include Elimination, Completion and Extraction quest types - * - * @param {string} type quest type: "Elimination", "Completion" or "Extraction" - * @param {string} traderId trader from which the quest will be provided - * @returns {object} a object which contains the base elements for repeatable quests of the requests type - * (needs to be filled with reward and conditions by called to make a valid quest) - */ - generateRepeatableTemplate(type: string, traderId: string): IRepeatableQuest; - /** - * Generates a valid Exploration quest - * - * @param {integer} pmcLevel player's level for reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Exploration" (see assets/database/templates/repeatableQuests.json) - */ - generateExplorationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IExploration; - /** - * Generates a valid Completion quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Completion" (see assets/database/templates/repeatableQuests.json) - */ - generateCompletionQuest(pmcLevel: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): ICompletion; - /** - * Generates a valid Elimination quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Elimination" (see assets/database/templates/repeatableQuests.json) - */ - generateEliminationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IElimination; - /** - * Exploration repeatable quests can specify a required extraction point. - * This method creates the according object which will be appended to the conditions array - * - * @param {string} exit The exit name to generate the condition for - * @returns {object} Exit condition - */ - generateExplorationExitCondition(exit: Exit): IExplorationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateCompletionQuest to create a completion condition (of which a completion quest theoretically can have many) - * - * @param {string} targetItemId id of the item to request - * @param {integer} value amount of items of this specific type to request - * @returns {object} object of "Completion"-condition - */ - generateCompletionAvailableForFinish(targetItemId: string, value: number): ICompletionAvailableFor; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a location condition. - * - * @param {string} location the location on which to fulfill the elimination quest - * @returns {object} object of "Elimination"-location-subcondition - */ - generateEliminationLocation(location: string[]): IEliminationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a kill condition. - * - * @param {string} target array of target npcs e.g. "AnyPmc", "Savage" - * @param {array} bodyParts array of body parts with which to kill e.g. ["stomach", "thorax"] - * @param {number} distance distance from which to kill (currently only >= supported) - * @returns {object} object of "Elimination"-kill-subcondition - */ - generateEliminationCondition(target: string, bodyPart: string[], distance: number): IEliminationCondition; - /** - * Used to create a quest pool during each cycle of repeatable quest generation. The pool will be subsequently - * narrowed down during quest generation to avoid duplicate quests. Like duplicate extractions or elimination quests - * where you have to e.g. kill scavs in same locations. - * - * @returns {object} the quest pool - */ - generateQuestPool(repeatableConfig: IRepeatableQuestConfig): IQuestTypePool; - /** - * Generate the reward for a mission. A reward can consist of - * - Experience - * - Money - * - Items - * - Trader Reputation - * - * The reward is dependent on the player level as given by the wiki. The exact mapping of pmcLevel to - * experience / money / items / trader reputation can be defined in QuestConfig.js - * - * There's also a random variation of the reward the spread of which can be also defined in the config. - * - * Additonaly, a scaling factor w.r.t. quest difficulty going from 0.2...1 can be used - * - * @param {integer} pmcLevel player's level - * @param {number} difficulty a reward scaling factor goint from 0.2 to 1 - * @param {string} traderId the trader for reputation gain (and possible in the future filtering of reward item type based on trader) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of "Reward"-type that can be given for a repeatable mission - */ - generateReward(pmcLevel: number, difficulty: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): IRewards; - /** - * Helper to create a reward item structured as required by the client - * - * @param {string} tpl itemId of the rewarded item - * @param {integer} value amount of items to give - * @param {integer} index all rewards will be appended to a list, for unkown reasons the client wants the index - * @returns {object} object of "Reward"-item-type - */ - generateRewardItem(tpl: string, value: number, index: number, preset?: any): IReward; - debugLogRepeatableQuestIds(pmcData: IPmcData): void; - probabilityObjectArray(configArrayInput: ProbabilityObject[]): ProbabilityObjectArray; - changeRepeatableQuest(pmcDataIn: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/TradeController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/TradeController.d.ts deleted file mode 100644 index c86745c..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/TradeController.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { RagfairServer } from "../servers/RagfairServer"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TradeHelper } from "../helpers/TradeHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -declare class TradeController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected tradeHelper: TradeHelper; - protected profileHelper: ProfileHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, tradeHelper: TradeHelper, profileHelper: ProfileHelper, ragfairServer: RagfairServer); - confirmTrading(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string, foundInRaid?: boolean, upd?: Upd): IItemEventRouterResponse; - confirmRagfairTrading(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} -export { TradeController }; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/TraderController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/TraderController.d.ts deleted file mode 100644 index 7bab158..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/TraderController.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderAssortHelper } from "../helpers/TraderAssortHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class TraderController { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected traderAssortHelper: TraderAssortHelper; - protected profileHelper: ProfileHelper; - protected traderHelper: TraderHelper; - protected timeUtil: TimeUtil; - protected traderAssortService: TraderAssortService; - protected jsonUtil: JsonUtil; - constructor(logger: ILogger, databaseServer: DatabaseServer, traderAssortHelper: TraderAssortHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, timeUtil: TimeUtil, traderAssortService: TraderAssortService, jsonUtil: JsonUtil); - load(): void; - getTrader(traderID: string, sessionID: string): ITraderBase; - getAllTraders(sessionID: string): ITraderBase[]; - updateTraders(): boolean; - getAssort(sessionId: string, traderId: string): ITraderAssort; - getPurchasesData(traderID: string, sessionID: string): Record; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/WeatherController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/WeatherController.d.ts deleted file mode 100644 index ca7f5eb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/WeatherController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WeatherGenerator } from "../generators/WeatherGenerator"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WeatherController { - protected weatherGenerator: WeatherGenerator; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weatherGenerator: WeatherGenerator, configServer: ConfigServer); - generate(): IWeatherData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/WishlistController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/WishlistController.d.ts deleted file mode 100644 index a96c522..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/controllers/WishlistController.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class WishlistController { - protected itemEvenRouter: ItemEventRouter; - constructor(itemEvenRouter: ItemEventRouter); - addToWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Container.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Container.d.ts deleted file mode 100644 index 17791b0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Container.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class Container { - static registerTypes(depContainer: DependencyContainer): void; - static registerListTypes(depContainer: DependencyContainer): void; - private static registerUtils; - private static registerRouters; - private static registerGenerators; - private static registerHelpers; - private static registerLoaders; - private static registerCallbacks; - private static registerServices; - private static registerServers; - private static registerControllers; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnLoad.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnLoad.d.ts deleted file mode 100644 index 064d07d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnLoad.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnLoad { - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnLoadOnUpdate.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnLoadOnUpdate.d.ts deleted file mode 100644 index 8bd3dc3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnLoadOnUpdate.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { OnLoad } from "./OnLoad"; -import { OnUpdate } from "./OnUpdate"; -export declare class OnLoadOnUpdate implements OnLoad, OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnUpdate.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnUpdate.d.ts deleted file mode 100644 index 7fbbe09..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/OnUpdate.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Router.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Router.d.ts deleted file mode 100644 index 2fb98e0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Router.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -export declare class Router { - private handledRoutes; - getTopLevelRoute(): string; - protected getHandledRoutes(): HandledRoute[]; - private getInternalHandledRoutes; - canHandle(url: string, partialMatch?: boolean): boolean; -} -export declare class StaticRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleStatic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class DynamicRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleDynamic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class ItemEventRouterDefinition extends Router { - constructor(); - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} -export declare class SaveLoadRouter extends Router { - constructor(); - handleLoad(profile: IAkiProfile): IAkiProfile; -} -export declare class HandledRoute { - route: string; - dynamic: boolean; - constructor(route: string, dynamic: boolean); -} -export declare class RouteAction { - url: string; - action: (url: string, info: any, sessionID: string, output: string) => any; - constructor(url: string, action: (url: string, info: any, sessionID: string, output: string) => any); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Serializer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Serializer.d.ts deleted file mode 100644 index 70aa7c5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/di/Serializer.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class Serializer { - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(something: string): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotGenerator.d.ts deleted file mode 100644 index a5fc0ad..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotGenerator.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { Health as PmcHealth, IBotBase, Skills } from "../models/eft/common/tables/IBotBase"; -import { Health, IBotType, Inventory } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotEquipmentFilterService } from "../services/BotEquipmentFilterService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotInventoryGenerator } from "./BotInventoryGenerator"; -declare namespace BotGenerator { - interface IRandomisedBotLevelResult { - level: number; - exp: number; - } -} -export declare class BotGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected databaseServer: DatabaseServer; - protected botInventoryGenerator: BotInventoryGenerator; - protected botEquipmentFilterService: BotEquipmentFilterService; - protected botHelper: BotHelper; - protected gameEventHelper: GameEventHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, jsonUtil: JsonUtil, profileHelper: ProfileHelper, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botEquipmentFilterService: BotEquipmentFilterService, botHelper: BotHelper, gameEventHelper: GameEventHelper, configServer: ConfigServer); - /** - * Generate a player scav bot object - * @param role e.g. assault / pmcbot - * @param difficulty easy/normal/hard/impossible - * @param botTemplate base bot template to use (e.g. assault/pmcbot) - * @returns - */ - generatePlayerScav(role: string, difficulty: string, botTemplate: IBotType): IBotBase; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - /** - * Choose if a bot should become a PMC by checking if bot type is allowed to become a Pmc in botConfig.convertFromChances and doing a random int check - * @param botRole the bot role to check if should be a pmc - * @returns true if should be a pmc - */ - protected shouldBotBePmc(botRole: string): boolean; - /** - * Get a randomised PMC side based on bot config value 'isUsec' - * @returns pmc side as string - */ - protected getRandomisedPmcSide(): string; - /** - * Get a clone of the database\bots\base.json file - * @returns IBotBase object - */ - protected getCloneOfBotBase(): IBotBase; - protected generateBot(bot: IBotBase, role: string, node: IBotType, isPmc: boolean, isPlayerScav?: boolean): IBotBase; - /** - * Log the number of PMCs generated to the debug console - */ - protected logPmcGeneratedCount(output: IBotBase[]): void; - protected generateRandomLevel(min: number, max: number): BotGenerator.IRandomisedBotLevelResult; - /** - * Converts health object to the required format - * @param healthObj health object from bot json - * @param playerScav Is a pscav bot being generated - * @returns PmcHealth object - */ - protected generateHealth(healthObj: Health, playerScav?: boolean): PmcHealth; - protected generateSkills(skillsObj: Skills): Skills; - /** - * Convert from pmc side (usec/bear) to the side as defined in the bot config (usecType/bearType) - * @param pmcSide eft side (usec/bear) - * @returns pmc side as defined in config - */ - protected getPmcRole(pmcSide: string): string; - /** - * Iterate through bots inventory and loot to find and remove christmas items (as defined in GameEventHelper) - * @param nodeInventory Bots inventory to iterate over - */ - protected removeChristmasItemsFromBotInventory(nodeInventory: Inventory): void; - protected generateId(bot: IBotBase): IBotBase; - protected generateInventoryID(profile: IBotBase): IBotBase; - protected getPMCDifficulty(requestedDifficulty: string): string; - /** - * Add a side-specific (usec/bear) dogtag item to a bots inventory - * @param bot bot to add dogtag to - * @returns Bot with dogtag added - */ - protected generateDogtag(bot: IBotBase): IBotBase; -} -export {}; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotInventoryGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotInventoryGenerator.d.ts deleted file mode 100644 index 35d1ee8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotInventoryGenerator.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation, Mods } from "../models/eft/common/tables/IBotType"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -import { BotLootGenerator } from "./BotLootGenerator"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -export declare class BotInventoryGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootGenerator: BotLootGenerator; - protected botGeneratorHelper: BotGeneratorHelper; - protected weightedRandomHelper: WeightedRandomHelper; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, botWeaponGenerator: BotWeaponGenerator, botLootGenerator: BotLootGenerator, botGeneratorHelper: BotGeneratorHelper, weightedRandomHelper: WeightedRandomHelper); - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; - protected generateEquipment(equipmentSlot: string, equipmentPool: Record, modPool: Mods, spawnChances: Chances, botRole: string, inventory: PmcInventory): void; - protected generateInventoryBase(): PmcInventory; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotLootGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotLootGenerator.d.ts deleted file mode 100644 index c6a3f29..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotLootGenerator.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Chances, Inventory, ItemMinMax, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -export declare class BotLootGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGenerator: BotWeaponGenerator, botLootCacheService: BotLootCacheService, configServer: ConfigServer); - generateLoot(templateInventory: Inventory, itemCounts: ItemMinMax, isPmc: boolean, botRole: string, botInventory: PmcInventory, equipmentChances: Chances): void; - protected getRandomisedCount(min: number, max: number, nValue: number): number; - /** - * Take random items from a pool and add to an inventory until totalItemCount or totalValueLimit is reached - * @param pool pool of items to pick from - * @param equipmentSlots What equality slot will the loot items be added to - * @param totalItemCount Max count of items to add - * @param inventoryToAddItemsTo bot inventory loot will be added to - * @param botRole role of the bot loot is being generated for (assault/pmcbot) - * @param useLimits should item limit counts be used as defined in config/bot.json - * @param totalValueLimitRub total value of loot allowed in roubles - * @param isPmc is the bot being generated for a pmc - */ - protected addLootFromPool(pool: ITemplateItem[], equipmentSlots: string[], totalItemCount: number, inventoryToAddItemsTo: PmcInventory, botRole: string, useLimits?: boolean, totalValueLimitRub?: number, isPmc?: boolean): void; - /** - * Add generated weapons to inventory as loot - * @param botInventory inventory to add preset to - * @param equipmentSlot slot to place the preset in (backpack) - * @param templateInventory bots template, assault.json - * @param modChances chances for mods to spawn on weapon - * @param botRole bots role, .e.g. pmcBot - * @param isPmc are we generating for a pmc - */ - protected addLooseWeaponsToInventorySlot(botInventory: PmcInventory, equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, botRole: string, isPmc: boolean): void; - /** - * Get a random item from the pool parameter using the biasedRandomNumber system - * @param pool pool of items to pick an item from - * @param isPmc is the bot being created a pmc - * @returns ITemplateItem object - */ - protected getRandomItemFromPool(pool: ITemplateItem[], isPmc: boolean): ITemplateItem; - /** - * Get the loot nvalue from botconfig - * @param isPmc if true the pmc nvalue is returned - * @returns nvalue as number - */ - protected getBotLootNValue(isPmc: boolean): number; - /** - * Update item limit array to contain items that have a limit - * All values are set to 0 - * @param isPmc is the bot a pmc - * @param botRole role the bot has - * @param limitCount - */ - protected initItemLimitArray(isPmc: boolean, botRole: string, limitCount: Record): void; - /** - * Check if an item has reached its bot-specific spawn limit - * @param itemTemplate Item we check to see if its reached spawn limit - * @param botRole Bot type - * @param isPmc Is bot we're working with a pmc - * @param limitCount spawn limits for items on bot - * @param itemSpawnLimits the limits this bot is allowed to have - * @returns true if item has reached spawn limit - */ - protected itemHasReachedSpawnLimit(itemTemplate: ITemplateItem, botRole: string, isPmc: boolean, limitCount: Record, itemSpawnLimits: Record): boolean; - /** - * Is the item an ammo box - * @param props props of the item to check - * @returns true if item is an ammo box - */ - protected isAmmoBox(props: Props): boolean; - /** - * Create an object that contains the ammo stack for an ammo box - * @param parentId ammo box id - * @param props ammo box props - * @returns Item object - */ - protected createAmmoForAmmoBox(parentId: string, props: Props): Item; - /** - * Randomise the stack size of a money object, uses different values for pmc or scavs - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param moneyItem Money stack to randomise - */ - protected randomiseMoneyStackSize(isPmc: boolean, itemTemplate: ITemplateItem, moneyItem: Item): void; - /** - * Randomise the size of an ammo stack - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param ammoItem Ammo stack to randomise - */ - protected randomiseAmmoStackSize(isPmc: boolean, itemTemplate: ITemplateItem, ammoItem: Item): void; - /** - * Get spawn limits for a specific bot type from bot.json config - * If no limit found for a non pmc bot, fall back to defaults - * @param isPmc is the bot we want limits for a pmc - * @param botRole what role does the bot have - * @returns dictionary of tplIds and limit - */ - protected getItemSpawnLimitsForBotType(isPmc: boolean, botRole: string): Record; - /** - * Get the parentId or tplId of item inside spawnLimits object if it exists - * @param itemTemplate item we want to look for in spawn limits - * @param spawnLimits Limits to check for item - * @returns id as string, otherwise undefined - */ - protected getMatchingIdFromSpawnLimits(itemTemplate: ITemplateItem, spawnLimits: Record): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotWeaponGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotWeaponGenerator.d.ts deleted file mode 100644 index 9215214..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/BotWeaponGenerator.d.ts +++ /dev/null @@ -1,173 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { MinMax } from "../models/common/MinMax"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "../models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotWeaponGenerator { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected hashUtil: HashUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected weightedRandomHelper: WeightedRandomHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected readonly modMagazineSlotId = "mod_magazine"; - protected botConfig: IBotConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil, configServer: ConfigServer); - /** - * Get a random weapon from a bots pool of weapons (weighted) - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @returns weapon tpl - */ - pickWeightedWeaponTplFromPool(equipmentSlot: string, botTemplateInventory: Inventory): string; - /** - * Generated a weapon based on the supplied weapon tpl - * @param weaponTpl weapon tpl to generate (use pickWeightedWeaponTplFromPool()) - * @param equipmentSlot slot to fit into, primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateWeaponByTpl(weaponTpl: string, equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Generate an entirely random weapon - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateRandomWeapon(equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Create array with weapon base as only element - * Add additional properties as required - * @param weaponTpl - * @param weaponParentId - * @param equipmentSlot - * @param weaponItemTemplate - * @param botRole for durability values - * @returns - */ - constructWeaponBaseArray(weaponTpl: string, weaponParentId: string, equipmentSlot: string, weaponItemTemplate: ITemplateItem, botRole: string): Item[]; - /** - * Add compatible magazines to an inventory based on a generated weapon - * @param weaponDetails - * @param magCounts - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - */ - addExtraMagazinesToInventory(weaponDetails: GenerateWeaponResult, magCounts: MinMax, inventory: PmcInventory, botRole: string): void; - /** - * Get the mods necessary to kit out a weapon to its preset level - * @param weaponTpl weapon to find preset for - * @param equipmentSlot the slot the weapon will be placed in - * @param weaponParentId Value used for the parentid - * @returns array of weapon mods - */ - protected getPresetWeaponMods(weaponTpl: string, equipmentSlot: string, weaponParentId: string, itemTemplate: ITemplateItem, botRole: string): Item[]; - /** Checks if all required slots are occupied on a weapon and all it's mods */ - protected isWeaponValid(weaponItemArray: Item[]): boolean; - /** - * Generates extra magazines or bullets (if magazine is internal) and adds them to TacticalVest and Pockets. - * Additionally, adds extra bullets to SecuredContainer - * @param weaponMods - * @param weaponTemplate - * @param magCounts - * @param ammoTpl - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - * @returns - */ - protected generateExtraMagazines(weaponMods: Item[], weaponTemplate: ITemplateItem, magCounts: MinMax, ammoTpl: string, inventory: PmcInventory, botRole: string): void; - /** - * Get a randomised number of bullets for a specific magazine - * @param magCounts min and max count of magazines - * @param magTemplate magazine to generate bullet count for - * @returns bullet count number - */ - protected getRandomisedBulletCount(magCounts: MinMax, magTemplate: ITemplateItem): number; - /** - * Get a randomised count of magazines - * @param magCounts min and max value returned value can be between - * @returns numberical value of magazine count - */ - protected getRandomisedMagazineCount(magCounts: MinMax): number; - /** - * Add ammo to the secure container - * @param stackCount How many stacks of ammo to add - * @param ammoTpl Ammo type to add - * @param stackSize Size of the ammo stack to add - * @param inventory Player inventory - */ - protected addAmmoToSecureContainer(stackCount: number, ammoTpl: string, stackSize: number, inventory: PmcInventory): void; - /** - * Get a weapons magazine tpl from a weapon template - * @param weaponMods mods from a weapon template - * @param weaponTemplate Weapon to get magazine tpl for - * @param botRole the bot type we are getting the magazine for - * @returns magazine tpl string - */ - protected getMagazineTplFromWeaponTemplate(weaponMods: Item[], weaponTemplate: ITemplateItem, botRole: string): string; - /** - * Get a weapons default magazine template id - * @param weaponTemplate weapon to get default magazine for - * @returns tpl of magazine - */ - protected getWeaponsDefaultMagazineTpl(weaponTemplate: ITemplateItem): string; - protected addBulletsToVestAndPockets(ammoTpl: string, bulletCount: number, inventory: PmcInventory): void; - /** - * Finds and return a compatible ammo tpl based on the bots ammo weightings (x.json/inventory/equipment/ammo) - * @param ammo a list of ammo tpls the weapon can use - * @param weaponTemplate the weapon we want to pick ammo for - * @param isPmc is the ammo being gathered for a pmc (runs pmc ammo filtering) - * @returns an ammo tpl that works with the desired gun - */ - protected getCompatibleAmmo(ammo: Record>, weaponTemplate: ITemplateItem, isPmc: boolean): string; - /** - * Get a weapons compatible cartridge caliber - * @param weaponTemplate Weapon to look up caliber of - * @returns caliber as string - */ - protected getWeaponCaliber(weaponTemplate: ITemplateItem): string; - /** - * Fill existing magazines to full, while replacing their contents with specified ammo - * @param weaponMods - * @param magazine - * @param ammoTpl - */ - protected fillExistingMagazines(weaponMods: Item[], magazine: Item, ammoTpl: string): void; - /** - * Add cartridge item to weapon Item array, if it already exists, update - * @param weaponMods Weapon items array to amend - * @param magazine magazine item details we're adding cartridges to - * @param chosenAmmo cartridge to put into the magazine - * @param newStackSize how many cartridges should go into the magazine - */ - protected addOrUpdateMagazinesChildWithAmmo(weaponMods: Item[], magazine: Item, chosenAmmo: string, newStackSize: number): void; - /** - * Fill each Camora with a bullet - * @param weaponMods Weapon mods to find and update camora mod(s) from - * @param magazineId magazine id to find and add to - * @param ammoTpl ammo template id to hydate with - */ - protected fillCamorasWithAmmo(weaponMods: Item[], magazineId: string, ammoTpl: string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/LocationGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/LocationGenerator.d.ts deleted file mode 100644 index bd368b5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/LocationGenerator.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ContainerHelper } from "../helpers/ContainerHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILocationConfig } from "../models/spt/config/ILocationConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { RandomUtil } from "../utils/RandomUtil"; -export interface IContainerItem { - items: Item[]; - width: number; - height: number; -} -export declare class LocationGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected objectId: ObjectId; - protected randomUtil: RandomUtil; - protected ragfairServerHelper: RagfairServerHelper; - protected itemHelper: ItemHelper; - protected mathUtil: MathUtil; - protected gameEventHelper: GameEventHelper; - protected containerHelper: ContainerHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected locationConfig: ILocationConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, objectId: ObjectId, randomUtil: RandomUtil, ragfairServerHelper: RagfairServerHelper, itemHelper: ItemHelper, mathUtil: MathUtil, gameEventHelper: GameEventHelper, containerHelper: ContainerHelper, presetHelper: PresetHelper, configServer: ConfigServer); - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - protected getLooseLootMultiplerForLocation(location: string): number; - protected getStaticLootMultiplerForLocation(location: string): number; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; - protected createItem(tpl: string, staticAmmoDist: Record, parentId?: string): IContainerItem; - protected getRandomCompatibleCaliberTemplateId(item: ITemplateItem): string; - protected getRandomValidCaliber(magTemplate: ITemplateItem): string; - protected drawAmmoTpl(caliber: string, staticAmmoDist: Record): string; - protected createRandomMagCartridges(magTemplate: ITemplateItem, parentId: string, staticAmmoDist: Record, caliber?: string): Item; - protected createCartidges(parentId: string, ammoTpl: string, stackCount: number): Item; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/PMCLootGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/PMCLootGenerator.d.ts deleted file mode 100644 index 64e6f7f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/PMCLootGenerator.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -export declare class PMCLootGenerator { - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected pocketLootPool: string[]; - protected backpackLootPool: string[]; - protected botConfig: IBotConfig; - constructor(itemHelper: ItemHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/PlayerScavGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/PlayerScavGenerator.d.ts deleted file mode 100644 index bb2c730..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/PlayerScavGenerator.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Skills, Stats } from "../models/eft/common/tables/IBotBase"; -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "../models/spt/config/IPlayerScavConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { BotGenerator } from "./BotGenerator"; -export declare class PlayerScavGenerator { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected botHelper: BotHelper; - protected jsonUtil: JsonUtil; - protected fenceService: FenceService; - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - protected configServer: ConfigServer; - protected playerScavConfig: IPlayerScavConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, botHelper: BotHelper, jsonUtil: JsonUtil, fenceService: FenceService, botLootCacheService: BotLootCacheService, botGenerator: BotGenerator, configServer: ConfigServer); - /** - * Update a player profile to include a new player scav profile - * @param sessionID session id to specify what profile is updated - * @returns profile object - */ - generate(sessionID: string): IPmcData; - /** - * Get the scav karama level for a profile - * Is also the fence trader rep level - * @param pmcData pmc profile - * @returns karma level - */ - protected getScavKarmaLevel(pmcData: IPmcData): number; - /** - * Get a baseBot template - * If the parameter doesnt match "assault", take parts from the loot type and apply to the return bot template - * @param botTypeForLoot bot type to use for inventory/chances - * @returns IBotType object - */ - protected constructBotBaseTemplate(botTypeForLoot: string): IBotType; - /** - * Adjust equipment/mod/item generation values based on scav karma levels - * @param karmaSettings Values to modify the bot template with - * @param baseBotNode bot template to modify according to karama level settings - */ - protected adjustBotTemplateWithKarmaSpecificSettings(karmaSettings: KarmaLevel, baseBotNode: IBotType): void; - protected getScavSkills(scavProfile: IPmcData): Skills; - protected getDefaultScavSkills(): Skills; - protected getScavStats(scavProfile: IPmcData): Stats; - protected getScavLevel(scavProfile: IPmcData): number; - protected getScavExperience(scavProfile: IPmcData): number; - /** - * Set cooldown till pscav is playable - * take into account scav cooldown bonus - * @param scavData scav profile - * @param pmcData pmc profile - * @returns - */ - protected setScavCooldownTimer(scavData: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/RagfairAssortGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/RagfairAssortGenerator.d.ts deleted file mode 100644 index cbdd7f2..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/RagfairAssortGenerator.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairAssortGenerator { - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected generatedAssortItems: Item[]; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer); - /** - * Get an array of unique items that can be sold on the flea - * @returns array of unique items - */ - getAssortItems(): Item[]; - protected assortsAreGenerated(): boolean; - /** - * Generate an array of items the flea can sell - * @returns array of unique items - */ - protected generateRagfairAssortItems(): Item[]; - protected createRagfairAssortItem(tplId: string, id?: string): Item; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/RagfairOfferGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/RagfairOfferGenerator.d.ts deleted file mode 100644 index 3e7f4cc..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/RagfairOfferGenerator.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairAssortGenerator } from "./RagfairAssortGenerator"; -export declare class RagfairOfferGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected ragfairServerHelper: RagfairServerHelper; - protected saveServer: SaveServer; - protected presetHelper: PresetHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairPriceService: RagfairPriceService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected fenceService: FenceService; - protected itemHelper: ItemHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, ragfairCategoriesService: RagfairCategoriesService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; - protected getTraderId(userID: string): string; - protected getRating(userID: string): number; - protected getRatingGrowing(userID: string): boolean; - protected getOfferEndTime(userID: string, time: number): number; - /** - * Create multiple offers for items by using a unique list of items we've generated previously - * @param expiredOffers - */ - generateDynamicOffers(expiredOffers?: Item[]): void; - generateTraderOffers(traderID: string): void; - protected getItemCondition(userID: string, items: Item[], itemDetails: ITemplateItem): Item[]; - protected addMissingCondition(item: Item): Item; - protected getOfferRequirements(items: Item[]): { - count: number; - _tpl: string; - }[]; - /** - * Create a flea offer and store it in the Ragfair server offers array - */ - createFleaOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/ScavCaseRewardGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/ScavCaseRewardGenerator.d.ts deleted file mode 100644 index c7d6ab7..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/ScavCaseRewardGenerator.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Product } from "../models/eft/common/tables/IBotBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IScavCaseConfig } from "../models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "../models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ScavCaseRewardGenerator { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected configServer: ConfigServer; - protected scavCaseConfig: IScavCaseConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, configServer: ConfigServer); - /** - * Create an array of rewards that will be given to the player upon completing their scav case build - * @param body client request - * @returns Product array - */ - generate(body: IHideoutScavCaseStartRequestData): Product[]; - /** - * Get all db items that are not blacklisted in scavcase config - * @returns filtered array of db items - */ - protected getDbItems(): ITemplateItem[]; - /** - * Check if a template id has a blacklisted parent id - * @param tplid template id to check - * @returns true if item is blacklisted - */ - protected itemHasBlacklistedParent(tplid: string): boolean; - /** - * Pick a number of items to be rewards, the count is defined by the values in - * @param items item pool to pick rewards from - * @param itemFilters how the rewards should be filtered down (by item count) - * @returns - */ - protected pickRandomRewards(items: ITemplateItem[], itemFilters: RewardCountAndPriceDetails, rarity: string): ITemplateItem[]; - /** - * Choose if money should be a reward based on the moneyRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be money - */ - protected rewardShouldBeMoney(): boolean; - /** - * Choose if ammo should be a reward based on the ammoRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be ammo - */ - protected rewardShouldBeAmmo(): boolean; - /** - * Choose from rouble/dollar/euro at random - */ - protected getRandomMoney(): ITemplateItem; - /** - * Get a random ammo from items.json that is not in the ammo blacklist AND inside the price rage defined in scavcase.json config - * @param rarity The rarity this ammo reward is for - * @returns random ammo item from items.json - */ - protected getRandomAmmo(rarity: string): ITemplateItem; - /** - * Take all the rewards picked create the Product object array ready to return to calling code - * Also add a stack count to ammo and money - * @param rewardItems items to convert - * @returns Product array - */ - protected randomiseContainerItemRewards(rewardItems: ITemplateItem[], rarity: string): Product[]; - /** - * Add a randomised stack count to ammo or money items - * @param item money or ammo item - * @param resultItem money or ammo item with a randomise stack size - */ - protected addStackCountToAmmoAndMoney(item: ITemplateItem, resultItem: { - _id: string; - _tpl: string; - upd: any; - }, rarity: string): void; - /** - * - * @param dbItems all items from the items.json - * @param itemFilters controls how the dbItems will be filtered and returned (handbook price) - * @returns filtered dbItems array - */ - protected getFilteredItemsByPrice(dbItems: ITemplateItem[], itemFilters: RewardCountAndPriceDetails): ITemplateItem[]; - /** - * Gathers the reward options from config and scavcase.json into a single object - * @param scavCaseDetails scavcase.json values - * @returns ScavCaseRewardCountsAndPrices object - */ - protected getScavCaseRewardCountsAndPrices(scavCaseDetails: IHideoutScavCase): ScavCaseRewardCountsAndPrices; - /** - * Randomises the size of ammo and money stacks - * @param itemToCalculate ammo or money item - * @param rarity rarity (common/rare/superrare) - * @returns value to set stack count to - */ - protected getRandomAmountRewardForScavCase(itemToCalculate: ITemplateItem, rarity: string): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/WeatherGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/WeatherGenerator.d.ts deleted file mode 100644 index 44cecbb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/generators/WeatherGenerator.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class WeatherGenerator { - protected weightedRandomHelper: WeightedRandomHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weightedRandomHelper: WeightedRandomHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateTime(data: IWeatherData): IWeatherData; - /** - * Get server uptime seconds multiplied by a multiplier and add to current time as seconds - * Format to BSGs requirements - * @param computedDate current date - * @returns formatted time - */ - protected getAcceleratedTime(computedDate: Date): string; - /** - * Get current time formatted to fit BSGs requirement - * @param computedDate - * @returns - */ - protected getNormalTime(computedDate: Date): string; - generateWeather(data: IWeatherData): IWeatherData; - protected getWeightedFog(): string; - protected getWeightedRain(): number; - protected getRandomFloat(node: string): number; - protected getRandomInt(node: string): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/AssortHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/AssortHelper.d.ts deleted file mode 100644 index 15586b9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/AssortHelper.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ItemHelper } from "./ItemHelper"; -import { QuestHelper } from "./QuestHelper"; -export declare class AssortHelper { - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - constructor(logger: ILogger, itemHelper: ItemHelper, databaseServer: DatabaseServer, questHelper: QuestHelper); - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort assort items from a trader - * @returns assort items minus locked quest assorts - */ - stripLockedQuestAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort traders assorts - * @returns traders assorts minus locked loyality assorts - */ - stripLockedLoyaltyAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove an item from an assort - * @param assort assort to modify - * @param itemID item id to remove from asort - * @returns Modified assort - */ - removeItemFromAssort(assort: ITraderAssort, itemID: string): ITraderAssort; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/BotGeneratorHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/BotGeneratorHelper.d.ts deleted file mode 100644 index 3cd7256..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/BotGeneratorHelper.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { DurabilityLimitsHelper } from "../helpers/DurabilityLimitsHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Mods, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item, Repairable, Upd } from "../models/eft/common/tables/IItem"; -import { Grid, ITemplateItem, Slot } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { InventoryHelper } from "./InventoryHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProbabilityHelper } from "./ProbabilityHelper"; -export declare class BotGeneratorHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected probabilityHelper: ProbabilityHelper; - protected databaseServer: DatabaseServer; - protected durabilityLimitsHelper: DurabilityLimitsHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected containerHelper: ContainerHelper; - 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): Item[]; - /** - * Is this magazine cylinder related (revolvers and grenade launchers) - * @param magazineParentName the name of the magazines parent - * @returns true if it is cylinder related - */ - magazineIsCylinderRelated(magazineParentName: string): boolean; - /** - * randomly choose if a mod should be spawned, 100% for required mods OR mod is ammo slot - * never return true for an item that has 0% spawn chance - * @param itemSlot slot the item sits in - * @param modSlot slot the mod sits in - * @param modSpawnChances Chances for various mod spawns - * @returns boolean true if it should spawn - */ - protected shouldModBeSpawned(itemSlot: Slot, modSlot: string, modSpawnChances: ModsChances): boolean; - /** - * Get a list of containers that hold ammo - * e.g. mod_magazine - * @returns string array - */ - protected getAmmoContainers(): string[]; - /** - * Get the slot details for an item (chamber/cartridge/slot) - * @param modSlot e.g patron_in_weapon - * @param parentTemplate item template - * @returns - */ - protected getModItemSlot(modSlot: string, parentTemplate: ITemplateItem): Slot; - /** - * With the shotgun revolver (60db29ce99594040e04c4a27) 12.12 introduced CylinderMagazines. - * Those magazines (e.g. 60dc519adf4c47305f6d410d) have a "Cartridges" entry with a _max_count=0. - * Ammo is not put into the magazine directly but assigned to the magazine's slots: The "camora_xxx" slots. - * This function is a helper called by generateModsForItem for mods with parent type "CylinderMagazine" - * - * @param {object} items The items where the CylinderMagazine's camora are appended to - * @param {object} modPool modPool which should include available cartrigdes - * @param {string} parentId The CylinderMagazine's UID - * @param {object} parentTemplate The CylinderMagazine's template - */ - protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; - /** - * Take a record of camoras and merge the compatable shells into one array - * @param camorasWithShells camoras we want to merge into one array - * @returns string array of shells fro luitple camora sources - */ - protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; - generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { - upd?: Upd; - }; - /** - * Create a repairable object for a weapon that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateWeaponRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - /** - * Create a repairable object for an armor that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateArmorRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - protected getModTplFromItemDb(modTpl: string, parentSlot: Slot, modSlot: string, items: Item[]): string; - /** - * Sort by spawn chance, highest to lowest, higher is more common - * @param unsortedModArray String array to sort - * @returns Sorted string array - */ - protected sortModArray(unsortedModArray: string[]): string[]; - /** - * Can an item be added to an item without issue - * @param items - * @param tplToCheck - * @param equipmentSlot - * @returns true if possible - */ - isItemIncompatibleWithCurrentItems(items: Item[], tplToCheck: string, equipmentSlot: string): boolean; - /** - * Adds an item with all its childern into specified equipmentSlots, wherever it fits. - * @param equipmentSlots - * @param parentId - * @param parentTpl - * @param itemWithChildren - * @param inventory - * @returns a `boolean` indicating item was added - */ - addItemWithChildrenToEquipmentSlot(equipmentSlots: string[], parentId: string, parentTpl: string, itemWithChildren: Item[], inventory: PmcInventory): boolean; - protected itemAllowedInContainer(slot: Grid, itemTpl: string): boolean; -} -export declare class ExhaustableArray { - private itemPool; - private randomUtil; - private jsonUtil; - private pool; - constructor(itemPool: T[], randomUtil: RandomUtil, jsonUtil: JsonUtil); - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/BotHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/BotHelper.d.ts deleted file mode 100644 index 9b89481..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/BotHelper.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Difficulty, IBotType } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, configServer: ConfigServer); - getBotDifficultySettings(type: string, difficulty: string): Difficulty; - getBotTemplate(role: string): IBotType; - getPmcDifficultySettings(type: string, difficulty: string): Difficulty; - /** - * Randomise the chance the PMC will attack their own side - * @param difficultySettings pmc difficulty settings - */ - randomisePmcHostility(difficultySettings: Difficulty): void; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - /** - * Add a bot to the FRIENDLY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typeToAdd bot type to add to friendly list - */ - addBotToFriendlyList(difficultySettings: Difficulty, typeToAdd: string): void; - /** - * Add a bot to the ENEMY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to enemy list - */ - addBotToEnemyList(difficultySettings: Difficulty, typesToAdd: string[], typeBeingEdited: string): void; - /** - * Add a bot to the REVENGE_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to revenge list - */ - addBotToRevengeList(difficultySettings: Difficulty, typesToAdd: string[]): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ContainerHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ContainerHelper.d.ts deleted file mode 100644 index 3c2ee93..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ContainerHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export declare class FindSlotResult { - success: boolean; - x: any; - y: any; - rotation: boolean; - constructor(success?: boolean, x?: any, y?: any, rotation?: boolean); -} -export declare class ContainerHelper { - protected locateSlot(container2D: number[][], containerX: number, containerY: number, x: number, y: number, itemW: number, itemH: number): boolean; - findSlotForItem(container2D: number[][], itemWidth: number, itemHeight: number): FindSlotResult; - fillContainerMapWithItem(container2D: number[][], x: number, y: number, itemW: number, itemH: number, rotate: boolean): any; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/DialogueHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/DialogueHelper.d.ts deleted file mode 100644 index e3e2bda..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/DialogueHelper.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { Dialogue, MessageContent, MessagePreview } from "../models/eft/profile/IAkiProfile"; -import { MessageType } from "../models/enums/MessageType"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -import { ItemHelper } from "./ItemHelper"; -import { NotificationSendHelper } from "./NotificationSendHelper"; -import { NotifierHelper } from "./NotifierHelper"; -export declare class DialogueHelper { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected notificationSendHelper: NotificationSendHelper; - protected itemHelper: ItemHelper; - constructor(hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, notificationSendHelper: NotificationSendHelper, itemHelper: ItemHelper); - createMessageContext(templateId: string, messageType: MessageType, maxStoreTime: number): MessageContent; - /** - * Add a templated message to the dialogue. - * @param dialogueID - * @param messageContent - * @param sessionID - * @param rewards - */ - addDialogueMessage(dialogueID: string, messageContent: MessageContent, sessionID: string, rewards?: any[]): void; - /** - * Get the preview contents of the last message in a dialogue. - * @param dialogue - * @returns - */ - getMessagePreview(dialogue: Dialogue): MessagePreview; - /** - * Get the item contents for a particular message. - * @param messageID - * @param sessionID - * @returns - */ - getMessageItemContents(messageID: string, sessionID: string): Item[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/DurabilityLimitsHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/DurabilityLimitsHelper.d.ts deleted file mode 100644 index 07a5db1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/DurabilityLimitsHelper.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotHelper } from "./BotHelper"; -export declare class DurabilityLimitsHelper { - protected randomUtil: RandomUtil; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(randomUtil: RandomUtil, botHelper: BotHelper, configServer: ConfigServer); - getRandomisedMaxWeaponDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedMaxArmorDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedWeaponDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - getRandomisedArmorDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - protected generateMaxWeaponDurability(botRole: string): number; - protected generateMaxPmcArmorDurability(itemMaxDurability: number): number; - protected getLowestMaxWeaponFromConfig(botRole: string): number; - protected getHighestMaxWeaponDurabilityFromConfig(botRole: string): number; - protected generateWeaponDurability(botRole: string, maxDurability: number): number; - protected generateArmorDurability(botRole: string, maxDurability: number): number; - protected getMinWeaponDeltaFromConfig(botRole: string): number; - protected getMaxWeaponDeltaFromConfig(botRole: string): number; - protected getMinArmorDeltaFromConfig(botRole: string): number; - protected getMaxArmorDeltaFromConfig(botRole: string): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/GameEventHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/GameEventHelper.d.ts deleted file mode 100644 index 7613053..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/GameEventHelper.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class GameEventHelper { - protected databaseServer: DatabaseServer; - constructor(databaseServer: DatabaseServer); - get events(): Record; - get christmasEventItems(): string[]; - itemIsChristmasRelated(itemId: string): boolean; - christmasEventEnabled(): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HandbookHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HandbookHelper.d.ts deleted file mode 100644 index b47d466..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HandbookHelper.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare class LookupItem { - byId: Record; - byParent: Record; - constructor(); -} -export declare class LookupCollection { - items: LookupItem; - categories: LookupItem; - constructor(); -} -export declare class HandbookHelper { - protected lookup: LookupCollection; - hydrateLookup(lookup: LookupCollection): void; - getTemplatePrice(x: string): number; - templatesWithParent(x: string): string[]; - isCategory(x: string): boolean; - childrenCategories(x: string): string[]; - /** - * Gets Currency to Ruble conversion Value - * @param {number} value - * @param {string} currencyFrom - * @returns number - */ - inRUB(value: number, currencyFrom: string): number; - /** - * Gets Ruble to Currency conversion Value - * @param {number} value - * @param {string} currencyTo - * @returns number - */ - fromRUB(value: number, currencyTo: string): number; -} -export {}; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HealthHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HealthHelper.d.ts deleted file mode 100644 index 3116c9c..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HealthHelper.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "../models/spt/config/IHealthConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HealthHelper { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected configServer: ConfigServer; - protected healthConfig: IHealthConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); - /** - * Resets the profiles vitality/healh and vitality/effects properties to their defaults - * @param sessionID Session Id - * @returns updated profile - */ - resetVitality(sessionID: string): IAkiProfile; - /** - * Update player profile with changes from request object - * @param pmcData Player profile - * @param info Request object - * @param sessionID Session id - * @param addEffects Should effects be added or removed (default - add) - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - protected saveHealth(pmcData: IPmcData, sessionID: string): void; - /** - * Save effects to profile - * Works by removing all effects and adding them back from profile - * Remoces empty 'Effects' objects if found - * @param pmcData Player profile - * @param sessionID Session id - * @param addEffects Should effects be added back to profile - * @returns - */ - protected saveEffects(pmcData: IPmcData, sessionID: string, addEffects: boolean): void; - /** - * Add effect to body part in profile - * @param pmcData Player profile - * @param effectBodyPart body part to edit - * @param effectType Effect to add to body part - */ - protected addEffect(pmcData: IPmcData, effectBodyPart: string, effectType: string): void; - protected isEmpty(map: any): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HideoutHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HideoutHelper.d.ts deleted file mode 100644 index 36e4009..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HideoutHelper.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Common, HideoutArea, Production, Productive } from "../models/eft/common/tables/IBotBase"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { StageBonus } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class HideoutHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected inventoryHelper: InventoryHelper; - protected playerService: PlayerService; - protected configServer: ConfigServer; - 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; - /** - * This convinience function intialies new Production Object - * with all the constants. - */ - initProduction(recipeId: string, productionTime: number): Production; - isProductionType(productive: Productive): productive is Production; - applyPlayerUpgradesBonuses(pmcData: IPmcData, bonus: StageBonus): void; - protected applySkillXPBoost(pmcData: IPmcData, bonus: StageBonus): void; - updatePlayerHideout(sessionID: string): void; - protected updateWaterCollector(sessionId: string, pmcData: IPmcData, area: HideoutArea, isGeneratorOn: boolean): void; - protected doesWaterCollectorHaveFilter(waterCollector: HideoutArea): boolean; - protected updateFuel(generatorArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateWaterFilters(waterFilterArea: HideoutArea, pwProd: Production, isGeneratorOn: boolean, pmcData: IPmcData): HideoutArea; - protected getAreaUpdObject(stackCount: number, resourceValue: number, resourceUnitsConsumed: number): Upd; - protected updateAirFilters(airFilterArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateBitcoinFarm(pmcData: IPmcData, btcFarmCGs: number, isGeneratorOn: boolean): Production; - protected getBTCSlots(pmcData: IPmcData): number; - protected getManagementSkillsSlots(): number; - protected hasManagementSkillSlots(pmcData: IPmcData): boolean; - protected getHideoutManagementSkill(pmcData: IPmcData): Common; - protected getHideoutManagementConsumptionBonus(pmcData: IPmcData): number; - isProduction(productive: Productive): productive is Production; - getBTC(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HttpServerHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HttpServerHelper.d.ts deleted file mode 100644 index c6e5296..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/HttpServerHelper.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HttpServerHelper { - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected mime: { - css: string; - bin: string; - html: string; - jpg: string; - js: string; - json: string; - png: string; - svg: string; - txt: string; - }; - constructor(configServer: ConfigServer); - getMimeText(key: string): string; - buildUrl(): string; - getBackendUrl(): string; - getWebsocketUrl(): string; - sendTextJson(resp: any, output: any): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/InRaidHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/InRaidHelper.d.ts deleted file mode 100644 index c3cbfbb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/InRaidHelper.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Victim } from "../models/eft/common/tables/IBotBase"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { PaymentHelper } from "./PaymentHelper"; -export declare class InRaidHelper { - protected logger: ILogger; - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, saveServer: SaveServer, jsonUtil: JsonUtil, databaseServer: DatabaseServer, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Reset the SPT inraid property stored in a profile to 'none' - * @param sessionID Session id - */ - protected removePlayer(sessionID: string): void; - /** - * Some maps have one-time-use keys (e.g. Labs - * Remove the relevant key from an inventory based on the post-raid request data passed in - * @param offraidData post-raid data - * @param sessionID Session id - */ - protected removeMapAccessKey(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Check an array of items and add an upd object to money items with a stack count of 1 - * Single stack money items have no upd object and thus no StackObjectsCount, causing issues - * @param items Items array to check - */ - addUpdToMoneyFromRaid(items: Item[]): void; - /** - * Add karma changes up and return the new value - * @param existingFenceStanding Current fence standing level - * @param victims Array of kills player performed - * @returns adjusted karma level after kills are taken into account - */ - calculateFenceStandingChangeFromKills(existingFenceStanding: number, victims: Victim[]): number; - /** - * Reset a profile to a baseline, used post-raid - * Reset points earned during session property - * Increment exp - * Remove Labs keycard - * @param profileData Profile to update - * @param saveProgressRequest post raid save data request data - * @param sessionID Sessino id - * @returns Reset profile object - */ - updateProfileBaseStats(profileData: IPmcData, saveProgressRequest: ISaveProgressRequestData, sessionID: string): IPmcData; - /** - * Adds SpawnedInSession property to items found in a raid - * Removes SpawnedInSession for non-scav players if item was taken into raid with SpawnedInSession = true - * @param preRaidProfile profile to update - * @param postRaidProfile profile to upate inventory contents of - * @param isPlayerScav Was this a p scav raid - * @returns - */ - addSpawnedInSessionPropertyToItems(preRaidProfile: IPmcData, postRaidProfile: IPmcData, isPlayerScav: boolean): IPmcData; - /** - * Iterate over inventory items and remove the property that defines an item as Found in Raid - * Only removes property if item had FiR when entering raid - * @param postRaidProfile profile to update items for - * @returns Updated profile with SpawnedInSession removed - */ - removeSpawnedInSessionPropertyFromItems(postRaidProfile: IPmcData): IPmcData; - /** - * Update a players inventory post-raid - * Remove equipped items from pre-raid - * Add new items found in raid to profile - * Store insurance items in profile - * @param sessionID - * @param pmcData Profile to update - * @param postRaidProfile Profile returned by client after a raid - * @returns Updated profile - */ - setInventory(sessionID: string, pmcData: IPmcData, postRaidProfile: IPmcData): IPmcData; - /** - * Clear pmc inventory of all items except those that are exempt - * Used post-raid to remove items after death - * @param pmcData Player profile - * @param sessionID Session id - * @returns Player profile with pmc inventory cleared - */ - deleteInventory(pmcData: IPmcData, sessionID: string): IPmcData; - /** - * Does the provided items slotId mean its kept on the player after death - * @param slotId slotid of item to check - * @returns true if item is kept after death - */ - isItemKeptAfterDeath(slotId: string): boolean; - getPlayerGear(items: Item[]): Item[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/InventoryHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/InventoryHelper.d.ts deleted file mode 100644 index dc7cbca..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/InventoryHelper.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig } from "../models/spt/config/IInventoryConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class InventoryHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected httpResponse: HttpResponseUtil; - protected fenceService: FenceService; - protected databaseServer: DatabaseServer; - protected paymentHelper: PaymentHelper; - protected traderAssortHelper: TraderAssortHelper; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected containerHelper: ContainerHelper; - protected profileHelper: ProfileHelper; - protected configServer: ConfigServer; - protected inventoryConfig: IInventoryConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, httpResponse: HttpResponseUtil, fenceService: FenceService, databaseServer: DatabaseServer, paymentHelper: PaymentHelper, traderAssortHelper: TraderAssortHelper, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, containerHelper: ContainerHelper, profileHelper: ProfileHelper, configServer: ConfigServer); - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - getItemSize(itemTpl: string, itemID: string, inventoryItem: Item[]): Record; - protected getSizeByInventoryItemHash(itemTpl: string, itemID: string, inventoryItemHash: InventoryHelper.InventoryItemHash): Record; - protected getInventoryItemHash(inventoryItem: Item[]): InventoryHelper.InventoryItemHash; - getContainerMap(containerW: number, containerH: number, itemList: Item[], containerId: string): number[][]; - /** - * Based on the item action, determine whose inventories we should be looking at for from and to. - */ - getOwnerInventoryItems(body: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData, sessionID: string): OwnerInventoryItems; - /** - * Made a 2d array table with 0 - free slot and 1 - used slot - * @param {Object} pmcData - * @param {string} sessionID - * @returns Array - */ - protected getStashSlotMap(pmcData: IPmcData, sessionID: string): number[][]; - protected getStashType(sessionID: string): string; - protected getPlayerStashSize(sessionID: string): Record; - /** - * Internal helper function to transfer an item from one profile to another. - * fromProfileData: Profile of the source. - * toProfileData: Profile of the destination. - * body: Move request - */ - moveItemToProfile(fromItems: Item[], toItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to move item within the same profile_f. - */ - moveItemInternal(inventoryItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to handle cartridges in inventory if any of them exist. - */ - protected handleCartridges(items: Item[], body: IInventoryMoveRequestData): void; -} -declare namespace InventoryHelper { - interface InventoryItemHash { - byItemId: Record; - byParentId: Record; - } -} -export {}; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ItemHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ItemHelper.d.ts deleted file mode 100644 index 1701c62..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ItemHelper.d.ts +++ /dev/null @@ -1,206 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { InsuredItem } from "../models/eft/common/tables/IBotBase"; -import { Item, Repairable } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -declare class ItemHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Checks if a id is a valid item. Valid meaning that it's an item that be stored in stash - * @param {string} tpl the template id / tpl - * @returns boolean; true for items that may be in player posession and not quest items - */ - isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; - /** - * Checks if an id is a valid item. Valid meaning that it's an item that may be a reward - * or content of bot loot. Items that are tested as valid may be in a player backpack or stash. - * @param {*} tpl template id of item to check - * @returns boolean: true if item is valid reward - */ - isValidRewardItem(tpl: string): boolean; - /** - * Picks rewardable items from items.json. This means they need to fit into the inventory and they shouldn't be keys (debatable) - * @returns a list of rewardable items [[_tpl, itemTemplate],...] - */ - getRewardableItems(): [string, ITemplateItem][]; - /** - * Check if the tpl / template Id provided is a descendent of the baseclass - * - * @param {string} tpl the item template id to check - * @param {string} baseclassTpl the baseclass to check for - * @return {boolean} is the tpl a descendent? - */ - isOfBaseclass(tpl: string, baseclassTpl: string): boolean; - /** - * Returns the item price based on the handbook or as a fallback from the prices.json if the item is not - * found in the handbook. If the price can't be found at all return 0 - * - * @param {string} tpl the item template to check - * @returns {integer} The price of the item or 0 if not found - */ - getItemPrice(tpl: string): number; - fixItemStackCount(item: Item): Item; - /** - * AmmoBoxes contain StackSlots which need to be filled for the AmmoBox to have content. - * Here's what a filled AmmoBox looks like: - * { - * "_id": "b1bbe982daa00ac841d4ae4d", - * "_tpl": "57372c89245977685d4159b1", - * "parentId": "5fe49a0e2694b0755a504876", - * "slotId": "hideout", - * "location": { - * "x": 3, - * "y": 4, - * "r": 0 - * }, - * "upd": { - * "StackObjectsCount": 1 - * } - * }, - * { - * "_id": "b997b4117199033afd274a06", - * "_tpl": "56dff061d2720bb5668b4567", - * "parentId": "b1bbe982daa00ac841d4ae4d", - * "slotId": "cartridges", - * "location": 0, - * "upd": { - * "StackObjectsCount": 30 - * } - * } - * Given the AmmoBox Item (first object) this function generates the StackSlot (second object) and returns it. - * StackSlots are only used for AmmoBoxes which only have one element in StackSlots. However, it seems to be generic - * to possibly also have more than one StackSlot. As good as possible, without seeing items having more than one - * StackSlot, this function takes account of this and creates and returns an array of StackSlotItems - * - * @param {object} item The item template of the AmmoBox as given in items.json - * @param {string} parentId The id of the AmmoBox instance these StackSlotItems should be children of - * @returns {array} The array of StackSlotItems - */ - generateItemsFromStackSlot(item: ITemplateItem, parentId: string): Item[]; - /** - * Gets item data from items.json - * @param tpl items template id to look up - * @returns bool - is valid + template item object as array - */ - getItem(tpl: string): [boolean, ITemplateItem]; - /** - * get normalized value (0-1) based on item condition - * @param item - * @returns number between 0 and 1 - */ - getItemQualityModifier(item: Item): number; - /** - * Get a quality value based on a repairable items (weapon/armor) current state between current and max durability - * @param itemDetails - * @param repairable repairable object - * @param item - * @returns a number between 0 and 1 - */ - protected getRepairableItemQualityValue(itemDetails: ITemplateItem, repairable: Repairable, item: Item): number; - /** - * Recursive function that looks at every item from parameter and gets their childrens Ids - * @param items - * @param itemID - * @returns an array of strings - */ - findAndReturnChildrenByItems(items: Item[], itemID: string): string[]; - /** - * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. - * @param items - * @param baseItemId - * @returns An array of Item objects - */ - findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; - /** - * Find children of the item in a given assort (weapons parts for example, need recursive loop function) - * @param itemIdToFind Template id of item to check for - * @param assort Array of items to check in - * @returns Array of children of requested item - */ - findAndReturnChildrenByAssort(itemIdToFind: string, assort: Item[]): Item[]; - /** - * Check if the passed in item has buy count restrictions - * @param itemToCheck Item to check - * @returns true if it has buy restrictions - */ - hasBuyRestrictions(itemToCheck: Item): boolean; - /** - * is the passed in template id a dog tag - * @param tpl Template id to check - * @returns true if it is a dogtag - */ - isDogtag(tpl: string): boolean; - /** - * Can the item passed in be sold to a trader because it is raw money - * @param tpl Item template id to check - * @returns true if unsellable - */ - isNotSellable(tpl: string): boolean; - /** - * Gets the identifier for a child using slotId, locationX and locationY. - * @param item - * @returns "slotId OR slotid,locationX,locationY" - */ - getChildId(item: Item): string; - /** - * Can the pased in item be stacked - * @param tpl item to check - * @returns true if it can be stacked - */ - isItemTplStackable(tpl: string): boolean; - /** - * split item stack if it exceeds StackMaxSize - */ - splitStack(item: Item): Item[]; - /** - * Find Barter items in the inventory - * @param {string} by - * @param {Object} pmcData - * @param {string} barterItemId - * @returns Array of Item objects - */ - findBarterItems(by: string, pmcData: IPmcData, barterItemId: string): Item[]; - /** - * - * @param pmcData - * @param items - * @param insuredItems insured items to not replace ids for - * @param fastPanel - * @returns - */ - replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): any[]; - /** - * Recursivly loop down through an items hierarchy to see if any of the ids match the supplied list, return true if any do - * @param {string} tpl - * @param {Array} tplsToCheck - * @returns boolean - */ - doesItemOrParentsIdMatch(tpl: string, tplsToCheck: string[]): boolean; - /** - * Return true if item is a quest item - * @param {string} tpl - * @returns boolean - */ - isQuestItem(tpl: string): boolean; - /** - * Get the inventory size of an item - * @param items - * @param rootItemId - * @returns ItemSize object (width and height) - */ - getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize; -} -declare namespace ItemHelper { - interface ItemSize { - width: number; - height: number; - } -} -export { ItemHelper }; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/NotificationSendHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/NotificationSendHelper.d.ts deleted file mode 100644 index 34e62d9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/NotificationSendHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { NotificationService } from "../services/NotificationService"; -export declare class NotificationSendHelper { - protected httpServer: IHttpServer; - protected notificationService: NotificationService; - constructor(httpServer: IHttpServer, notificationService: NotificationService); - /** - * Send notification message to the appropiate channel - */ - sendMessage(sessionID: string, notificationMessage: INotification): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/NotifierHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/NotifierHelper.d.ts deleted file mode 100644 index 738b69a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/NotifierHelper.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { Message, MessageContentRagfair } from "../models/eft/profile/IAkiProfile"; -import { HttpServerHelper } from "./HttpServerHelper"; -export declare class NotifierHelper { - protected httpServerHelper: HttpServerHelper; - /** - * The default notification sent when waiting times out. - */ - protected defaultNotification: INotification; - constructor(httpServerHelper: HttpServerHelper); - getDefaultNotification(): INotification; - /** Creates a new notification that displays the "Your offer was sold!" prompt and removes sold offer from "My Offers" on clientside */ - createRagfairOfferSoldNotification(dialogueMessage: Message, ragfairData: MessageContentRagfair): INotification; - /** Creates a new notification with the specified dialogueMessage object. */ - createNewMessageNotification(dialogueMessage: Message): INotification; - getWebSocketServer(sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/PaymentHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/PaymentHelper.d.ts deleted file mode 100644 index 2d068a4..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/PaymentHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export declare class PaymentHelper { - /** - * Check whether tpl is Money - * @param {string} tpl - * @returns void - */ - isMoneyTpl(tpl: string): boolean; - /** - * Gets currency TPL from TAG - * @param {string} currency - * @returns string - */ - getCurrency(currency: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/PresetHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/PresetHelper.d.ts deleted file mode 100644 index a469582..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/PresetHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Preset } from "../models/eft/common/IGlobals"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class PresetHelper { - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected lookup: Record; - constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); - hydratePresetStore(input: Record): void; - isPreset(id: string): boolean; - hasPreset(templateId: string): boolean; - getPreset(id: string): Preset; - getPresets(templateId: string): Preset[]; - getDefaultPreset(templateId: string): Preset; - getBaseItemTpl(presetId: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ProbabilityHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ProbabilityHelper.d.ts deleted file mode 100644 index 7a0676c..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ProbabilityHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ProbabilityHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - constructor(logger: ILogger, randomUtil: RandomUtil); - /** - * Chance to roll a number out of 100 - * @param chance Percentage chance roll should success - * @param scale scale of chance to allow support of numbers > 1-100 - * @returns true if success - */ - rollChance(chance: number, scale?: number): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ProfileHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ProfileHelper.d.ts deleted file mode 100644 index 6c150c8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/ProfileHelper.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Stats } from "../models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -export declare class ProfileHelper { - protected jsonUtil: JsonUtil; - protected watermark: Watermark; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected fenceService: FenceService; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, fenceService: FenceService); - resetProfileQuestCondition(sessionID: string, conditionId: string): void; - getCompleteProfile(sessionID: string): IPmcData[]; - isNicknameTaken(info: IValidateNicknameRequestData, sessionID: string): boolean; - /** - * Add experience to a PMC inside the players profile - * @param sessionID Session id - * @param experienceToAdd Experiecne to add to PMC character - */ - addExperienceToPmc(sessionID: string, experienceToAdd: number): void; - getProfileByPmcId(pmcId: string): IPmcData; - getExperience(level: number): number; - getMaxLevel(): number; - getDefaultAkiDataObject(): any; - getFullProfile(sessionID: string): IAkiProfile; - getPmcProfile(sessionID: string): IPmcData; - getScavProfile(sessionID: string): IPmcData; - getDefaultCounters(): Stats; - protected isWiped(sessionID: string): boolean; - protected getServerVersion(): string; - /** - * Iterate over player profile inventory items and find the secure container and remove it - * @param profile Profile to remove secure container from - * @returns profile without secure container - */ - removeSecureContainer(profile: IPmcData): IPmcData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/QuestConditionHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/QuestConditionHelper.d.ts deleted file mode 100644 index 90ee560..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/QuestConditionHelper.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { AvailableForConditions } from "../models/eft/common/tables/IQuest"; -export declare class QuestConditionHelper { - getQuestConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLevelConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLoyaltyConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - protected filterConditions(q: AvailableForConditions[], questType: string, furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/QuestHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/QuestHelper.d.ts deleted file mode 100644 index 0f68cd5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/QuestHelper.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { AvailableForConditions, AvailableForProps, IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { QuestStatus } from "../models/enums/QuestStatus"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { TraderHelper } from "./TraderHelper"; -export declare class QuestHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - protected ragfairServerHelper: RagfairServerHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected traderHelper: TraderHelper; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); - questStatus(pmcData: IPmcData, questID: string): QuestStatus; - /** - * returns true is the condition is satisfied - */ - evaluateLevel(pmcProfile: IPmcData, cond: AvailableForConditions): boolean; - getDeltaQuests(before: IQuest[], after: IQuest[]): IQuest[]; - rewardSkillPoints(sessionID: string, pmcData: IPmcData, output: IItemEventRouterResponse, skillName: string, progress: number): void; - getQuestLocale(questId: string): any; - /** - * Debug Routine for showing some information on the - * quest list in question. - */ - dumpQuests(quests: any): void; - loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; - protected processReward(reward: Reward): any[]; - getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; - /** - * Add quest with new state value to pmc profile - * @param pmcData profile to add quest to - * @param newState state the new quest should be in when added - * @param acceptedQuest Details of quest being added - */ - addQuestToPMCData(pmcData: IPmcData, newState: QuestStatus, acceptedQuest: IAcceptQuestRequestData): void; - acceptedUnlocked(acceptedQuestId: string, sessionID: string): IQuest[]; - failedUnlocked(failedQuestId: string, sessionID: string): IQuest[]; - applyMoneyBoost(quest: IQuest, moneyBoost: number): IQuest; - changeItemStack(pmcData: IPmcData, id: string, value: number, sessionID: string, output: any): void; - /** - * Get List of All Quests as an array - * @returns Array of IQuest objects - */ - questValues(): IQuest[]; - /** - * Reest AvailableForStart conditions for quests - * @param quests queststo clean - * @returns quest array without conditions - */ - protected cleanQuestList(quests: IQuest[]): IQuest[]; - /** - * Reset AvailableForStart conditions on a quest - * @param quest quest to clean - * @returns reset IQuest object - */ - cleanQuestConditions(quest: IQuest): IQuest; - failQuest(pmcData: IPmcData, body: any, sessionID: string): any; - /** - * Get quest by id from database - * @param questId questid to look for - * @param pmcData player profile - * @returns IQuest object - */ - getQuestFromDb(questId: string, pmcData: IPmcData): IQuest; - getQuestLocaleIdFromDb(messageId: string): string; - /** - * Alter a quests state + Add a record to tis status timers object - * @param pmcData Profile to update - * @param newQuestState new state the qeust should be in - * @param questId id of the quest to alter the status of - */ - updateQuestState(pmcData: IPmcData, newQuestState: QuestStatus, questId: string): void; - /** - * Give player quest rewards - Skills/exp/trader standing/items/assort unlocks - * @param pmcData Player profile - * @param body complete quest request - * @param state State of the quest now its complete - * @param sessionID Seession id - * @returns array of reward objects - */ - applyQuestReward(pmcData: IPmcData, body: ICompleteQuestRequestData, state: QuestStatus, sessionID: string): Reward[]; - /** - * Get the intel center bonus a player has - * @param pmcData player profile - * @returns bonus in percent - */ - protected getIntelCenterRewardBonus(pmcData: IPmcData): number; - getFindItemIdForQuestItem(itemTpl: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairHelper.d.ts deleted file mode 100644 index 2c8dbb5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairHelper.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairLinkedItemService } from "../services/RagfairLinkedItemService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -import { UtilityHelper } from "./UtilityHelper"; -export declare class RagfairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected traderAssortHelper: TraderAssortHelper; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected ragfairLinkedItemService: RagfairLinkedItemService; - protected utilityHelper: UtilityHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, traderAssortHelper: TraderAssortHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, ragfairLinkedItemService: RagfairLinkedItemService, utilityHelper: UtilityHelper, configServer: ConfigServer); - /** - * Gets currency TAG from TPL - * @param {string} currency - * @returns string - */ - getCurrencyTag(currency: string): string; - filterCategories(sessionID: string, info: ISearchRequestData): string[]; - getDisplayableAssorts(sessionID: string): Record; - protected getCategoryList(handbookId: string): string[]; - countCategories(result: IGetOffersResult): void; - /** - * Merges Root Items - * Ragfair allows abnormally large stacks. - */ - mergeStackable(items: Item[]): Item[]; - getCurrencySymbol(currencyTpl: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairOfferHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairOfferHelper.d.ts deleted file mode 100644 index 8d03bee..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairOfferHelper.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { PresetHelper } from "./PresetHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairHelper } from "./RagfairHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { RagfairSortHelper } from "./RagfairSortHelper"; -export declare class RagfairOfferHelper { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected paymentHelper: PaymentHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - 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); - getValidOffers(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - getOffersForBuild(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - processOffers(sessionID: string): boolean; - protected getProfileOffers(sessionID: string): IRagfairOffer[]; - protected deleteOfferByOfferId(sessionID: string, offerId: string): void; - protected completeOffer(sessionID: string, offer: IRagfairOffer, boughtAmount: number): IItemEventRouterResponse; - isDisplayableOffer(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, offer: IRagfairOffer, pmcProfile: IPmcData): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairSellHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairSellHelper.d.ts deleted file mode 100644 index 6ec004a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairSellHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { SellResult } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairSellHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateSellChance(baseChance: number, offerPrice: number, requirementsPriceInRub: number): number; - rollForSale(sellChance: number, count: number): SellResult[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairServerHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairServerHelper.d.ts deleted file mode 100644 index e4939d1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairServerHelper.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "../models/enums/MemberCategory"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class RagfairServerHelper { - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected itemHelper: ItemHelper; - protected localeService: LocaleService; - protected dialogueHelper: DialogueHelper; - protected jsonUtil: JsonUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected questConfig: IQuestConfig; - protected static 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 - * @param itemDetails - * @returns boolean - */ - isItemValidRagfairItem(itemDetails: [boolean, ITemplateItem]): boolean; - protected isItemBlacklisted(itemTemplateId: string): boolean; - isTrader(userID: string): boolean; - isPlayer(userID: string): boolean; - returnItems(sessionID: string, items: any[]): void; - calculateDynamicStackCount(tplId: string, isWeaponPreset: boolean): number; - getDynamicOfferCurrency(): string; - getMemberType(userID: string): MemberCategory; - getNickname(userID: string): string; - getPresetItems(item: any): Item[]; - getPresetItemsByTpl(item: Item): Item[]; - reparentPresets(item: Item, preset: Item[]): Item[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairSortHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairSortHelper.d.ts deleted file mode 100644 index d20e10c..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairSortHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -export declare class RagfairSortHelper { - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - constructor(databaseServer: DatabaseServer, localeService: LocaleService); - sortOffers(offers: IRagfairOffer[], type: number, direction?: number): IRagfairOffer[]; - protected sortOffersByID(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByRating(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByName(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByPrice(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByExpiry(a: IRagfairOffer, b: IRagfairOffer): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairTaxHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairTaxHelper.d.ts deleted file mode 100644 index 820facb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RagfairTaxHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { ItemHelper } from "./ItemHelper"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairTaxHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected itemHelper: ItemHelper; - constructor(logger: ILogger, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, itemHelper: ItemHelper); - calculateTax(item: Item, pmcData: IPmcData, requirementsValue: number, offerItemCount: number, sellInOnePiece: boolean): number; - protected calculateItemWorth(item: Item, itemTemplate: ITemplateItem, itemCount: number, pmcData: IPmcData, isRootItem?: boolean): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RepairHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RepairHelper.d.ts deleted file mode 100644 index 9a3ab29..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/RepairHelper.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RepairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, configServer: ConfigServer); - updateItemDurability(itemToRepair: Item, itemToRepairDetails: ITemplateItem, isArmor: boolean, amountToRepair: number, useRepairKit?: boolean, applyRandomDegradation?: boolean): Item; - protected getRandomisedArmorRepairDegredationValue(armorMaterial: string, isRepairKit: boolean, armorMax: number): number; - protected getRandomisedWeaponRepairDegredationValue(itemProps: Props, isRepairKit: boolean, armorMax: number): number; - isWeaponTemplate(tpl: string): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/SecureContainerHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/SecureContainerHelper.d.ts deleted file mode 100644 index 9e2bc32..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/SecureContainerHelper.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ItemHelper } from "./ItemHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class SecureContainerHelper { - protected itemHelper: ItemHelper; - constructor(itemHelper: ItemHelper); - getSecureContainerItems(items: Item[]): string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TradeHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TradeHelper.d.ts deleted file mode 100644 index 975062b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TradeHelper.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item, Upd } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { RagfairServer } from "../servers/RagfairServer"; -import { FenceService } from "../services/FenceService"; -import { PaymentService } from "../services/PaymentService"; -export declare class TradeHelper { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected fenceService: FenceService; - protected inventoryHelper: InventoryHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, traderHelper: TraderHelper, itemHelper: ItemHelper, paymentService: PaymentService, fenceService: FenceService, inventoryHelper: InventoryHelper, ragfairServer: RagfairServer); - /** - * Buy item from flea or trader - * @param pmcData - * @param buyRequestData data from client - * @param sessionID - * @param foundInRaid - * @param upd optional item details used when buying from flea - * @returns - */ - buyItem(pmcData: IPmcData, buyRequestData: IProcessBuyTradeRequestData, sessionID: string, foundInRaid: boolean, upd: Upd): IItemEventRouterResponse; - /** - * Sell item to trader - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - sellItem(pmcData: IPmcData, body: IProcessSellTradeRequestData, sessionID: string): IItemEventRouterResponse; - protected incrementAssortBuyCount(assortBeingPurchased: Item, itemsPurchasedCount: number): void; - protected checkPurchaseIsWithinTraderItemLimit(assortBeingPurchased: Item, assortId: string, count: number): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TraderAssortHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TraderAssortHelper.d.ts deleted file mode 100644 index 91ba6b9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TraderAssortHelper.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { RagfairAssortGenerator } from "../generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { AssortHelper } from "./AssortHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderAssortHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected mathUtil: MathUtil; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected assortHelper: AssortHelper; - protected paymentHelper: PaymentHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected traderAssortService: TraderAssortService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService, configServer: ConfigServer); - /** - * Get a traders assorts - * Can be used for returning ragfair / fence assorts - * @param sessionId session id - * @param traderId trader id - * @returns a traders assorts - */ - getAssort(sessionId: string, traderId: string): ITraderAssort; - /** - * Iterate over all assorts barter_scheme values, find barters selling for money and multiply by multipler in config - * @param traderAssort Assorts to multiple price of - */ - protected multiplyItemPricesByConfigMultipler(traderAssort: ITraderAssort): void; - /** - * Get an array of pristine trader items prior to any alteration by player (as they were on server start) - * @param traderId trader id - * @returns array of Items - */ - protected getPristineTraderAssorts(traderId: string): Item[]; - /** - * Returns generated ragfair offers in a trader assort format - * @returns Trader assort object - */ - protected getRagfairDataAsTraderAssort(): ITraderAssort; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TraderHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TraderHelper.d.ts deleted file mode 100644 index b2e9d38..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/TraderHelper.d.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { PlayerService } from "../services/PlayerService"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemHelper: ItemHelper; - protected handbookHelper: HandbookHelper; - protected playerService: PlayerService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemHelper: ItemHelper, handbookHelper: HandbookHelper, playerService: PlayerService, fenceService: FenceService, configServer: ConfigServer); - getTrader(traderID: string, sessionID: string): ITraderBase; - getTraderAssortsById(traderId: string): ITraderAssort; - /** - * Reset a profiles trader data back to its initial state as seen by a level 1 player - * Does NOT take into account different profile levels - * @param sessionID session id - * @param traderID trader id to reset - */ - resetTrader(sessionID: string, traderID: string): void; - /** - * Alter a traders unlocked status - * @param traderID Trader to alter - * @param status New status to use - * @param sessionID Session id - */ - setTraderUnlockedState(traderID: string, status: boolean, sessionID: string): void; - /** - * Get a list of items and their prices from player inventory that can be sold to a trader - * @param traderID trader id being traded with - * @param sessionID session id - * @returns IBarterScheme[][] - */ - getPurchasesData(traderID: string, sessionID: string): Record; - /** - * Should item be skipped when selling to trader according to its sell categories and other checks - * @param pmcData - * @param item - * @param sellCategory - * @returns true if should NOT be sold to trader - */ - protected isItemUnSellableToTrader(pmcData: IPmcData, item: Item, sellCategory: string[]): boolean; - /** - * Can this weapon be sold to a trader with its current durabiltiy level - * @param traderID - * @param item - * @returns boolean - */ - protected isWeaponAndBelowTraderBuyDurability(traderID: string, item: Item): boolean; - /** - * Get the price of an item and all of its attached children - * Take into account bonuses/adjsutments e.g. discounts - * @param pmcData profile data - * @param item item to calculate price of - * @param buyPriceCoefficient - * @param fenceInfo fence data - * @param traderBase trader details - * @param currencyTpl Currency to get price as - * @returns price of item + children - */ - protected getAdjustedItemPrice(pmcData: IPmcData, item: Item, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderBase: ITraderBase, currencyTpl: string): number; - /** - * Get the raw price of item+child items from handbook without any modification - * @param pmcData profile data - * @param item item to calculate price of - * @returns price as number - */ - protected getRawItemPrice(pmcData: IPmcData, item: Item): number; - protected getTraderDiscount(trader: ITraderBase, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderID: string): number; - /** - * Add standing to a trader and level them up if exp goes over level threshold - * @param sessionID Session id - * @param traderId traders id - * @param standingToAdd Standing value to add to trader - */ - addStandingToTrader(sessionID: string, traderId: string, standingToAdd: number): void; - /** - * Calculate traders level based on exp amount and increments level if over threshold - * @param traderID trader to process - * @param sessionID session id - */ - lvlUp(traderID: string, sessionID: string): void; - getTraderUpdateSeconds(traderId: string): number; - /** - * check if an item is allowed to be sold to a trader - * @param traderFilters array of allowed categories - * @param tplToCheck itemTpl of inventory - * @returns boolean - */ - traderFilter(traderFilters: string[], tplToCheck: string): boolean; - getLoyaltyLevel(traderID: string, pmcData: IPmcData): LoyaltyLevel; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/UtilityHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/UtilityHelper.d.ts deleted file mode 100644 index 5d9f482..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/UtilityHelper.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare class UtilityHelper { - arrayIntersect(a: T[], b: T[]): T[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/WeightedRandomHelper.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/WeightedRandomHelper.d.ts deleted file mode 100644 index 9aa0d29..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/helpers/WeightedRandomHelper.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -export declare class WeightedRandomHelper { - /** - * Gets a tplId from a weighted dictionary - * @param {tplId: weighting[]} itemArray - * @returns tplId - */ - getWeightedInventoryItem(itemArray: { - [tplId: string]: unknown; - } | ArrayLike): string; - /** - * Picks the random item based on its weight. - * The items with higher weight will be picked more often (with a higher probability). - * - * For example: - * - items = ['banana', 'orange', 'apple'] - * - weights = [0, 0.2, 0.8] - * - weightedRandom(items, weights) in 80% of cases will return 'apple', in 20% of cases will return - * 'orange' and it will never return 'banana' (because probability of picking the banana is 0%) - * - * @param {any[]} items - * @param {number[]} weights - * @returns {{item: any, index: number}} - */ - weightedRandom(items: string | any[], weights: string | any[]): { - item: any; - index: number; - }; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/BleedingEdgeEntry.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/BleedingEdgeEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/BleedingEdgeEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/Compiler.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/Compiler.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/Compiler.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/DebugEntry.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/DebugEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/DebugEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/ReleaseEntry.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/ReleaseEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/ReleaseEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/TestEntry.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/TestEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/ide/TestEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/BundleLoader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/BundleLoader.d.ts deleted file mode 100644 index 06ad698..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/BundleLoader.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -declare class BundleInfo { - modPath: string; - key: string; - path: string; - filepath: string; - dependencyKeys: string[]; - constructor(modpath: string, bundle: any, bundlePath: string, bundleFilepath: string); -} -export declare class BundleLoader { - protected httpServerHelper: HttpServerHelper; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected bundles: Record; - constructor(httpServerHelper: HttpServerHelper, vfs: VFS, jsonUtil: JsonUtil); - getBundles(local: boolean): BundleInfo[]; - getBundle(key: string, local: boolean): BundleInfo; - addBundles(modpath: string): void; -} -export {}; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/DelayedModLoader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 2a05604..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected initialModLoader: InitialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/InitialModLoader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 68e47fe..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt300Compatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(mod: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PostAkiModLoader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index edc6e5d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostAkiModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected preAkiModLoader: PreAkiModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, preAkiModLoader: PreAkiModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PostDBModLoader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PostDBModLoader.d.ts deleted file mode 100644 index 5101b7b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PostDBModLoader.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "../di/OnLoad"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostDBModLoader implements OnLoad { - protected preAkiModLoader: PreAkiModLoader; - constructor(preAkiModLoader: PreAkiModLoader); - onLoad(): void; - getRoute(): string; - getModPath(mod: string): string; - protected executeMods(container: DependencyContainer): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PreAkiModLoader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 6ded3c6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt3XXCompatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/common/MinMax.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/common/MinMax.d.ts deleted file mode 100644 index bc118a8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/common/MinMax.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface MinMax { - max: number; - min: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts deleted file mode 100644 index c49cef7..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface IGenerateBotsRequestData { - conditions: Condition[]; -} -export interface Condition { - Role: string; - Limit: number; - Difficulty: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IEmptyRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IEmptyRequestData.d.ts deleted file mode 100644 index 284d16e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IEmptyRequestData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export interface IEmptyRequestData { -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IGlobals.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IGlobals.d.ts deleted file mode 100644 index 9d28dbc..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IGlobals.d.ts +++ /dev/null @@ -1,1179 +0,0 @@ -import { Item } from "./tables/IItem"; -export interface IGlobals { - time: number; - config: Config; - bot_presets: BotPreset[]; - BotWeaponScatterings: BotWeaponScattering[]; - ItemPresets: Record; -} -export interface Config { - content: Content; - AimPunchMagnitude: number; - WeaponSkillProgressRate: number; - SkillAtrophy: boolean; - exp: Exp; - t_base_looting: number; - t_base_lockpicking: number; - armor: Armor; - SessionsToShowHotKeys: number; - MaxBotsAliveOnMap: number; - SavagePlayCooldown: number; - SavagePlayCooldownNdaFree: number; - MarksmanAccuracy: number; - SavagePlayCooldownDevelop: number; - TODSkyDate: string; - Mastering: Mastering[]; - GlobalItemPriceModifier: number; - TradingUnlimitedItems: boolean; - MaxLoyaltyLevelForAll: boolean; - GlobalLootChanceModifier: number; - TimeBeforeDeploy: number; - TimeBeforeDeployLocal: number; - LoadTimeSpeedProgress: number; - BaseLoadTime: number; - BaseUnloadTime: number; - BaseCheckTime: number; - Customization: Customization; - UncheckOnShot: boolean; - BotsEnabled: boolean; - ArmorMaterials: ArmorMaterials; - LegsOverdamage: number; - HandsOverdamage: number; - StomachOverdamage: number; - Health: Health; - rating: Rating; - tournament: Tournament; - RagFair: RagFair; - handbook: Handbook; - FractureCausedByFalling: Probability; - FractureCausedByBulletHit: Probability; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - Stamina: Stamina; - StaminaRestoration: StaminaRestoration; - StaminaDrain: StaminaDrain; - RequirementReferences: RequirementReferences; - RepairKitSettings: RepairKitSettings; - RestrictionsInRaid: RestrictionsInRaid[]; - SkillMinEffectiveness: number; - SkillFatiguePerPoint: number; - SkillFreshEffectiveness: number; - SkillFreshPoints: number; - SkillPointsBeforeFatigue: number; - SkillFatigueReset: number; - DiscardLimitsEnabled: boolean; - EventType: string[]; - WalkSpeed: xyz; - SprintSpeed: xyz; - SkillEnduranceWeightThreshold: number; - TeamSearchingTimeout: number; - Insurance: Insurance; - SkillExpPerLevel: number; - GameSearchingTimeout: number; - WallContusionAbsorption: xyz; - SkillsSettings: SkillsSettings; - AzimuthPanelShowsPlayerOrientation: boolean; - Aiming: Aiming; - Malfunction: Malfunction; - Overheat: Overheat; - FenceSettings: FenceSettings; - TestValue: number; - Inertia: Inertia; - Ballistic: Ballistic; -} -export interface Content { - ip: string; - port: number; - root: string; -} -export interface Exp { - heal: Heal; - match_end: MatchEnd; - kill: Kill; - level: Level; - loot_attempts: LootAttempt[]; - expForLockedDoorOpen: number; - expForLockedDoorBreach: number; - triggerMult: number; -} -export interface Heal { - expForHeal: number; - expForHydration: number; - expForEnergy: number; -} -export interface MatchEnd { - README: string; - survived_exp_requirement: number; - survived_seconds_requirement: number; - survived_exp_reward: number; - mia_exp_reward: number; - runner_exp_reward: number; - leftMult: number; - miaMult: number; - survivedMult: number; - runnerMult: number; - killedMult: number; -} -export interface Kill { - combo: Combo[]; - victimLevelExp: number; - headShotMult: number; - expOnDamageAllHealth: number; - longShotDistance: number; - bloodLossToLitre: number; - victimBotLevelExp: number; -} -export interface Combo { - percent: number; -} -export interface Level { - exp_table: ExpTable[]; - trade_level: number; - savage_level: number; - clan_level: number; - mastering1: number; - mastering2: number; -} -export interface ExpTable { - exp: number; -} -export interface LootAttempt { - k_exp: number; -} -export interface Armor { - class: Class[]; -} -export interface Class { - resistance: number; -} -export interface Mastering { - Name: string; - Templates: string[]; - Level2: number; - Level3: number; -} -export interface Customization { - SavageHead: SavageHead; - SavageBody: SavageBody; - SavageFeet: SavageFeet; - CustomizationVoice: CustomizationVoice[]; - BodyParts: BodyParts; -} -export interface SavageHead { - wild_head_1: WildHead; - wild_head_2: WildHead; - wild_head_3: WildHead; - Wild_Dealmaker_head: WildHead; - Wild_Killa_head: WildHead; - bear_head: WildHead; - bear_head_1: WildHead; - usec_head_1: WildHead; - Head_BOSS_Glukhar: WildHead; - Wild_Head_nonMesh: WildHead; - Head_BOSS_Sanitar: WildHead; - wild_head_drozd: WildHead; - wild_head_misha: WildHead; - head_cultist_01: WildHead; - head_cultist_02: WildHead; - head_cultist_03: WildHead; - DefaultUsecHead: WildHead; - usec_head_3: WildHead; - usec_head_4: WildHead; - usec_head_5: WildHead; -} -export interface WildHead { - head: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface SavageBody { - wild_body: WildBody; - wild_body_1: WildBody; - wild_body_2: WildBody; - wild_body_3: WildBody; - Wild_Dealmaker_body: WildBody; - wild_security_body_1: WildBody; - wild_security_body_2: WildBody; - wild_Killa_body: WildBody; - wild_pmcBot_body: WildBody; - wild_Shturman_body: WildBody; - wild_Gluhar_body: WildBody; - Tshirt_security_TshirtTatu_01: WildBody; - Tshirt_security_TshirtTatu_02: WildBody; - Top_security_Husky: WildBody; - Top_security_Gorka4: WildBody; - scav_kit_upper_meteor: WildBody; - wild_body_russia1: WildBody; - Top_BOSS_Sanitar: WildBody; - wild_body_motocross: WildBody; - top_cultist_01: WildBody; - top_cultist_02: WildBody; - wild_body_rainparka: WildBody; - wild_body_underarmour: WildBody; - top_boss_tagilla: WildBody; - DefaultUsecBody: WildBody; - usec_upper_acu: WildBody; - usec_upper_commando: WildBody; - usec_upper_aggressor: WildBody; - usec_upper_hoody: WildBody; - usec_upper_pcuironsight: WildBody; - usec_top_beltstaff: WildBody; - usec_upper_flexion: WildBody; - usec_upper_tier3: WildBody; - usec_upper_pcsmulticam: WildBody; - usec_upper_tier_2: WildBody; - usec_upper_infiltrator: WildBody; - user_upper_NightPatrol: WildBody; - wild_body_bomber: WildBody; - wild_top_yellowcoat: WildBody; -} -export interface WildBody { - body: string; - hands: string; - isNotRandom: boolean; -} -export interface SavageFeet { - wild_feet: WildFeet; - wild_feet_1: WildFeet; - wild_feet_2: WildFeet; - Wild_Dealmaker_feet: WildFeet; - wild_security_feet_1: WildFeet; - Wild_Killa_feet: WildFeet; - wild_pmcBot_feet: WildFeet; - Pants_BOSS_Glukhar: WildFeet; - Pants_BOSS_Shturman: WildFeet; - Pants_security_Gorka4: WildFeet; - Pants_security_Flora: WildFeet; - scav_kit_lower_sklon: WildFeet; - Pants_BOSS_Sanitar: WildFeet; - wild_feet_sweatpants: WildFeet; - wild_feet_wasatch: WildFeet; - wild_feet_slimPants: WildFeet; - pants_cultist_01: WildFeet; - pants_cultist_02: WildFeet; - wild_feet_scavelite_taclite: WildFeet; - pants_boss_tagilla: WildFeet; - wild_feet_bomber: WildFeet; - wild_pants_yellowcoat: WildFeet; -} -export interface WildFeet { - feet: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface CustomizationVoice { - voice: string; - side: string[]; - isNotRandom: boolean; -} -export interface BodyParts { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface ArmorMaterials { - UHMWPE: ArmorType; - Aramid: ArmorType; - Combined: ArmorType; - Titan: ArmorType; - Aluminium: ArmorType; - ArmoredSteel: ArmorType; - Ceramic: ArmorType; - Glass: ArmorType; -} -export interface ArmorType { - Destructibility: number; - MinRepairDegradation: number; - MaxRepairDegradation: number; - ExplosionDestructibility: number; - MinRepairKitDegradation: number; - MaxRepairKitDegradation: number; -} -export interface Health { - Falling: Falling; - Effects: Effects; - HealPrice: HealPrice; - ProfileHealthSettings: ProfileHealthSettings; -} -export interface Falling { - DamagePerMeter: number; - SafeHeight: number; -} -export interface Effects { - Existence: Existence; - Dehydration: Dehydration; - BreakPart: BreakPart; - Contusion: Contusion; - Disorientation: Disorientation; - Exhaustion: Exhaustion; - LowEdgeHealth: LowEdgeHealth; - RadExposure: RadExposure; - Stun: Stun; - Intoxication: Intoxication; - Regeneration: Regeneration; - Wound: Wound; - Berserk: Berserk; - Flash: Flash; - MedEffect: MedEffect; - Pain: Pain; - PainKiller: PainKiller; - SandingScreen: SandingScreen; - Stimulator: Stimulator; - Tremor: Tremor; - ChronicStaminaFatigue: ChronicStaminaFatigue; - Fracture: Fracture2; - HeavyBleeding: HeavyBleeding2; - LightBleeding: LightBleeding2; - BodyTemperature: BodyTemperature; -} -export interface Existence { - EnergyLoopTime: number; - HydrationLoopTime: number; - EnergyDamage: number; - HydrationDamage: number; - DestroyedStomachEnergyTimeFactor: number; - DestroyedStomachHydrationTimeFactor: number; -} -export interface Dehydration { - DefaultDelay: number; - DefaultResidueTime: number; - BleedingHealth: number; - BleedingLoopTime: number; - BleedingLifeTime: number; - DamageOnStrongDehydration: number; - StrongDehydrationLoopTime: number; -} -export interface BreakPart { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface Contusion { - Dummy: number; -} -export interface Disorientation { - Dummy: number; -} -export interface Exhaustion { - DefaultDelay: number; - DefaultResidueTime: number; - Damage: number; - DamageLoopTime: number; -} -export interface LowEdgeHealth { - DefaultDelay: number; - DefaultResidueTime: number; - StartCommonHealth: number; -} -export interface RadExposure { - Damage: number; - DamageLoopTime: number; -} -export interface Stun { - Dummy: number; -} -export interface Intoxication { - DefaultDelay: number; - DefaultResidueTime: number; - DamageHealth: number; - HealthLoopTime: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovedAfterDeath: boolean; - HealExperience: number; - RemovePrice: number; -} -export interface Regeneration { - LoopTime: number; - MinimumHealthPercentage: number; - Energy: number; - Hydration: number; - BodyHealth: BodyHealth; - Influences: Influences; -} -export interface BodyHealth { - Head: BodyHealthValue; - Chest: BodyHealthValue; - Stomach: BodyHealthValue; - LeftArm: BodyHealthValue; - RightArm: BodyHealthValue; - LeftLeg: BodyHealthValue; - RightLeg: BodyHealthValue; -} -export interface BodyHealthValue { - Value: number; -} -export interface Influences { - LightBleeding: Influence; - HeavyBleeding: Influence; - Fracture: Influence; - RadExposure: Influence; - Intoxication: Influence; -} -export interface Influence { - HealthSlowDownPercentage: number; - EnergySlowDownPercentage: number; - HydrationSlowDownPercentage: number; -} -export interface Wound { - WorkingTime: number; - ThresholdMin: number; - ThresholdMax: number; -} -export interface Berserk { - DefaultDelay: number; - WorkingTime: number; - DefaultResidueTime: number; -} -export interface Flash { - Dummy: number; -} -export interface MedEffect { - LoopTime: number; - StartDelay: number; - DrinkStartDelay: number; - FoodStartDelay: number; - DrugsStartDelay: number; - MedKitStartDelay: number; - MedicalStartDelay: number; - StimulatorStartDelay: number; -} -export interface Pain { - TremorDelay: number; - HealExperience: number; -} -export interface PainKiller { - Dummy: number; -} -export interface SandingScreen { - Dummy: number; -} -export interface Stimulator { - BuffLoopTime: number; - Buffs: Buffs; -} -export interface Buffs { - BuffsSJ1TGLabs: Buff[]; - BuffsSJ6TGLabs: Buff[]; - BuffsPropital: Buff[]; - BuffsZagustin: Buff[]; - BuffseTGchange: Buff[]; - BuffsAdrenaline: Buff[]; - BuffsGoldenStarBalm: Buff[]; - Buffs_drink_aquamari: Buff[]; - Buffs_drink_maxenergy: Buff[]; - Buffs_drink_milk: Buff[]; - Buffs_drink_tarcola: Buff[]; - Buffs_drink_hotrod: Buff[]; - Buffs_drink_juice_army: Buff[]; - Buffs_drink_water: Buff[]; - Buffs_food_borodinskiye: Buff[]; - Buffs_food_condensed_milk: Buff[]; - Buffs_food_emelya: Buff[]; - Buffs_food_mayonez: Buff[]; - Buffs_food_mre: Buff[]; - Buffs_food_sugar: Buff[]; - Buffs_drink_vodka: Buff[]; - Buffs_drink_jack: Buff[]; - Buffs_drink_moonshine: Buff[]; - Buffs_drink_purewater: Buff[]; - Buffs_3bTG: Buff[]; - Buffs_AHF1M: Buff[]; - Buffs_L1: Buff[]; - Buffs_MULE: Buff[]; - Buffs_Meldonin: Buff[]; - Buffs_Obdolbos: Buff[]; - Buffs_P22: Buff[]; - Buffs_KultistsToxin: Buff[]; - Buffs_BodyTemperature: Buff[]; - Buffs_Antidote: Buff[]; - Buffs_melee_bleed: Buff[]; - Buffs_melee_blunt: Buff[]; - Buffs_hultafors: Buff[]; - Buffs_drink_vodka_BAD: Buff[]; - Buffs_food_alyonka: Buff[]; - Buffs_food_slippers: Buff[]; - Buffs_knife: Buff[]; -} -export interface Buff { - BuffType: string; - Chance: number; - Delay: number; - Duration: number; - Value: number; - AbsoluteValue: boolean; - SkillName: string; -} -export interface Tremor { - DefaultDelay: number; - DefaultResidueTime: number; -} -export interface ChronicStaminaFatigue { - EnergyRate: number; - WorkingTime: number; - TicksEvery: number; - EnergyRatePerStack: number; -} -export interface Fracture2 { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface HeavyBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface Probability { - FunctionType: string; - K: number; - B: number; - Threshold: number; -} -export interface LightBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface BodyTemperature { - DefaultBuildUpTime: number; - DefaultResidueTime: number; - LoopTime: number; -} -export interface HealPrice { - HealthPointPrice: number; - HydrationPointPrice: number; - EnergyPointPrice: number; - TrialLevels: number; - TrialRaids: number; -} -export interface ProfileHealthSettings { - BodyPartsSettings: BodyPartsSettings; - HealthFactorsSettings: HealthFactorsSettings; -} -export interface BodyPartsSettings { - Head: BodyPartsSetting; - Chest: BodyPartsSetting; - Stomach: BodyPartsSetting; - LeftArm: BodyPartsSetting; - RightArm: BodyPartsSetting; - LeftLeg: BodyPartsSetting; - RightLeg: BodyPartsSetting; -} -export interface BodyPartsSetting { - Minimum: number; - Maximum: number; - Default: number; - OverDamageReceivedMultiplier: number; -} -export interface HealthFactorsSettings { - Energy: HealthFactorSetting; - Hydration: HealthFactorSetting; - Temperature: HealthFactorSetting; - Poisoning: HealthFactorSetting; - Radiation: HealthFactorSetting; -} -export interface HealthFactorSetting { - Minimum: number; - Maximum: number; - Default: number; -} -export interface Rating { - levelRequired: number; - limit: number; - categories: Categories; -} -export interface Categories { - experience: boolean; - kd: boolean; - surviveRatio: boolean; - avgEarnings: boolean; - kills: boolean; - raidCount: boolean; - longestShot: boolean; - timeOnline: boolean; - inventoryFullCost: boolean; - ragFairStanding: boolean; -} -export interface Tournament { - categories: Categories2; - limit: number; - levelRequired: number; -} -export interface Categories2 { - dogtags: boolean; -} -export interface RagFair { - enabled: boolean; - priceStabilizerEnabled: boolean; - includePveTraderSales: boolean; - priceStabilizerStartIntervalInHours: number; - minUserLevel: number; - communityTax: number; - communityItemTax: number; - communityRequirementTax: number; - offerPriorityCost: number; - offerDurationTimeInHour: number; - offerDurationTimeInHourAfterRemove: number; - priorityTimeModifier: number; - maxRenewOfferTimeInHour: number; - renewPricePerHour: number; - maxActiveOfferCount: MaxActiveOfferCount[]; - balancerRemovePriceCoefficient: number; - balancerMinPriceCount: number; - balancerAveragePriceCoefficient: number; - delaySinceOfferAdd: number; - uniqueBuyerTimeoutInDays: number; - ratingSumForIncrease: number; - ratingIncreaseCount: number; - ratingSumForDecrease: number; - ratingDecreaseCount: number; - maxSumForIncreaseRatingPerOneSale: number; - maxSumForDecreaseRatingPerOneSale: number; - maxSumForRarity: MaxSumForRarity; - ChangePriceCoef: number; - balancerUserItemSaleCooldownEnabled: boolean; - balancerUserItemSaleCooldown: number; - youSellOfferMaxStorageTimeInHour: number; - yourOfferDidNotSellMaxStorageTimeInHour: number; - isOnlyFoundInRaidAllowed: boolean; - sellInOnePiece: number; -} -export interface MaxActiveOfferCount { - from: number; - to: number; - count: number; -} -export interface MaxSumForRarity { - Common: RarityMaxSum; - Rare: RarityMaxSum; - Superrare: RarityMaxSum; - Not_exist: RarityMaxSum; -} -export interface RarityMaxSum { - value: number; -} -export interface Handbook { - defaultCategory: string; -} -export interface Stamina { - Capacity: number; - SprintDrainRate: number; - BaseRestorationRate: number; - JumpConsumption: number; - GrenadeHighThrow: number; - GrenadeLowThrow: number; - AimDrainRate: number; - AimRangeFinderDrainRate: number; - OxygenCapacity: number; - OxygenRestoration: number; - WalkOverweightLimits: xyz; - BaseOverweightLimits: xyz; - SprintOverweightLimits: xyz; - WalkSpeedOverweightLimits: xyz; - CrouchConsumption: xyz; - WalkConsumption: xyz; - StandupConsumption: xyz; - TransitionSpeed: xyz; - SprintAccelerationLowerLimit: number; - SprintSpeedLowerLimit: number; - SprintSensitivityLowerLimit: number; - AimConsumptionByPose: xyz; - RestorationMultiplierByPose: xyz; - OverweightConsumptionByPose: xyz; - AimingSpeedMultiplier: number; - WalkVisualEffectMultiplier: number; - HandsCapacity: number; - HandsRestoration: number; - ProneConsumption: number; - BaseHoldBreathConsumption: number; - SoundRadius: xyz; - ExhaustedMeleeSpeed: number; - FatigueRestorationRate: number; - FatigueAmountToCreateEffect: number; - ExhaustedMeleeDamageMultiplier: number; - FallDamageMultiplier: number; - SafeHeightOverweight: number; - SitToStandConsumption: number; - StaminaExhaustionCausesJiggle: boolean; - StaminaExhaustionStartsBreathSound: boolean; - StaminaExhaustionRocksCamera: boolean; - HoldBreathStaminaMultiplier: xyz; - PoseLevelIncreaseSpeed: xyz; - PoseLevelDecreaseSpeed: xyz; - PoseLevelConsumptionPerNotch: xyz; -} -export interface StaminaRestoration { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface StaminaDrain { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface RequirementReferences { - Alpinist: Alpinist[]; -} -export interface Alpinist { - Requirement: string; - Id: string; - Count: number; - RequiredSlot: string; - RequirementTip: string; -} -export interface RestrictionsInRaid { - TemplateId: string; - Value: number; -} -export interface Insurance { - MaxStorageTimeInHour: number; -} -export interface SkillsSettings { - SkillProgressRate: number; - WeaponSkillProgressRate: number; - WeaponSkillRecoilBonusPerLevel: number; - HideoutManagement: HideoutManagement; - Crafting: Crafting; - Metabolism: Metabolism; - Immunity: Immunity; - Endurance: Endurance; - Strength: Strength; - Vitality: Vitality; - Health: Health2; - StressResistance: StressResistance; - Throwing: Throwing; - RecoilControl: RecoilControl; - Pistol: WeaponSkills; - Revolver: WeaponSkills; - SMG: any[]; - Assault: WeaponSkills; - Shotgun: WeaponSkills; - Sniper: WeaponSkills; - LMG: any[]; - HMG: any[]; - Launcher: any[]; - AttachedLauncher: any[]; - Melee: any[]; - DMR: WeaponSkills; - BearAssaultoperations: any[]; - BearAuthority: any[]; - BearAksystems: any[]; - BearHeavycaliber: any[]; - BearRawpower: any[]; - UsecArsystems: any[]; - UsecDeepweaponmodding_Settings: any[]; - UsecLongrangeoptics_Settings: any[]; - UsecNegotiations: any[]; - UsecTactics: any[]; - BotReload: any[]; - CovertMovement: CovertMovement; - FieldMedicine: any[]; - Search: Search; - Sniping: any[]; - ProneMovement: any[]; - FirstAid: any[]; - LightVests: ArmorSkills; - HeavyVests: ArmorSkills; - WeaponModding: any[]; - AdvancedModding: any[]; - NightOps: any[]; - SilentOps: any[]; - Lockpicking: any[]; - WeaponTreatment: WeaponTreatment; - MagDrills: MagDrills; - Freetrading: any[]; - Auctions: any[]; - Cleanoperations: any[]; - Barter: any[]; - Shadowconnections: any[]; - Taskperformance: any[]; - Perception: Perception; - Intellect: Intellect; - Attention: Attention; - Charisma: Charisma; - Memory: Memory; - Surgery: Surgery; - AimDrills: AimDrills; - BotSound: any[]; - TroubleShooting: TroubleShooting; -} -export interface ArmorSkills { - WearAmountRepairLVestsReducePerLevel: number; - WearChanceRepairLVestsReduceEliteLevel: number; -} -export interface HideoutManagement { - SkillPointsPerAreaUpgrade: number; - SkillPointsPerCraft: number; - ConsumptionReductionPerLevel: number; - SkillBoostPercent: number; - SkillPointsRate: SkillPointsRate; - EliteSlots: EliteSlots; -} -export interface SkillPointsRate { - Generator: Generator; - AirFilteringUnit: SkillPointRate; - WaterCollector: SkillPointRate; - SolarPower: SkillPointRate; -} -export interface SkillPointRate { - ResourceSpent: number; - PointsGained: number; -} -export interface EliteSlots { - Generator: EliteSlot; - AirFilteringUnit: EliteSlot; - WaterCollector: EliteSlot; - BitcoinFarm: EliteSlot; -} -export interface EliteSlot { - Slots: number; - Container: number; -} -export interface Crafting { - PointsPerCraftingCycle: number; - CraftingCycleHours: number; - PointsPerUniqueCraftCycle: number; - UniqueCraftsPerCycle: number; - CraftTimeReductionPerLevel: number; - ProductionTimeReductionPerLevel: number; - EliteExtraProductions: number; - CraftingPointsToInteligence: number; -} -export interface Metabolism { - HydrationRecoveryRate: number; - EnergyRecoveryRate: number; - IncreasePositiveEffectDurationRate: number; - DecreaseNegativeEffectDurationRate: number; - DecreasePoisonDurationRate: number; -} -export interface Immunity { - ImmunityMiscEffects: number; - ImmunityPoisonBuff: number; - ImmunityPainKiller: number; - HealthNegativeEffect: number; - StimulatorNegativeBuff: number; -} -export interface Endurance { - MovementAction: number; - SprintAction: number; - GainPerFatigueStack: number; -} -export interface Strength { - SprintActionMin: number; - SprintActionMax: number; - MovementActionMin: number; - MovementActionMax: number; - PushUpMin: number; - PushUpMax: number; - FistfightAction: number; - ThrowAction: number; -} -export interface Vitality { - DamageTakenAction: number; - HealthNegativeEffect: number; -} -export interface Health2 { - SkillProgress: number; -} -export interface StressResistance { - HealthNegativeEffect: number; - LowHPDuration: number; -} -export interface Throwing { - ThrowAction: number; -} -export interface RecoilControl { - RecoilAction: number; - RecoilBonusPerLevel: number; -} -export interface WeaponSkills { - WeaponReloadAction: number; - WeaponShotAction: number; - WeaponFixAction: number; - WeaponChamberAction: number; -} -export interface CovertMovement { - MovementAction: number; -} -export interface Search { - SearchAction: number; - FindAction: number; -} -export interface WeaponTreatment { - DurLossReducePerLevel: number; - SkillPointsPerRepair: number; - Filter: any[]; - WearAmountRepairGunsReducePerLevel: number; - WearChanceRepairGunsReduceEliteLevel: number; -} -export interface MagDrills { - RaidLoadedAmmoAction: number; - RaidUnloadedAmmoAction: number; - MagazineCheckAction: number; -} -export interface Perception { - OnlineAction: number; - UniqueLoot: number; -} -export interface Intellect { - ExamineAction: number; - SkillProgress: number; - RepairAction: number; - WearAmountReducePerLevel: number; - WearChanceReduceEliteLevel: number; - RepairPointsCostReduction: number; -} -export interface Attention { - ExamineWithInstruction: number; - FindActionFalse: number; - FindActionTrue: number; -} -export interface Charisma { - SkillProgressInt: number; - SkillProgressAtn: number; - SkillProgressPer: number; -} -export interface Memory { - AnySkillUp: number; - SkillProgress: number; -} -export interface Surgery { - SurgeryAction: number; - SkillProgress: number; -} -export interface AimDrills { - WeaponShotAction: number; -} -export interface TroubleShooting { - MalfRepairSpeedBonusPerLevel: number; - SkillPointsPerMalfFix: number; - EliteDurabilityChanceReduceMult: number; - EliteAmmoChanceReduceMult: number; - EliteMagChanceReduceMult: number; -} -export interface Aiming { - ProceduralIntensityByPose: xyz; - AimProceduralIntensity: number; - HeavyWeight: number; - LightWeight: number; - MaxTimeHeavy: number; - MinTimeHeavy: number; - MaxTimeLight: number; - MinTimeLight: number; - RecoilScaling: number; - RecoilDamping: number; - CameraSnapGlobalMult: number; - RecoilXIntensityByPose: xyz; - RecoilYIntensityByPose: xyz; - RecoilZIntensityByPose: xyz; - RecoilCrank: boolean; - RecoilHandDamping: number; - RecoilConvergenceMult: number; - RecoilVertBonus: number; - RecoilBackBonus: number; -} -export interface Malfunction { - AmmoMalfChanceMult: number; - MagazineMalfChanceMult: number; - MalfRepairHardSlideMult: number; - MalfRepairOneHandBrokenMult: number; - MalfRepairTwoHandsBrokenMult: number; - AllowMalfForBots: boolean; - ShowGlowAttemptsCount: number; - OutToIdleSpeedMultForPistol: number; - IdleToOutSpeedMultOnMalf: number; - TimeToQuickdrawPistol: number; - DurRangeToIgnoreMalfs: xyz; - DurFeedWt: number; - DurMisfireWt: number; - DurJamWt: number; - DurSoftSlideWt: number; - DurHardSlideMinWt: number; - DurHardSlideMaxWt: number; - AmmoMisfireWt: number; - AmmoFeedWt: number; - AmmoJamWt: number; - OverheatFeedWt: number; - OverheatJamWt: number; - OverheatSoftSlideWt: number; - OverheatHardSlideMinWt: number; - OverheatHardSlideMaxWt: number; -} -export interface Overheat { - MinOverheat: number; - MaxOverheat: number; - OverheatProblemsStart: number; - ModHeatFactor: number; - ModCoolFactor: number; - MinWearOnOverheat: number; - MaxWearOnOverheat: number; - MinWearOnMaxOverheat: number; - MaxWearOnMaxOverheat: number; - OverheatWearLimit: number; - MaxCOIIncreaseMult: number; - MinMalfChance: number; - MaxMalfChance: number; - DurReduceMinMult: number; - DurReduceMaxMult: number; - BarrelMoveRndDuration: number; - BarrelMoveMaxMult: number; - FireratePitchMult: number; - FirerateReduceMinMult: number; - FirerateReduceMaxMult: number; - FirerateOverheatBorder: number; - EnableSlideOnMaxOverheat: boolean; - StartSlideOverheat: number; - FixSlideOverheat: number; - AutoshotMinOverheat: number; - AutoshotChance: number; - AutoshotPossibilityDuration: number; - MaxOverheatCoolCoef: number; -} -export interface FenceSettings { - FenceId: string; - Levels: Record; - paidExitStandingNumerator: number; -} -export interface FenceLevel { - SavageCooldownModifier: number; - ScavCaseTimeModifier: number; - PaidExitCostModifier: number; - BotFollowChance: number; - ScavEquipmentSpawnChanceModifier: number; - PriceModifier: number; - HostileBosses: boolean; - HostileScavs: boolean; - ScavAttackSupport: boolean; - ExfiltrationPriceModifier: number; - AvailableExits: number; -} -export interface Inertia { - InertiaLimits: xyz; - InertiaLimitsStep: number; - ExitMovementStateSpeedThreshold: xyz; - WalkInertia: xyz; - FallThreshold: number; - SpeedLimitAfterFallMin: xyz; - SpeedLimitAfterFallMax: xyz; - SpeedLimitDurationMin: xyz; - SpeedLimitDurationMax: xyz; - SpeedInertiaAfterJump: xyz; - BaseJumpPenaltyDuration: number; - DurationPower: number; - BaseJumpPenalty: number; - PenaltyPower: number; - InertiaTiltCurveMin: xyz; - InertiaTiltCurveMax: xyz; - InertiaBackwardCoef: xyz; - TiltInertiaMaxSpeed: xyz; - TiltStartSideBackSpeed: xyz; - TiltMaxSideBackSpeed: xyz; - TiltAcceleration: xyz; - AverageRotationFrameSpan: number; - SprintSpeedInertiaCurveMin: xyz; - SprintSpeedInertiaCurveMax: xyz; - SprintBrakeInertia: xyz; - SprintTransitionMotionPreservation: xyz; - WeaponFlipSpeed: xyz; - PreSprintAccelerationLimits: xyz; - SprintAccelerationLimits: xyz; - SideTime: xyz; - DiagonalTime: xyz; - MaxTimeWithoutInput: xyz; - MinDirectionBlendTime: number; - MoveTimeRange: xyz; - ProneDirectionAccelerationRange: xyz; - ProneSpeedAccelerationRange: xyz; - MinMovementAccelerationRangeRight: xyz; - MaxMovementAccelerationRangeRight: xyz; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Ballistic { - GlobalDamageDegradationCoefficient: number; -} -export interface RepairKitSettings { - armorClassDivisor: number; - durabilityPointCostArmor: number; - durabilityPointCostGuns: number; -} -export interface BotPreset { - UseThis: boolean; - Role: string; - BotDifficulty: string; - VisibleAngle: number; - VisibleDistance: number; - ScatteringPerMeter: number; - HearingSense: number; - SCATTERING_DIST_MODIF: number; - MAX_AIMING_UPGRADE_BY_TIME: number; - FIRST_CONTACT_ADD_SEC: number; - COEF_IF_MOVE: number; -} -export interface BotWeaponScattering { - Name: string; - PriorityScatter1meter: number; - PriorityScatter10meter: number; - PriorityScatter100meter: number; -} -export interface Preset { - _id: string; - _type: string; - _changeWeaponName: boolean; - _name: string; - _parent: string; - _items: Item[]; - _encyclopedia?: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocation.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocation.d.ts deleted file mode 100644 index 42fac06..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocation.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ILocationBase } from "./ILocationBase"; -import { ILooseLoot } from "./ILooseLoot"; -export interface ILocation { - base: ILocationBase; - looseLoot: ILooseLoot; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocationBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocationBase.d.ts deleted file mode 100644 index b1dd448..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocationBase.d.ts +++ /dev/null @@ -1,205 +0,0 @@ -export interface ILocationBase { - AccessKeys: string[]; - AirdropParameters: AirdropParameter[]; - Area: number; - AveragePlayTime: number; - AveragePlayerLevel: number; - Banners: Banner[]; - BossLocationSpawn: BossLocationSpawn[]; - BotAssault: number; - BotEasy: number; - BotHard: number; - BotImpossible: number; - BotLocationModifier: BotLocationModifier; - BotMarksman: number; - BotMax: number; - BotMaxPlayer: number; - BotMaxTimePlayer: number; - BotNormal: number; - BotSpawnTimeOffMax: number; - BotSpawnTimeOffMin: number; - BotSpawnTimeOnMax: number; - BotSpawnTimeOnMin: number; - BotStart: number; - BotStop: number; - Description: string; - DisabledForScav: boolean; - DisabledScavExits: string; - Enabled: boolean; - EnableCoop: boolean; - GlobalLootChanceModifier: number; - IconX: number; - IconY: number; - Id: string; - Insurance: boolean; - IsSecret: boolean; - Locked: boolean; - Loot: any[]; - MaxBotPerZone: number; - MaxDistToFreePoint: number; - MaxPlayers: number; - MinDistToExitPoint: number; - MinDistToFreePoint: number; - MinMaxBots: MinMaxBot[]; - MinPlayers: number; - MaxCoopGroup: number; - Name: string; - NewSpawn: boolean; - OcculsionCullingEnabled: boolean; - OldSpawn: boolean; - OpenZones: string; - Preview: Preview; - RequiredPlayerLevel: number; - PmcMaxPlayersInGroup: number; - ScavMaxPlayersInGroup: number; - Rules: string; - SafeLocation: boolean; - Scene: Scene; - SpawnPointParams: SpawnPointParam[]; - UnixDateTime: number; - _Id: string; - doors: any[]; - EscapeTimeLimit: number; - EscapeTimeLimitCoop: number; - exit_access_time: number; - exit_count: number; - exit_time: number; - exits: Exit[]; - filter_ex: string[]; - limits: ILimit[]; - matching_min_seconds: number; - GenerateLocalLootCache: boolean; - maxItemCountInLocation: MaxItemCountInLocation[]; - sav_summon_seconds: number; - tmp_location_field_remove_me: number; - users_gather_seconds: number; - users_spawn_seconds_n: number; - users_spawn_seconds_n2: number; - users_summon_seconds: number; - waves: Wave[]; -} -export interface ILimit { - min: number; - max: number; - items: any[]; -} -export interface AirdropParameter { - AirdropPointDeactivateDistance: number; - MinPlayersCountToSpawnAirdrop: number; - PlaneAirdropChance: number; - PlaneAirdropCooldownMax: number; - PlaneAirdropCooldownMin: number; - PlaneAirdropEnd: number; - PlaneAirdropMax: number; - PlaneAirdropStartMax: number; - PlaneAirdropStartMin: number; - UnsuccessfulTryPenalty: number; -} -export interface Banner { - id: string; - pic: Pic; -} -export interface Pic { - path: string; - rcid: string; -} -export interface BossLocationSpawn { - BossChance: number; - BossDifficult: string; - BossEscortAmount: string; - BossEscortDifficult: string; - BossEscortType: string; - BossName: string; - BossPlayer: boolean; - BossZone: string; - RandomTimeSpawn: boolean; - Time: number; - TriggerId: string; - TriggerName: string; - Delay?: number; - Supports?: BossSupport[]; -} -export interface BossSupport { - BossEscortAmount: string; - BossEscortDifficult: string[]; - BossEscortType: string; -} -export interface BotLocationModifier { - AccuracySpeed: number; - DistToActivate: number; - DistToPersueAxemanCoef: number; - DistToSleep: number; - GainSight: number; - KhorovodChance: number; - MagnetPower: number; - MarksmanAccuratyCoef: number; - Scattering: number; - VisibleDistance: number; -} -export interface MinMaxBot { - WildSpawnType: string; - max: number; - min: number; -} -export interface Preview { - path: string; - rcid: string; -} -export interface Scene { - path: string; - rcid: string; -} -export interface SpawnPointParam { - BotZoneName: string; - Categories: string[]; - ColliderParams: ColliderParams; - DelayToCanSpawnSec: number; - Id: string; - Infiltration: string; - Position: xyz; - Rotation: number; - Sides: string[]; -} -export interface ColliderParams { - _parent: string; - _props: Props; -} -export interface Props { - Center: xyz; - Radius: number; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Exit { - Chance: number; - Count: number; - EntryPoints: string; - ExfiltrationTime: number; - ExfiltrationType: string; - Id: string; - MaxTime: number; - MinTime: number; - Name: string; - PassageRequirement: string; - PlayersCount: number; - RequirementTip: string; -} -export interface MaxItemCountInLocation { - TemplateId: string; - Value: number; -} -export interface Wave { - BotPreset: string; - BotSide: string; - SpawnPoints: string; - WildSpawnType: string; - isPlayers: boolean; - number: number; - slots_max: number; - slots_min: number; - time_max: number; - time_min: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts deleted file mode 100644 index 7f8d915..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ILocations } from "../../spt/server/ILocations"; -export interface ILocationsGenerateAllResponse { - locations: ILocations; - paths: Path[]; -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILooseLoot.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILooseLoot.d.ts deleted file mode 100644 index 14b795e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/ILooseLoot.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -export interface ILooseLoot { - spawnpointCount: SpawnpointCount; - spawnpointsForced: SpawnpointsForced[]; - spawnpoints: Spawnpoint[]; -} -export interface SpawnpointCount { - mean: number; - std: number; -} -export interface SpawnpointsForced { - locationId: string; - probability: number; - template: SpawnpointTemplate; -} -export interface SpawnpointTemplate { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: Item[]; -} -export interface Item { - _id: string; - _tpl?: string; -} -export interface Spawnpoint { - locationId: string; - probability: number; - template: SpawnpointTemplate; - itemDistribution: ItemDistribution[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IMetricsTableData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IMetricsTableData.d.ts deleted file mode 100644 index 873ef82..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IMetricsTableData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface IMetricsTableData { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IPmcData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IPmcData.d.ts deleted file mode 100644 index 5703e4b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/IPmcData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBotBase } from "./tables/IBotBase"; -export interface IPmcData extends IBotBase { -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts deleted file mode 100644 index 7303275..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface IBaseInteractionRequestData { - Action: string; - fromOwner?: OwnerInfo; - toOwner?: OwnerInfo; -} -export interface OwnerInfo { - id: string; - type: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotBase.d.ts deleted file mode 100644 index 0ee468e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotBase.d.ts +++ /dev/null @@ -1,353 +0,0 @@ -import { HideoutAreas } from "../../../enums/HideoutAreas"; -import { MemberCategory } from "../../../enums/MemberCategory"; -import { QuestStatus } from "../../../enums/QuestStatus"; -import { IRagfairOffer } from "../../ragfair/IRagfairOffer"; -import { Item, Upd } from "./IItem"; -import { IPmcDataRepeatableQuest } from "./IRepeatableQuests"; -export interface IBotBase { - _id: string; - aid: string; - savage?: string; - Info: Info; - Customization: Customization; - Health: Health; - Inventory: Inventory; - Skills: Skills; - Stats: Stats; - Encyclopedia: Record; - ConditionCounters: ConditionCounters; - BackendCounters: Record; - InsuredItems: InsuredItem[]; - Hideout: Hideout; - Quests: Quest[]; - TradersInfo: Record; - RagfairInfo: RagfairInfo; - RepeatableQuests: IPmcDataRepeatableQuest[]; - Bonuses: Bonus[]; - Notes: Notes; - CarExtractCounts: CarExtractCounts; - SurvivorClass: SurvivorClass; - WishList: string[]; -} -export interface Info { - EntryPoint: string; - Nickname: string; - LowerNickname: string; - Side: string; - Voice: string; - Level: number; - Experience: number; - RegistrationDate: number; - GameVersion: string; - AccountType: number; - MemberCategory: MemberCategory; - lockedMoveCommands: boolean; - SavageLockTime: number; - LastTimePlayedAsSavage: number; - Settings: Settings; - NicknameChangeDate: number; - NeedWipeOptions: any[]; - lastCompletedWipe: LastCompleted; - Bans: IBan[]; - BannedState: boolean; - BannedUntil: number; - IsStreamerModeAvailable: boolean; - lastCompletedEvent?: LastCompleted; -} -export interface Settings { - Role: string; - BotDifficulty: string; - Experience: number; - StandingForKill: number; - AggressorBonus: number; -} -export interface IBan { - type: BanType; - dateTime: number; -} -export declare enum BanType { - Chat = 0, - RagFair = 1, - Voip = 2, - Trading = 3, - Online = 4, - Friends = 5, - ChangeNickname = 6 -} -export interface Customization { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface Health { - Hydration: CurrentMax; - Energy: CurrentMax; - Temperature: CurrentMax; - BodyParts: BodyPartsHealth; - UpdateTime: number; -} -export interface BodyPartsHealth { - Head: BodyPartHealth; - Chest: BodyPartHealth; - Stomach: BodyPartHealth; - LeftArm: BodyPartHealth; - RightArm: BodyPartHealth; - LeftLeg: BodyPartHealth; - RightLeg: BodyPartHealth; -} -export interface BodyPartHealth { - Health: CurrentMax; - Effects?: Record; -} -export interface CurrentMax { - Current: number; - Maximum: number; -} -export interface Inventory { - items: Item[]; - equipment: string; - stash: string; - sortingTable: string; - questRaidItems: string; - questStashItems: string; - fastPanel: FastPanel; -} -export interface FastPanel { -} -export interface Skills { - Common: Common[]; - Mastering: Mastering[]; - Bonuses?: any[]; - Points: number; -} -export interface Common { - Id: string; - Progress: number; - PointsEarnedDuringSession?: number; - LastAccess?: number; - max?: number; - min?: number; -} -export interface Mastering { - Id: string; - Progress: number; - max?: number; - min?: number; -} -export interface Stats { - CarriedQuestItems: string[]; - Victims: Victim[]; - TotalSessionExperience: number; - LastSessionDate: number; - SessionCounters: SessionCounters; - OverallCounters: OverallCounters; - SessionExperienceMult?: number; - ExperienceBonusMult?: number; - Aggressor?: Aggressor; - DroppedItems?: IDroppedItem[]; - FoundInRaidItems?: FoundInRaidItem[]; - DamageHistory?: DamageHistory; - DeathCause?: DeathCause; - LastPlayerState?: LastPlayerState; - TotalInGameTime: number; - SurvivorClass?: string; -} -export interface IDroppedItem { - QuestId: string; - ItemId: string; - ZoneId: string; -} -export interface FoundInRaidItem { - QuestId: string; - ItemId: string; -} -export interface Victim { - AccountId: string; - ProfileId: string; - Name: string; - Side: string; - BodyPart: string; - Time: string; - Distance: number; - Level: number; - Weapon: string; - Role: string; -} -export interface SessionCounters { - Items: CounterKeyValue[]; -} -export interface OverallCounters { - Items: CounterKeyValue[]; -} -export interface CounterKeyValue { - Key: string[]; - Value: number; -} -export interface ConditionCounters { - Counters: Counter[]; -} -export interface Counter { - id: string; - value: number; - qid: string; -} -export interface Aggressor { - AccountId: string; - ProfileId: string; - MainProfileNickname: string; - Name: string; - Side: string; - BodyPart: string; - HeadSegment: string; - WeaponName: string; - Category: string; -} -export interface DamageHistory { - LethalDamagePart: string; - LethalDamage: LethalDamage; - BodyParts: BodyPartsDamageHistory; -} -export interface LethalDamage { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface BodyPartsDamageHistory { - Head: DamageStats[]; - Chest: DamageStats[]; - Stomach: DamageStats[]; - LeftArm: DamageStats[]; - RightArm: DamageStats[]; - LeftLeg: DamageStats[]; - RightLeg: DamageStats[]; - Common: DamageStats[]; -} -export interface DamageStats { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface DeathCause { - DamageType: string; - Side: string; - Role: string; - WeaponId: string; -} -export interface LastPlayerState { - Info: LastPlayerStateInfo; - Customization: Record; - Equipment: any; -} -export interface LastPlayerStateInfo { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; -} -export interface BackendCounter { - id: string; - qid?: string; - value: number; -} -export interface InsuredItem { - tid: string; - itemId: string; -} -export interface Hideout { - Production: Record; - Areas: HideoutArea[]; -} -export interface Productive { - Products: Product[]; - Progress?: number; - inProgress?: boolean; - StartTimestamp?: number; -} -export interface Production extends Productive { - RecipeId: string; - SkipTime: number; - ProductionTime: number; -} -export interface ScavCase extends Productive { - RecipeId: string; -} -export interface Product { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface HideoutArea { - type: HideoutAreas; - level: number; - active: boolean; - passiveBonusesEnabled: boolean; - completeTime: number; - constructing: boolean; - slots: HideoutSlot[]; - lastRecipe: string; -} -export interface HideoutSlot { - /** SPT specific value to keep track of what index this slot is (0,1,2,3 etc) */ - locationIndex: number; - item?: HideoutItem[]; -} -export interface HideoutItem { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface LastCompleted { - $oid: string; -} -export interface Notes { - Notes: Note[]; -} -export interface CarExtractCounts { -} -export declare enum SurvivorClass { - Unknown = 0, - Neutralizer = 1, - Marauder = 2, - Paramedic = 3, - Survivor = 4 -} -export interface Quest { - qid: string; - startTime: number; - status: QuestStatus; - statusTimers?: Record; - /** SPT specific property */ - completedConditions?: string[]; -} -export interface TraderInfo { - loyaltyLevel: number; - salesSum: number; - standing: number; - nextResupply: number; - unlocked: boolean; -} -export interface RagfairInfo { - rating: number; - isRatingGrowing: boolean; - offers: IRagfairOffer[]; -} -export interface Bonus { - type: string; - templateId?: string; - passive?: boolean; - production?: boolean; - visible?: boolean; - value?: number; - icon?: string; -} -export interface Note { - Time: number; - Text: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotCore.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotCore.d.ts deleted file mode 100644 index 16a782d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotCore.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -export interface IBotCore { - SAVAGE_KILL_DIST: number; - SOUND_DOOR_BREACH_METERS: number; - SOUND_DOOR_OPEN_METERS: number; - STEP_NOISE_DELTA: number; - JUMP_NOISE_DELTA: number; - GUNSHOT_SPREAD: number; - GUNSHOT_SPREAD_SILENCE: number; - BASE_WALK_SPEREAD2: number; - MOVE_SPEED_COEF_MAX: number; - SPEED_SERV_SOUND_COEF_A: number; - SPEED_SERV_SOUND_COEF_B: number; - G: number; - STAY_COEF: number; - SIT_COEF: number; - LAY_COEF: number; - MAX_ITERATIONS: number; - START_DIST_TO_COV: number; - MAX_DIST_TO_COV: number; - STAY_HEIGHT: number; - CLOSE_POINTS: number; - COUNT_TURNS: number; - SIMPLE_POINT_LIFE_TIME_SEC: number; - DANGER_POINT_LIFE_TIME_SEC: number; - DANGER_POWER: number; - COVER_DIST_CLOSE: number; - GOOD_DIST_TO_POINT: number; - COVER_TOOFAR_FROM_BOSS: number; - COVER_TOOFAR_FROM_BOSS_SQRT: number; - MAX_Y_DIFF_TO_PROTECT: number; - FLARE_POWER: number; - MOVE_COEF: number; - PRONE_POSE: number; - LOWER_POSE: number; - MAX_POSE: number; - FLARE_TIME: number; - MAX_REQUESTS__PER_GROUP: number; - UPDATE_GOAL_TIMER_SEC: number; - DIST_NOT_TO_GROUP: number; - DIST_NOT_TO_GROUP_SQR: number; - LAST_SEEN_POS_LIFETIME: number; - DELTA_GRENADE_START_TIME: number; - DELTA_GRENADE_END_TIME: number; - DELTA_GRENADE_RUN_DIST: number; - DELTA_GRENADE_RUN_DIST_SQRT: number; - PATROL_MIN_LIGHT_DIST: number; - HOLD_MIN_LIGHT_DIST: number; - STANDART_BOT_PAUSE_DOOR: number; - ARMOR_CLASS_COEF: number; - SHOTGUN_POWER: number; - RIFLE_POWER: number; - PISTOL_POWER: number; - SMG_POWER: number; - SNIPE_POWER: number; - GESTUS_PERIOD_SEC: number; - GESTUS_AIMING_DELAY: number; - GESTUS_REQUEST_LIFETIME: number; - GESTUS_FIRST_STAGE_MAX_TIME: number; - GESTUS_SECOND_STAGE_MAX_TIME: number; - GESTUS_MAX_ANSWERS: number; - GESTUS_FUCK_TO_SHOOT: number; - GESTUS_DIST_ANSWERS: number; - GESTUS_DIST_ANSWERS_SQRT: number; - GESTUS_ANYWAY_CHANCE: number; - TALK_DELAY: number; - CAN_SHOOT_TO_HEAD: boolean; - CAN_TILT: boolean; - TILT_CHANCE: number; - MIN_BLOCK_DIST: number; - MIN_BLOCK_TIME: number; - COVER_SECONDS_AFTER_LOSE_VISION: number; - MIN_ARG_COEF: number; - MAX_ARG_COEF: number; - DEAD_AGR_DIST: number; - MAX_DANGER_CARE_DIST_SQRT: number; - MAX_DANGER_CARE_DIST: number; - MIN_MAX_PERSON_SEARCH: number; - PERCENT_PERSON_SEARCH: number; - LOOK_ANYSIDE_BY_WALL_SEC_OF_ENEMY: number; - CLOSE_TO_WALL_ROTATE_BY_WALL_SQRT: number; - SHOOT_TO_CHANGE_RND_PART_MIN: number; - SHOOT_TO_CHANGE_RND_PART_MAX: number; - SHOOT_TO_CHANGE_RND_PART_DELTA: number; - FORMUL_COEF_DELTA_DIST: number; - FORMUL_COEF_DELTA_SHOOT: number; - FORMUL_COEF_DELTA_FRIEND_COVER: number; - SUSPETION_POINT_DIST_CHECK: number; - MAX_BASE_REQUESTS_PER_PLAYER: number; - MAX_HOLD_REQUESTS_PER_PLAYER: number; - MAX_GO_TO_REQUESTS_PER_PLAYER: number; - MAX_COME_WITH_ME_REQUESTS_PER_PLAYER: number; - CORE_POINT_MAX_VALUE: number; - CORE_POINTS_MAX: number; - CORE_POINTS_MIN: number; - BORN_POISTS_FREE_ONLY_FAREST_BOT: boolean; - BORN_POINSTS_FREE_ONLY_FAREST_PLAYER: boolean; - SCAV_GROUPS_TOGETHER: boolean; - LAY_DOWN_ANG_SHOOT: number; - HOLD_REQUEST_TIME_SEC: number; - TRIGGERS_DOWN_TO_RUN_WHEN_MOVE: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING_OTHER_ENEMIS: number; - MIN_DIST_TO_STOP_RUN: number; - JUMP_SPREAD_DIST: number; - LOOK_TIMES_TO_KILL: number; - COME_INSIDE_TIMES: number; - TOTAL_TIME_KILL: number; - TOTAL_TIME_KILL_AFTER_WARN: number; - MOVING_AIM_COEF: number; - VERTICAL_DIST_TO_IGNORE_SOUND: number; - DEFENCE_LEVEL_SHIFT: number; - MIN_DIST_CLOSE_DEF: number; - USE_ID_PRIOR_WHO_GO: boolean; - SMOKE_GRENADE_RADIUS_COEF: number; - GRENADE_PRECISION: number; - MAX_WARNS_BEFORE_KILL: number; - CARE_ENEMY_ONLY_TIME: number; - MIDDLE_POINT_COEF: number; - MAIN_TACTIC_ONLY_ATTACK: boolean; - LAST_DAMAGE_ACTIVE: number; - SHALL_DIE_IF_NOT_INITED: boolean; - CHECK_BOT_INIT_TIME_SEC: number; - WEAPON_ROOT_Y_OFFSET: number; - DELTA_SUPRESS_DISTANCE_SQRT: number; - DELTA_SUPRESS_DISTANCE: number; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - WAVE_ONLY_AS_ONLINE: boolean; - LOCAL_BOTS_COUNT: number; - AXE_MAN_KILLS_END: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotType.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotType.d.ts deleted file mode 100644 index c1fe579..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IBotType.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { MinMax } from "../../../common/MinMax"; -import { Skills } from "./IBotBase"; -export interface IBotType { - appearance: Appearance; - chances: Chances; - difficulty: Difficulties; - experience: Experience; - firstName: string[]; - generation: Generation; - health: Health; - inventory: Inventory; - lastName: string[]; - skills: Skills; -} -export interface Appearance { - body: string[]; - feet: string[]; - hands: string[]; - head: string[]; - voice: string[]; -} -export interface Chances { - equipment: EquipmentChances; - mods: ModsChances; -} -export interface EquipmentChances { - ArmBand: number; - ArmorVest: number; - Backpack: number; - Earpiece: number; - Eyewear: number; - FaceCover: number; - FirstPrimaryWeapon: number; - Headwear: number; - Holster: number; - Pockets: number; - Scabbard: number; - SecondPrimaryWeapon: number; - SecuredContainer: number; - TacticalVest: number; -} -export interface ModsChances { - mod_charge: number; - mod_equipment: number; - mod_equipment_000: number; - mod_equipment_001: number; - mod_equipment_002: number; - mod_flashlight: number; - mod_foregrip: number; - mod_launcher: number; - mod_magazine: number; - mod_mount: number; - mod_mount_000: number; - mod_mount_001: number; - mod_muzzle: number; - mod_nvg: number; - mod_pistol_grip: number; - mod_reciever: number; - mod_scope: number; - mod_sight_front: number; - mod_sight_rear: number; - mod_stock: number; - mod_stock_000: number; - mod_stock_akms: number; - mod_tactical: number; - mod_tactical_000: number; - mod_tactical_001: number; - mod_tactical_002: number; - mod_tactical_003: number; -} -export interface Difficulties { - easy: Difficulty; - normal: Difficulty; - hard: Difficulty; - impossible: Difficulty; -} -export interface Difficulty { - Aiming: Record; - Boss: Record; - Change: Record; - Core: Record; - Cover: Record; - Grenade: Record; - Hearing: Record; - Lay: Record; - Look: Record; - Mind: Record; - Move: Record; - Patrol: Record; - Scattering: Record; - Shoot: Record; -} -export interface Experience { - aggressorBonus: number; - level: MinMax; - reward: MinMax; - standingForKill: number; -} -export interface Generation { - items: ItemMinMax; -} -export interface ItemMinMax { - grenades: MinMax; - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - specialItems: MinMax; -} -export interface Health { - BodyParts: BodyPart[]; - Energy: MinMax; - Hydration: MinMax; - Temperature: MinMax; -} -export interface BodyPart { - Chest: MinMax; - Head: MinMax; - LeftArm: MinMax; - LeftLeg: MinMax; - RightArm: MinMax; - RightLeg: MinMax; - Stomach: MinMax; -} -export interface Inventory { - equipment: Equipment; - Ammo: Record>; - items: Items; - mods: Mods; -} -export interface Equipment { - ArmBand: Record; - ArmorVest: Record; - Backpack: Record; - Earpiece: Record; - Eyewear: Record; - FaceCover: Record; - FirstPrimaryWeapon: Record; - Headwear: Record; - Holster: Record; - Pockets: Record; - Scabbard: Record; - SecondPrimaryWeapon: Record; - SecuredContainer: Record; - TacticalVest: Record; -} -export interface Items { - Backpack: string[]; - Pockets: string[]; - SecuredContainer: string[]; - SpecialLoot: string[]; - TacticalVest: string[]; -} -export declare type Mods = Record>; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ICustomizationItem.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ICustomizationItem.d.ts deleted file mode 100644 index 8bfeece..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ICustomizationItem.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export interface ICustomizationItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name: string; - ShortName: string; - Description: string; - Side: string[]; - BodyPart: string; - AvailableAsDefault?: boolean; - Body: string; - Hands: string; - Feet: string; - Prefab: Prefab; - WatchPrefab: Prefab; - IntegratedArmorVest: boolean; - WatchPosition: Xyz; - WatchRotation: Xyz; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Xyz { - x: number; - y: number; - z: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IHandbookBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IHandbookBase.d.ts deleted file mode 100644 index 7d7db07..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IHandbookBase.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface IHandbookBase { - Categories: Category[]; - Items: HandbookItem[]; -} -export interface Category { - Id: string; - ParentId?: string; - Icon: string; - Color: string; - Order: string; -} -export interface HandbookItem { - Id: string; - ParentId: string; - Price: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IItem.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IItem.d.ts deleted file mode 100644 index 2dd2c03..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IItem.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -export interface Item { - _id: string; - _tpl: string; - parentId?: string; - slotId?: string; - location?: Location | number; - upd?: Upd; -} -export interface Upd { - OriginalStackObjectsCount?: number; - Togglable?: Togglable; - Map?: Map; - Tag?: Tag; - sptPresetId?: string; - FaceShield?: FaceShield; - StackObjectsCount?: number; - UnlimitedCount?: boolean; - Repairable?: Repairable; - FireMode?: FireMode; - SpawnedInSession?: boolean; - Light?: Light; - Key?: Key; - Resource?: Resource; - Sight?: Sight; - MedKit?: MedKit; - FoodDrink?: FoodDrink; - Dogtag?: Dogtag; - BuyRestrictionMax?: number; - BuyRestrictionCurrent?: number; - Foldable?: Foldable; - SideEffect?: SideEffect; - RepairKit?: RepairKit; -} -export interface Togglable { - On: boolean; -} -export interface Map { - Markers: MapMarker[]; -} -export interface MapMarker { - X: number; - Y: number; -} -export interface Tag { - Color: number; - Name: string; -} -export interface FaceShield { - Hits: number; -} -export interface Repairable { - Durability: number; - MaxDurability: number; -} -export interface MedKit { - HpResource: number; -} -export interface Sight { - ScopesCurrentCalibPointIndexes: number[]; - ScopesSelectedModes: number[]; - SelectedScope: number; -} -export interface Foldable { - Folded: boolean; -} -export interface FireMode { - FireMode: string; -} -export interface FoodDrink { - HpPercent: number; -} -export interface Key { - NumberOfUsages: number; -} -export interface Resource { - Value: number; - UnitsConsumed: number; -} -export interface Light { - IsActive: boolean; - SelectedMode: number; -} -export interface Dogtag { - AccountId: string; - ProfileId: string; - Nickname: string; - Side: string; - Level: number; - Time: string; - Status: string; - KillerAccountId: string; - KillerProfileId: string; - KillerName: string; - WeaponName: string; -} -export interface Location { - x: number; - y: number; - r: string | number; - isSearched?: boolean; - rotation?: string; -} -export interface SideEffect { - Value: number; -} -export interface RepairKit { - Resource: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ILocationsBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ILocationsBase.d.ts deleted file mode 100644 index 2c96af3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ILocationsBase.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface ILocationsBase { - locations: Locations; - paths: Path[]; -} -export interface Locations { -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ILootBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ILootBase.d.ts deleted file mode 100644 index e4baac5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ILootBase.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Item } from "./IItem"; -export interface ILootBase { - staticAmmo: Record; - staticContainers: Record; - staticLoot: Record; -} -export interface IStaticAmmoDetails { - tpl: string; - relativeProbability: number; -} -export interface IStaticContainerDetails { - staticWeapons: IStaticWeaponProps[]; - staticContainers: IStaticContainerProps[]; - staticForced: IStaticForcedProps[]; -} -export interface IStaticWeaponProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: string; - Items: Item[]; -} -export interface IStaticContainerProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: StaticItem[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StaticItem { - _id: any; - _tpl: string; -} -export interface IStaticForcedProps { - containerId: string; - itemTpl: string; -} -export interface IStaticLootDetails { - itemcountDistribution: ItemCountDistribution[]; - itemDistribution: ItemDistribution[]; -} -export interface ItemCountDistribution { - count: number; - relativeProbability: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IMatch.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IMatch.d.ts deleted file mode 100644 index c30cb48..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IMatch.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IMatch { - metrics: Metrics; -} -export interface Metrics { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IProfileTemplate.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IProfileTemplate.d.ts deleted file mode 100644 index fbcd81a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IProfileTemplate.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Dialogue, WeaponBuild } from "../../profile/IAkiProfile"; -import { IPmcData } from "../IPmcData"; -export interface IProfileTemplates { - Standard: IProfileSides; - "Left Behind": IProfileSides; - "Prepare To Escape": IProfileSides; - "Edge Of Darkness": IProfileSides; -} -export interface IProfileSides { - usec: TemplateSide; - bear: TemplateSide; -} -export interface TemplateSide { - character: IPmcData; - suits: string[]; - dialogues: Record; - weaponbuilds: WeaponBuild[]; - trader: ProfileTraderTemplate; -} -export interface ProfileTraderTemplate { - initialLoyaltyLevel: number; - initialStanding: number; - initialSalesSum: number; - jaegerUnlocked: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IQuest.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IQuest.d.ts deleted file mode 100644 index a349a6d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IQuest.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { QuestRewardType } from "../../../enums/QuestRewardType"; -import { Item } from "./IItem"; -export interface IQuest { - QuestName: string; - _id: string; - canShowNotificationsInGame: boolean; - conditions: Conditions; - description: string; - failMessageText: string; - name: string; - note: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - startedMessageText: string; - successMessageText: string; - templateId: string; - rewards: Rewards; - status: string; - KeyQuest: boolean; - changeQuestMessageText: string; - side: string; -} -export interface Conditions { - Started: AvailableForConditions[]; - AvailableForFinish: AvailableForConditions[]; - AvailableForStart: AvailableForConditions[]; - Success: AvailableForConditions[]; - Fail: AvailableForConditions[]; -} -export interface AvailableForConditions { - _parent: string; - _props: AvailableForProps; - dynamicLocale: boolean; -} -export interface AvailableForProps { - id: string; - index: number; - parentId: string; - dynamicLocale: boolean; - value?: number; - compareMethod?: string; - visibilityConditions?: VisibilityCondition[]; - target?: string | string[]; - status?: number[]; - onlyFoundInRaid?: boolean; - oneSessionOnly?: boolean; - doNotResetIfCounterCompleted?: boolean; - dogtagLevel?: number; - maxDurability?: number; - minDurability?: number; - counter?: AvailableForCounter; - plantTime?: number; - zoneId?: string; - type?: boolean; - countInRaid?: boolean; -} -export interface AvailableForCounter { - id: string; - conditions: CounterCondition[]; -} -export interface CounterCondition { - _parent: string; - _props: CounterProps; -} -export interface CounterProps { - id: string; - target: string[] | string; - compareMethod?: string; - value?: string; - weapon?: string[]; - equipmentInclusive?: string[][]; - weaponModsInclusive?: string[][]; - status?: string[]; - bodyPart?: string[]; - daytime?: DaytimeCounter; -} -export interface DaytimeCounter { - from: number; - to: number; -} -export interface VisibilityCondition { - id: string; - value: number; - dynamicLocale: boolean; - oneSessionOnly: boolean; -} -export interface Rewards { - AvailableForStart: Reward[]; - AvailableForFinish: Reward[]; - Started: Reward[]; - Success: Reward[]; - Fail: Reward[]; - FailRestartable: Reward[]; - Expired: Reward[]; -} -export interface Reward { - value?: string | number; - id: string; - type: QuestRewardType; - index: number; - target?: string; - items?: Item[]; - loyaltyLevel?: number; - traderId?: string; - unknown?: boolean; - findInRaid?: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IRepeatableQuests.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IRepeatableQuests.d.ts deleted file mode 100644 index e23ec73..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/IRepeatableQuests.d.ts +++ /dev/null @@ -1,219 +0,0 @@ -import { Item } from "./IItem"; -export interface IReward { - index: number; - type: string; - value: number; - target?: string; - items?: Item[]; -} -export interface IRepeatableQuestDatabase { - templates: ITemplates; - rewards: IRewardOptions; - data: IOptions; - samples: ISampleQuests[]; -} -export interface ITemplates { - Elimination: IRepeatableQuest; - Completion: IRepeatableQuest; - Exploration: IRepeatableQuest; -} -export interface IPmcDataRepeatableQuest { - id?: string; - name: string; - activeQuests: IRepeatableQuest[]; - inactiveQuests: IRepeatableQuest[]; - endTime: number; - changeRequirement: TChangeRequirementRecord; -} -export declare type TChangeRequirementRecord = Record; -export interface IChangeRequirement { - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IChangeCost { - templateId: string; - count: number; -} -export interface IRepeatableQuest { - _id: any; - traderId: string; - location: any; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - changeQuestMessageText: string; - templateId: string; - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IRewards { - Started: IReward[]; - Success: IReward[]; - Fail: IReward[]; -} -export interface IConditions { - AvailableForStart: any[]; - AvailableForFinish: IAvailableFor[]; - Fail: any[]; -} -export interface IAvailableFor { - _props: IAvailableForProps; - _parent: string; - dynamicLocale: boolean; -} -export interface IAvailableForProps { - id: string; - parentId: string; - dynamicLocale: boolean; - index: number; - visibilityConditions: IVisibilityCondition[]; - value: number; -} -export interface IVisibilityCondition { - id: string; - oneSessionOnly: boolean; - value: number; - index: number; - dynamicLocale: boolean; -} -export interface IAvailableForPropsCounter extends IAvailableForProps { - type: string; - oneSessionOnly: boolean; - doNotResetIfCounterCompleted: boolean; - counter: ICounter; -} -export interface ICounter { - id: string; - conditions: ICondition[]; -} -export interface ICondition { - _props: IConditionProps; - _parent: string; -} -export interface IConditionProps { - id: string; - dynamicLocale: boolean; -} -export interface IElimination extends IRepeatableQuest { - conditions: IEliminationConditions; -} -export interface IEliminationConditions extends IConditions { - AvailableForFinish: IEliminationAvailableFor[]; -} -export interface IEliminationAvailableFor extends IAvailableFor { - _props: IEliminationAvailableForProps; -} -export interface IEliminationAvailableForProps extends IAvailableForPropsCounter { - counter: IEliminationCounter; -} -export interface IEliminationCounter extends ICounter { - conditions: IEliminationCondition[]; -} -export interface IEliminationCondition extends ICondition { - _props: ILocationConditionProps | IKillConditionProps; -} -export interface IExploration extends IRepeatableQuest { - conditions: IExplorationConditions; -} -export interface IExplorationConditions extends IConditions { - AvailableForFinish: IExplorationAvailableFor[]; -} -export interface IExplorationAvailableFor extends IAvailableFor { - _props: IExplorationAvailableForProps; -} -export interface IExplorationAvailableForProps extends IAvailableForPropsCounter { - counter: IExplorationCounter; -} -export interface IExplorationCounter extends ICounter { - conditions: IExplorationCondition[]; -} -export interface IExplorationCondition extends ICondition { - _props: ILocationConditionProps | IExitStatusConditionProps | IExitNameConditionProps; -} -export interface ICompletion extends IRepeatableQuest { - conditions: ICompletionConditions; -} -export interface ICompletionConditions extends IConditions { - AvailableForFinish: ICompletionAvailableFor[]; -} -export interface ICompletionAvailableFor extends IAvailableFor { - _props: ICompletionAvailableForProps; -} -export interface ICompletionAvailableForProps extends IAvailableForProps { - target: string[]; - minDurability: number; - maxDurability: number; - dogtagLevel: number; - onlyFoundInRaid: boolean; -} -export interface ILocationConditionProps extends IConditionProps { - target: string[]; -} -export interface IKillConditionProps extends IConditionProps { - target: string; - value: number; - savageRole?: string[]; - bodyPart?: string[]; - distance?: IDistanceCheck; -} -export interface IDistanceCheck { - compareMethod: string; - value: number; -} -export interface IExitStatusConditionProps extends IConditionProps { - status: string[]; -} -export interface IExitNameConditionProps extends IConditionProps { - exitName: string; -} -export interface IRewardOptions { - itemsBlacklist: string[]; -} -export interface IOptions { - Completion: ICompletionFilter; -} -export interface ICompletionFilter { - itemsBlacklist: ItemsBlacklist[]; - itemsWhitelist: ItemsWhitelist[]; -} -export interface ItemsBlacklist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ItemsWhitelist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ISampleQuests { - _id: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - templateId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ITemplateItem.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ITemplateItem.d.ts deleted file mode 100644 index 23a1a14..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ITemplateItem.d.ts +++ /dev/null @@ -1,455 +0,0 @@ -export interface ITemplateItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name?: string; - ShortName?: string; - Description?: string; - Weight?: number; - BackgroundColor?: string; - Width?: number; - Height?: number; - StackMaxSize?: number; - Rarity?: string; - SpawnChance?: number; - CreditsPrice?: number; - ItemSound?: string; - Prefab?: Prefab; - UsePrefab?: Prefab; - StackObjectsCount?: number; - NotShownInSlot?: boolean; - ExaminedByDefault?: boolean; - ExamineTime?: number; - IsUndiscardable?: boolean; - IsUnsaleable?: boolean; - IsUnbuyable?: boolean; - IsUngivable?: boolean; - IsLockedafterEquip?: boolean; - QuestItem?: boolean; - LootExperience?: number; - ExamineExperience?: number; - HideEntrails?: boolean; - RepairCost?: number; - RepairSpeed?: number; - ExtraSizeLeft?: number; - ExtraSizeRight?: number; - ExtraSizeUp?: number; - ExtraSizeDown?: number; - ExtraSizeForceAdd?: boolean; - MergesWithChildren?: boolean; - CanSellOnRagfair?: boolean; - CanRequireOnRagfair?: boolean; - ConflictingItems?: string[]; - Unlootable?: boolean; - UnlootableFromSlot?: string; - UnlootableFromSide?: string[]; - AnimationVariantsNumber?: number; - DiscardingBlock?: boolean; - DropSoundType?: string; - RagFairCommissionModifier?: number; - IsAlwaysAvailableForInsurance?: boolean; - DiscardLimit?: number; - MaxResource?: number; - Resource?: number; - DogTagQualities?: boolean; - Grids?: Grid[]; - Slots?: Slot[]; - CanPutIntoDuringTheRaid?: boolean; - CantRemoveFromSlotsDuringRaid?: string[]; - KeyIds?: string[]; - TagColor?: number; - TagName?: string; - Durability?: number; - Accuracy?: number; - Recoil?: number; - Loudness?: number; - EffectiveDistance?: number; - Ergonomics?: number; - Velocity?: number; - RaidModdable?: boolean; - ToolModdable?: boolean; - BlocksFolding?: boolean; - BlocksCollapsible?: boolean; - IsAnimated?: boolean; - HasShoulderContact?: boolean; - SightingRange?: number; - DoubleActionAccuracyPenaltyMult?: number; - ModesCount: any; - DurabilityBurnModificator?: number; - HeatFactor?: number; - CoolFactor?: number; - muzzleModType?: string; - CustomAimPlane?: string; - sightModType?: string; - aimingSensitivity?: number; - SightModesCount?: number; - OpticCalibrationDistances?: number[]; - ScopesCount?: number; - AimSensitivity?: number | number[][]; - Zooms?: number[][]; - CalibrationDistances?: number[][]; - Intensity?: number; - Mask?: string; - MaskSize?: number; - NoiseIntensity?: number; - NoiseScale?: number; - Color?: Color; - DiffuseIntensity?: number; - HasHinge?: boolean; - RampPalette?: string; - DepthFade?: number; - RoughnessCoef?: number; - SpecularCoef?: number; - MainTexColorCoef?: number; - MinimumTemperatureValue?: number; - RampShift?: number; - HeatMin?: number; - ColdMax?: number; - IsNoisy?: boolean; - IsFpsStuck?: boolean; - IsGlitch?: boolean; - IsMotionBlurred?: boolean; - IsPixelated?: boolean; - PixelationBlockCount?: number; - ShiftsAimCamera?: number; - magAnimationIndex?: number; - Cartridges?: Slot[]; - CanFast?: boolean; - CanHit?: boolean; - CanAdmin?: boolean; - LoadUnloadModifier?: number; - CheckTimeModifier?: number; - CheckOverride?: number; - ReloadMagType?: string; - VisibleAmmoRangesString?: string; - MalfunctionChance?: number; - IsShoulderContact?: boolean; - Foldable?: boolean; - Retractable?: boolean; - SizeReduceRight?: number; - CenterOfImpact?: number; - ShotgunDispersion?: number; - IsSilencer?: boolean; - DeviationCurve?: number; - DeviationMax?: number; - SearchSound?: string; - BlocksArmorVest?: boolean; - speedPenaltyPercent?: number; - GridLayoutName?: string; - SpawnFilter?: any[]; - containType?: any[]; - sizeWidth?: number; - sizeHeight?: number; - isSecured?: boolean; - spawnTypes?: string; - lootFilter?: any[]; - spawnRarity?: string; - minCountSpawn?: number; - maxCountSpawn?: number; - openedByKeyID?: any[]; - RigLayoutName?: string; - MaxDurability?: number; - armorZone?: string[]; - armorClass: any; - mousePenalty?: number; - weaponErgonomicPenalty?: number; - BluntThroughput?: number; - ArmorMaterial?: string; - weapClass?: string; - weapUseType?: string; - ammoCaliber?: string; - OperatingResource?: number; - RepairComplexity?: number; - durabSpawnMin?: number; - durabSpawnMax?: number; - isFastReload?: boolean; - RecoilForceUp?: number; - RecoilForceBack?: number; - Convergence?: number; - RecoilAngle?: number; - weapFireType?: string[]; - RecolDispersion?: number; - SingleFireRate?: number; - CanQueueSecondShot?: boolean; - bFirerate?: number; - bEffDist?: number; - bHearDist?: number; - isChamberLoad?: boolean; - chamberAmmoCount?: number; - isBoltCatch?: boolean; - defMagType?: string; - defAmmo?: string; - AdjustCollimatorsToTrajectory?: boolean; - shotgunDispersion?: number; - Chambers?: Slot[]; - CameraRecoil?: number; - CameraSnap?: number; - ReloadMode?: string; - AimPlane?: number; - TacticalReloadStiffnes?: Xyz; - TacticalReloadFixation?: number; - RecoilCenter?: Xyz; - RotationCenter?: Xyz; - RotationCenterNoStock?: Xyz; - FoldedSlot?: string; - CompactHandling?: boolean; - MinRepairDegradation?: number; - MaxRepairDegradation?: number; - IronSightRange?: number; - IsFlareGun?: boolean; - IsGrenadeLauncher?: boolean; - IsOneoff?: boolean; - MustBoltBeOpennedForExternalReload?: boolean; - MustBoltBeOpennedForInternalReload?: boolean; - BoltAction?: boolean; - HipAccuracyRestorationDelay?: number; - HipAccuracyRestorationSpeed?: number; - HipInnaccuracyGain?: number; - ManualBoltCatch?: boolean; - BurstShotsCount?: number; - BaseMalfunctionChance?: number; - AllowJam?: boolean; - AllowFeed?: boolean; - AllowMisfire?: boolean; - AllowSlide?: boolean; - DurabilityBurnRatio?: number; - HeatFactorGun?: number; - CoolFactorGun?: number; - CoolFactorGunMods?: number; - HeatFactorByShot?: number; - AllowOverheat?: boolean; - DoubleActionAccuracyPenalty?: number; - RecoilPosZMult?: number; - MinRepairKitDegradation?: number; - MaxRepairKitDegradation?: number; - BlocksEarpiece?: boolean; - BlocksEyewear?: boolean; - BlocksHeadwear?: boolean; - BlocksFaceCover?: boolean; - Indestructibility?: number; - headSegments?: string[]; - FaceShieldComponent?: boolean; - FaceShieldMask?: string; - MaterialType?: string; - RicochetParams?: Xyz; - DeafStrength?: string; - BlindnessProtection?: number; - Distortion?: number; - CompressorTreshold?: number; - CompressorAttack?: number; - CompressorRelease?: number; - CompressorGain?: number; - CutoffFreq?: number; - Resonance?: number; - CompressorVolume?: number; - AmbientVolume?: number; - DryVolume?: number; - foodUseTime?: number; - foodEffectType?: string; - StimulatorBuffs?: string; - effects_health: any; - effects_damage: any; - MaximumNumberOfUsage?: number; - knifeHitDelay?: number; - knifeHitSlashRate?: number; - knifeHitStabRate?: number; - knifeHitRadius?: number; - knifeHitSlashDam?: number; - knifeHitStabDam?: number; - knifeDurab?: number; - PrimaryDistance?: number; - SecondryDistance?: number; - SlashPenetration?: number; - StabPenetration?: number; - PrimaryConsumption?: number; - SecondryConsumption?: number; - DeflectionConsumption?: number; - AppliedTrunkRotation?: Xyz; - AppliedHeadRotation?: Xyz; - DisplayOnModel?: boolean; - AdditionalAnimationLayer?: number; - StaminaBurnRate?: number; - ColliderScaleMultiplier?: Xyz; - ConfigPathStr?: string; - MaxMarkersCount?: number; - scaleMin?: number; - scaleMax?: number; - medUseTime?: number; - medEffectType?: string; - MaxHpResource?: number; - hpResourceRate?: number; - apResource?: number; - krResource?: number; - MaxOpticZoom?: number; - MaxRepairResource?: number; - TargetItemFilter?: string[]; - RepairQuality?: number; - RepairType?: string; - StackMinRandom?: number; - StackMaxRandom?: number; - ammoType?: string; - InitialSpeed?: number; - BallisticCoeficient?: number; - BulletMassGram?: number; - BulletDiameterMilimeters?: number; - Damage?: number; - ammoAccr?: number; - ammoRec?: number; - ammoDist?: number; - buckshotBullets?: number; - PenetrationPower?: number; - PenetrationPowerDiviation?: number; - ammoHear?: number; - ammoSfx?: string; - MisfireChance?: number; - MinFragmentsCount?: number; - MaxFragmentsCount?: number; - ammoShiftChance?: number; - casingName?: string; - casingEjectPower?: number; - casingMass?: number; - casingSounds?: string; - ProjectileCount?: number; - PenetrationChance?: number; - RicochetChance?: number; - FragmentationChance?: number; - Deterioration?: number; - SpeedRetardation?: number; - Tracer?: boolean; - TracerColor?: string; - TracerDistance?: number; - ArmorDamage?: number; - Caliber?: string; - StaminaBurnPerDamage?: number; - HeavyBleedingDelta?: number; - LightBleedingDelta?: number; - ShowBullet?: boolean; - HasGrenaderComponent?: boolean; - FuzeArmTimeSec?: number; - ExplosionStrength?: number; - MinExplosionDistance?: number; - MaxExplosionDistance?: number; - FragmentsCount?: number; - FragmentType?: string; - ShowHitEffectOnExplode?: boolean; - ExplosionType?: string; - AmmoLifeTimeSec?: number; - Contusion?: Xyz; - ArmorDistanceDistanceDamage?: Xyz; - Blindness?: Xyz; - IsLightAndSoundShot?: boolean; - LightAndSoundShotAngle?: number; - LightAndSoundShotSelfContusionTime?: number; - LightAndSoundShotSelfContusionStrength?: number; - MalfMisfireChance?: number; - MalfFeedChance?: number; - StackSlots?: StackSlot[]; - type?: string; - eqMin?: number; - eqMax?: number; - rate?: number; - ThrowType?: string; - ExplDelay?: number; - Strength?: number; - ContusionDistance?: number; - throwDamMax?: number; - explDelay?: number; - EmitTime?: number; - CanBeHiddenDuringThrow?: boolean; - MinTimeToContactExplode?: number; - ExplosionEffectType?: string; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Grid { - _name: string; - _id: string; - _parent: string; - _props: GridProps; - _proto: string; -} -export interface GridProps { - filters: GridFilter[]; - cellsH: number; - cellsV: number; - minCount: number; - maxCount: number; - maxWeight: number; - isSortingTable: boolean; -} -export interface GridFilter { - Filter: string[]; - ExcludedFilter: string[]; -} -export interface Slot { - _name: string; - _id: string; - _parent: string; - _props: SlotProps; - _max_count?: number; - _required: boolean; - _mergeSlotWithChildren: boolean; - _proto: string; -} -export interface SlotProps { - filters: SlotFilter[]; -} -export interface SlotFilter { - Shift?: number; - Filter: string[]; - AnimationIndex?: number; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StackSlot { - _name?: string; - _id: string; - _parent: string; - _max_count: number; - _props: StackSlotProps; - _proto: string; - upd: any; -} -export interface StackSlotProps { - filters: SlotFilter[]; -} -export interface EffectsHealth { - Energy: EffectsHealthProps; - Hydration: EffectsHealthProps; -} -export interface EffectsHealthProps { - value: number; -} -export interface EffectsDamage { - Pain: EffectDamageProps; - LightBleeding: EffectDamageProps; - HeavyBleeding: EffectDamageProps; - Contusion: EffectDamageProps; - RadExposure: EffectDamageProps; - Fracture: EffectDamageProps; - DestroyedPart: EffectDamageProps; -} -export interface EffectDamageProps { - delay: number; - duration: number; - fadeOut: number; - cost?: number; - healthPenaltyMin?: number; - healthPenaltyMax?: number; -} -export interface Color { - r: number; - g: number; - b: number; - a: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ITrader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ITrader.d.ts deleted file mode 100644 index f0fe2b5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/common/tables/ITrader.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Item } from "./IItem"; -export interface ITrader { - assort: ITraderAssort; - base: ITraderBase; - dialogue?: Record; - questassort: Record>; - suits?: ISuit[]; -} -export interface ITraderBase { - refreshAssort: boolean; - _id: string; - avatar: string; - balance_dol: number; - balance_eur: number; - balance_rub: number; - buyer_up: boolean; - currency: string; - customization_seller: boolean; - discount: number; - discount_end: number; - gridHeight: number; - insurance: Insurance; - location: string; - loyaltyLevels: LoyaltyLevel[]; - medic: boolean; - name: string; - nextResupply: number; - nickname: string; - repair: Repair; - sell_category: string[]; - surname: string; - unlockedByDefault: boolean; -} -export interface Insurance { - availability: boolean; - excluded_category: string[]; - max_return_hour: number; - max_storage_time: number; - min_payment: number; - min_return_hour: number; -} -export interface LoyaltyLevel { - buy_price_coef: number; - exchange_price_coef: number; - heal_price_coef: number; - insurance_price_coef: number; - minLevel: number; - minSalesSum: number; - minStanding: number; - repair_price_coef: number; -} -export interface Repair { - availability: boolean; - currency: string; - currency_coefficient: number; - excluded_category: string[]; - excluded_id_list: any[]; - quality: string; -} -export interface ITraderAssort { - nextResupply?: number; - items: Item[]; - barter_scheme: Record; - loyal_level_items: Record; -} -export interface IBarterScheme { - count: number; - _tpl: string; - onlyFunctional?: boolean; -} -export interface ISuit { - _id: string; - tid: string; - suiteId: string; - isActive: boolean; - requirements: Requirements; -} -export interface Requirements { - loyaltyLevel: number; - profileLevel: number; - standing: number; - skillRequirements: string[]; - questRequirements: string[]; - itemRequirements: ItemRequirement[]; -} -export interface ItemRequirement { - count: number; - _tpl: string; - onlyFunctional: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/customization/IBuyClothingRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/customization/IBuyClothingRequestData.d.ts deleted file mode 100644 index d19b70d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/customization/IBuyClothingRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IBuyClothingRequestData { - Action: "CustomizationBuy"; - offer: string; - items: ClothingItem[]; -} -export interface ClothingItem { - del: boolean; - id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/customization/IWearClothingRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/customization/IWearClothingRequestData.d.ts deleted file mode 100644 index 122d9cf..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/customization/IWearClothingRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWearClothingRequestData { - Action: "CustomizationWear"; - suites: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IFriendRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IFriendRequestData.d.ts deleted file mode 100644 index 9c326ac..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IFriendRequestData { - to: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts deleted file mode 100644 index 53d8289..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetAllAttachmentsRequestData { - dialogId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts deleted file mode 100644 index 076d414..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Message } from "../profile/IAkiProfile"; -export interface IGetAllAttachmentsResponse { - messages: Message[]; - profiles: any[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts deleted file mode 100644 index 8f1beac..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetChatServerListRequestData { - VersionId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts deleted file mode 100644 index 1d0c0e8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -export interface IGetFriendListDataResponse { - Friends: Friend[]; - Ignore: any[]; - InIgnoreList: any[]; -} -export interface Friend { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts deleted file mode 100644 index eed84b1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMailDialogInfoRequestData { - dialogId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts deleted file mode 100644 index f8fbf5d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMailDialogListRequestData { - limit: number; - offset: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts deleted file mode 100644 index 43d416e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface IGetMailDialogViewRequestData { - type: MessageType; - dialogId: string; - limit: number; - time: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts deleted file mode 100644 index 4f8b946..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { Message } from "../profile/IAkiProfile"; -export interface IGetMailDialogViewResponseData { - messages: Message[]; - profiles: IPmcData[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IPinDialogRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IPinDialogRequestData.d.ts deleted file mode 100644 index 57b8a00..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IPinDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPinDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts deleted file mode 100644 index 874b828..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRemoveDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/ISendMessageRequest.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/ISendMessageRequest.d.ts deleted file mode 100644 index dd79deb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/ISendMessageRequest.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface ISendMessageRequest { - dialogId: string; - type: MessageType; - text: string; - replyTo: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts deleted file mode 100644 index 2076232..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISetDialogReadRequestData { - dialogs: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IGameConfigResponse.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IGameConfigResponse.d.ts deleted file mode 100644 index eb37a39..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IGameConfigResponse.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export interface IGameConfigResponse { - aid: string; - lang: string; - languages: Record; - ndaFree: boolean; - taxonomy: number; - activeProfileId: string; - backend: Backend; - utc_time: number; - totalInGame: number; - reportAvailable: boolean; - twitchEventMember: boolean; -} -export interface Backend { - Trading: string; - Messaging: string; - Main: string; - RagFair: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts deleted file mode 100644 index a3ecad9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGameEmptyCrcRequestData { - crc: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IReportNicknameRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IReportNicknameRequestData.d.ts deleted file mode 100644 index 087c58b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IReportNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IReportNicknameRequestData { - uid: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IVersionValidateRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IVersionValidateRequestData.d.ts deleted file mode 100644 index 0aa0fed..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/game/IVersionValidateRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IVersionValidateRequestData { - version: Version; - develop: boolean; -} -export interface Version { - major: string; - minor: string; - game: string; - backend: string; - taxonomy: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/Effect.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/Effect.d.ts deleted file mode 100644 index 2f0adac..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/Effect.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Effect { - Fracture = "Fracture", - LightBleeding = "LightBleeding", - HeavyBleeding = "HeavyBleeding" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts deleted file mode 100644 index 7fb80a8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export interface IHealthTreatmentRequestData { - Action: "RestoreHealth"; - trader: string; - items: Item[]; - difference: Difference; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} -export interface Difference { - BodyParts: BodyParts; - Energy: number; - Hydration: number; -} -export interface BodyParts { - Head: BodyPart; - Chest: BodyPart; - Stomach: BodyPart; - LeftArm: BodyPart; - RightArm: BodyPart; - LeftLeg: BodyPart; - RightLeg: BodyPart; -} -export interface BodyPart { - Health: number; - Effects: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IOffraidEatRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IOffraidEatRequestData.d.ts deleted file mode 100644 index 8e2b6c3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IOffraidEatRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidEatRequestData extends IBaseInteractionRequestData { - Action: "Eat"; - item: string; - count: number; - time: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IOffraidHealRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IOffraidHealRequestData.d.ts deleted file mode 100644 index c242300..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/IOffraidHealRequestData.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidHealRequestData extends IBaseInteractionRequestData { - Action: "Heal"; - item: string; - part: BodyPart; - count: number; - time: number; -} -export declare enum BodyPart { - Head = 0, - Chest = 1, - Stomach = 2, - LeftArm = 3, - RightArm = 4, - LeftLeg = 5, - RightLeg = 6, - Common = 7 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/ISyncHealthRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/ISyncHealthRequestData.d.ts deleted file mode 100644 index 20e32f6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/health/ISyncHealthRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface ISyncHealthRequestData { - Health: Health; - IsAlive: boolean; - Hydration?: number; - Energy?: number; - Temperature?: number; -} -export interface Health { - Head?: BodyPartHealth; - Chest?: BodyPartHealth; - Stomach?: BodyPartHealth; - LeftArm?: BodyPartHealth; - RightArm?: BodyPartHealth; - LeftLeg?: BodyPartHealth; - RightLeg?: BodyPartHealth; -} -export interface BodyPartHealth { - Maximum: number; - Current: number; - Effects: Record; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 8583e8d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface HideoutUpgradeCompleteRequestData { - Action: string; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutArea.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutArea.d.ts deleted file mode 100644 index d9fd2bf..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutArea.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface IHideoutArea { - _id: string; - type: number; - enabled: boolean; - needsFuel: boolean; - takeFromSlotLocked: boolean; - craftGivesExp: boolean; - stages: Record; -} -export interface Stage { - requirements: Requirement[]; - bonuses: StageBonus[]; - slots: number; - constructionTime: number; - description: string; -} -export interface Requirement { - areaType?: number; - requiredLevel?: number; - type: string; - templateId?: string; - count?: number; - isFunctional?: boolean; - traderId?: string; - loyaltyLevel?: number; - skillName?: string; - skillLevel?: number; -} -export interface StageBonus { - value: number; - passive: boolean; - production: boolean; - visible: boolean; - skillType?: string; - type: string; - filter?: string[]; - icon?: string; - id?: string; - templateId?: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts deleted file mode 100644 index dba83eb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutContinousProductionStartRequestData { - Action: "HideoutContinuousProductionStart"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutProduction.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutProduction.d.ts deleted file mode 100644 index ce878be..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutProduction.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IHideoutProduction { - _id: string; - areaType: number; - requirements: Requirement[]; - productionTime: number; - boosters: any; - endProduct: string; - continuous: boolean; - count: number; - productionLimitCount: number; -} -export interface Requirement { - templateId?: string; - count?: number; - isFunctional?: boolean; - type: string; - areaType?: number; - requiredLevel?: number; - resource?: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts deleted file mode 100644 index 8326c55..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutPutItemInRequestData { - Action: "HideoutPutItemsInAreaSlots"; - areaType: number; - items: Record; - timestamp: number; -} -export interface ItemDetails { - count: number; - id: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutScavCase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutScavCase.d.ts deleted file mode 100644 index e0b9a27..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutScavCase.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -export interface IHideoutScavCase { - _id: string; - ProductionTime: number; - Requirements: Requirement[]; - EndProducts: EndProducts; -} -export interface Requirement { - templateId: string; - count: number; - isFunctional: boolean; - type: string; -} -export interface EndProducts { - Common: MinMax; - Rare: MinMax; - Superrare: MinMax; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts deleted file mode 100644 index 72fda86..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export interface IHideoutScavCaseStartRequestData { - Action: "HideoutScavCaseProductionStart"; - recipeId: string; - items: HideoutItem[]; - tools: Tool[]; - timestamp: number; -} -export interface HideoutItem { - id: string; - count: number; -} -export interface Tool { - id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts deleted file mode 100644 index 8e45939..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutSettingsBase { - generatorSpeedWithoutFuel: number; - generatorFuelFlowRate: number; - airFilterUnitFlowRate: number; - gpuBoostRate: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts deleted file mode 100644 index 1ed542a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutSingleProductionStartRequestData { - Action: "HideoutSingleProductionStart"; - recipeId: string; - items: Item[]; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts deleted file mode 100644 index 83a740a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutTakeItemOutRequestData { - Action: "HideoutTakeItemsFromAreaSlots"; - areaType: number; - slots: number[]; - timestamp: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts deleted file mode 100644 index a6847ef..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutTakeProductionRequestData { - Action: "HideoutTakeProduction"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts deleted file mode 100644 index cdea513..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutToggleAreaRequestData { - Action: "HideoutToggleArea"; - areaType: number; - enabled: boolean; - timestamp: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 545311e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutUpgradeCompleteRequestData { - Action: "HideoutUpgradeComplete"; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts deleted file mode 100644 index dfbfdca..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutUpgradeRequestData { - Action: "HideoutUpgrade"; - areaType: number; - items: HideoutItem[]; - timestamp: number; -} -export interface HideoutItem { - count: number; - id: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts deleted file mode 100644 index b5dc5c1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetBodyResponseData { - err: number; - errmsg: any; - (data: Type): Type; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/httpResponse/INullResponseData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/httpResponse/INullResponseData.d.ts deleted file mode 100644 index a3ae838..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/httpResponse/INullResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface INullResponseData { - err: number; - errmsg: any; - data: null; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts deleted file mode 100644 index e2d9cf1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IRegisterPlayerRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts deleted file mode 100644 index 6930261..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { ISyncHealthRequestData } from "../health/ISyncHealthRequestData"; -export interface ISaveProgressRequestData { - exit: string; - profile: IPmcData; - isPlayerScav: boolean; - health: ISyncHealthRequestData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts deleted file mode 100644 index 0e32e96..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetInsuranceCostRequestData { - traders: string[]; - items: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts deleted file mode 100644 index bf209c6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare type IGetInsuranceCostResponseData = Record>; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IInsureRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IInsureRequestData.d.ts deleted file mode 100644 index f657bb7..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/insurance/IInsureRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInsureRequestData extends IBaseInteractionRequestData { - Action: "Insure"; - tid: string; - items: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IAddItemRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IAddItemRequestData.d.ts deleted file mode 100644 index 53db97a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IAddItemRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IAddItemRequestData { - tid: string; - items: any[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts deleted file mode 100644 index 462e0de..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { - Action: "Add"; - item: string; - container: Container; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts deleted file mode 100644 index b45e459..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { -} -export interface To { - id: string; - container: string; - location?: ToLocation | number; -} -export interface ToLocation { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} -export interface Container { - id: string; - container: string; - location: Location | number; -} -export interface Location { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts deleted file mode 100644 index ff35066..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { - Action: "Bind"; - item: string; - index: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts deleted file mode 100644 index 1e1ecef..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "CreateMapMarker"; - item: string; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts deleted file mode 100644 index 0657e1b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "DeleteMapMarker"; - item: string; - X: number; - Y: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts deleted file mode 100644 index e2857e1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "EditMapMarker"; - item: string; - X: number; - Y: number; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts deleted file mode 100644 index 614711f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { - Action: "Examine"; - item: string; - fromOwner: IFromOwner; -} -export interface IFromOwner { - id: string; - type: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts deleted file mode 100644 index a5fb2a1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { - Action: "Fold"; - item: string; - value: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts deleted file mode 100644 index 3fcfa35..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { - Action: "Merge"; - item: string; - with: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts deleted file mode 100644 index b767908..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { - Action: "Move"; - item: string; - to: To; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts deleted file mode 100644 index 5487b20..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { - Action: "ReadEncyclopedia"; - ids: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts deleted file mode 100644 index 07d1a52..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { - Action: "Remove"; - item: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySortRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySortRequestData.d.ts deleted file mode 100644 index a0b7928..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Upd } from "../common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { - Action: "ApplyInventoryChanges"; - changedItems: ChangedItem[]; -} -export interface ChangedItem { - _id: string; - _tpl: string; - parentId: string; - slotId: string; - location: Location; - upd: Upd; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts deleted file mode 100644 index 730ae71..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { - Action: "Split"; - item: string; - container: Container; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts deleted file mode 100644 index 1b0464d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { OwnerInfo } from "../common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { - Action: "Swap"; - item: string; - to: To; - item2: string; - to2: To; - fromOwner2: OwnerInfo; - toOwner2: OwnerInfo; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts deleted file mode 100644 index f021661..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { - Action: "Tag"; - item: string; - TagName: string; - TagColor: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts deleted file mode 100644 index 0955440..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { - Action: "Toggle"; - item: string; - value: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts deleted file mode 100644 index cf4391b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { - Action: "Transfer"; - item: string; - with: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts deleted file mode 100644 index 689fe75..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { - profileChanges: ""; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts deleted file mode 100644 index 4841cfd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -import { Item, Upd } from "../common/tables/IItem"; -import { IQuest } from "../common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "../ragfair/IRagfairOffer"; -export interface IItemEventRouterBase { - warnings: Warning[]; - profileChanges: TProfileChanges | ""; -} -export declare type TProfileChanges = Record; -export interface Warning { - index: number; - err: string; - errmsg: string; -} -export interface ProfileChange { - _id: string; - experience: number; - quests: IQuest[]; - ragFairOffers: IRagfairOffer[]; - builds: BuildChange[]; - items: ItemChanges; - production: Record; - skills: Skills; - traderRelations: Record; - repeatableQuests?: IPmcDataRepeatableQuest[]; -} -export interface BuildChange { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface ItemChanges { - new: Product[]; - change: Product[]; - del: Product[]; -} -export interface Production { - Progress: number; - StartTimestamp: number; - ProductionTime: number; - inProgress: boolean; - RecipeId: string; - Products: Product[]; -} -export interface Product { - _id: string; - _tpl?: string; - parentId?: string; - slotId?: string; - location?: ItemChangeLocation; - upd?: Upd; -} -export interface ItemChangeLocation { - x: number; - y: number; - r: number; - isSearched?: boolean; -} -export interface TraderRelations { - salesSum?: number; - standing?: number; - loyalty?: number; - unlocked?: boolean; - disabled?: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts deleted file mode 100644 index 515b49a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface IItemEventRouterRequest { - data: Daum[]; - tm: number; - reload: number; -} -export interface Daum { - Action: string; - item: string; - to: To; -} -export interface To { - id: string; - container: string; - location?: Location; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts deleted file mode 100644 index 72a9b5b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IItemEventRouterResponse extends IItemEventRouterBase { -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IChangeRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IChangeRequestData.d.ts deleted file mode 100644 index f0a7838..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IChangeRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IChangeRequestData extends ILoginRequestData { - change: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts deleted file mode 100644 index a14c7c9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMiniProfileRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/ILoginRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/ILoginRequestData.d.ts deleted file mode 100644 index e965813..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/ILoginRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ILoginRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IMiniProfile.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IMiniProfile.d.ts deleted file mode 100644 index c12661a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IMiniProfile.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface IMiniProfile { - username: string; - nickname: string; - side: string; - currlvl: number; - currexp: number; - prevexp: number; - nextlvl: number; - maxlvl: number; - akiData: AkiData; -} -export interface AkiData { - version: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IRegisterData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IRegisterData.d.ts deleted file mode 100644 index 61a8bbe..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IRegisterData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IRegisterData extends ILoginRequestData { - edition: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IRemoveProfileData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IRemoveProfileData.d.ts deleted file mode 100644 index d31c9ac..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/launcher/IRemoveProfileData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export declare type IRemoveProfileData = ILoginRequestData; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/location/IGetLocationRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/location/IGetLocationRequestData.d.ts deleted file mode 100644 index 04e84d9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/location/IGetLocationRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetLocationRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/ICreateGroupRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/ICreateGroupRequestData.d.ts deleted file mode 100644 index 7413a8a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/ICreateGroupRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface ICreateGroupRequestData { - location: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts deleted file mode 100644 index 811e9a2..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IEndOfflineRaidRequestData { - crc: number; - exitStatus: string; - exitName: any; - raidSeconds: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts deleted file mode 100644 index 55d7079..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface IGetGroupStatusRequestData { - location: string; - savage: boolean; - dt: string; - keyId: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IGetProfileRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IGetProfileRequestData.d.ts deleted file mode 100644 index 86b5bbd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IGetProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetProfileRequestData { - profileId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IJoinMatchRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IJoinMatchRequestData.d.ts deleted file mode 100644 index cd34f7b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IJoinMatchRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IJoinMatchRequestData { - location: string; - savage: boolean; - dt: string; - servers: Server[]; - keyId: string; -} -export interface Server { - ping: number; - ip: string; - port: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IJoinMatchResult.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IJoinMatchResult.d.ts deleted file mode 100644 index df695f4..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IJoinMatchResult.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IJoinMatchResult { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; - version: string; - location: string; - gamemode: string; - shortid: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IPutMetricsRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IPutMetricsRequestData.d.ts deleted file mode 100644 index d9ed214..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IPutMetricsRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IPutMetricsRequestData { - sid: string; - settings: any; - SharedSettings: any; - HardwareDescription: any; - Location: string; - Metrics: any; - ClientEvents: any; - SpikeSamples: any[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts deleted file mode 100644 index af0625e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { BotAmount } from "../../enums/BotAmount"; -import { BotDifficulty } from "../../enums/BotDifficulty"; -export interface IStartOfflineRaidRequestData { - locationName: string; - startTime: number; - dateTime: string; - gameSettings: GameSettings; -} -export interface GameSettings { - timeAndWeatherSettings: TimeAndWeatherSettings; - botsSettings: BotsSettings; - wavesSettings: WavesSettings; -} -export interface TimeAndWeatherSettings { - isRandomTime: boolean; - isRandomWeather: boolean; -} -export interface BotsSettings { - isEnabled: boolean; - isScavWars: boolean; - botAmount: BotAmount; -} -export interface WavesSettings { - botDifficulty: BotDifficulty; - isBosses: boolean; - isTaggedAndCursed: boolean; - wavesBotAmount: BotAmount; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IUpdatePingRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IUpdatePingRequestData.d.ts deleted file mode 100644 index defbd66..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/match/IUpdatePingRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUpdatePingRequestData { - servers: any[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notes/INoteActionData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notes/INoteActionData.d.ts deleted file mode 100644 index 610657f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notes/INoteActionData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface INoteActionData extends IBaseInteractionRequestData { - Action: string; - index: number; - note: INote; -} -export interface INote { - Time: number; - Text: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notifier/INotifier.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notifier/INotifier.d.ts deleted file mode 100644 index 8c48260..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notifier/INotifier.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface INotifierChannel { - "server": string; - "channel_id": string; - "url": string; - "notifierServer": string; - "ws": string; -} -import { Message } from "../profile/IAkiProfile"; -export interface INotification { - type: "RagfairOfferSold" | "new_message" | "ping"; - eventId: string; - dialogId?: string; - message?: Message; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts deleted file mode 100644 index 2bc3d1e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISelectProfileRequestData { - uid: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts deleted file mode 100644 index 2f9827c..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -export interface IPlayerIncrementSkillLevelRequestData { - _id: string; - experience: number; - quests: any[]; - ragFairOffers: any[]; - builds: any[]; - items: Items; - production: Production; - skills: Skills; - traderRelations: TraderRelations; -} -export interface Items { - new: any[]; - change: any[]; - del: any[]; -} -export interface Production { -} -export interface TraderRelations { -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts deleted file mode 100644 index 99c61f1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export interface IPresetBuildActionRequestData { - Action: string; - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Item { - _id: string; - _tpl: string; - upd?: Upd; - parentId?: string; - slotId?: string; -} -export interface Upd { - Repairable: Repairable; - FireMode: FireMode; -} -export interface Repairable { - MaxDurability: number; - Durability: number; -} -export interface FireMode { - FireMode: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts deleted file mode 100644 index eee9b4f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface GetProfileStatusResponseData { - maxPveCountExceeded: false; - profiles: ProfileData[]; -} -export interface ProfileData { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IAkiProfile.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index eaa66c1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -import { IPmcData } from "../common/IPmcData"; -import { Item } from "../common/tables/IItem"; -export interface IAkiProfile { - info: Info; - characters: Characters; - suits: string[]; - weaponbuilds: WeaponBuild[]; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; -} -export interface Info { - id: string; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -export interface WeaponBuild { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Dialogue { - _id: string; - messages: Message[]; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface DialogueInfo { - _id: string; - type: MessageType; - message: MessagePreview; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId: string; - text?: string; - hasRewards: boolean; - rewardCollected: boolean; - items: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: any[]; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; -} -export interface MessageItems { - stash?: string; - data?: Item[]; -} -export interface ISystemData { - date?: string; - time?: string; - location?: string; - buyerNickname?: string; - soldItem?: string; - itemCount?: number; -} -export interface IUpdatableChatMember { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; -} -export interface Vitality { - health: Health; - effects: Effects; -} -export interface Health { - Hydration: number; - Energy: number; - Temperature: number; - Head: number; - Chest: number; - Stomach: number; - LeftArm: number; - RightArm: number; - LeftLeg: number; - RightLeg: number; -} -export interface Effects { - Head: Head; - Chest: Chest; - Stomach: Stomach; - LeftArm: LeftArm; - RightArm: RightArm; - LeftLeg: LeftLeg; - RightLeg: RightLeg; -} -export interface Head { -} -export interface Chest { -} -export interface Stomach { -} -export interface LeftArm { - Fracture?: number; -} -export interface RightArm { - Fracture?: number; -} -export interface LeftLeg { - Fracture?: number; -} -export interface RightLeg { - Fracture?: number; -} -export interface Inraid { - location: string; - character: string; -} -export interface Insurance { - scheduledTime: number; - traderId: string; - messageContent: MessageContent; - items: Item[]; -} -export interface MessageContent { - ragfair?: MessageContentRagfair; - text?: string; - templateId: string; - type: MessageType; - maxStorageTime?: number; - profileChangeEvents?: any[]; - systemData?: ISystemData; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts deleted file mode 100644 index 4a61196..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts deleted file mode 100644 index 91058ce..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeVoiceRequestData { - voice: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileCreateRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileCreateRequestData.d.ts deleted file mode 100644 index 93cc656..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IProfileCreateRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IProfileCreateRequestData { - side: string; - nickname: string; - headId: string; - voiceId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/ISearchFriendRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/ISearchFriendRequestData.d.ts deleted file mode 100644 index e63e386..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/ISearchFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISearchFriendRequestData { - nickname: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/ISearchFriendResponse.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/ISearchFriendResponse.d.ts deleted file mode 100644 index 96d88b2..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/ISearchFriendResponse.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface ISearchFriendResponse { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts deleted file mode 100644 index 9cca7e7..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IValidateNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts deleted file mode 100644 index 0e4821a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IAcceptQuestRequestData { - Action: "QuestAccept"; - qid: string; - type: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts deleted file mode 100644 index 36a6db3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface ICompleteQuestRequestData { - Action: string; - /** Quest Id */ - qid: string; - removeExcessItems: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts deleted file mode 100644 index 63f10a8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHandoverQuestRequestData { - Action: "QuestHandover"; - qid: string; - conditionId: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IListQuestsRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IListQuestsRequestData.d.ts deleted file mode 100644 index 91f0b8c..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IListQuestsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IListQuestsRequestData { - completed: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts deleted file mode 100644 index 015f58e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRepeatableQuestChangeRequest { - Action: "RepeatableQuestChange"; - qid: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts deleted file mode 100644 index 465ee02..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IAddOfferRequestData { - Action: string; - sellInOnePiece: boolean; - items: string[]; - requirements: Requirement[]; -} -export interface Requirement { - _tpl: string; - count: number; - level: number; - side: number; - onlyFunctional: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts deleted file mode 100644 index 2a4a876..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IExtendOfferRequestData { - offerId: string; - renewalTime: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts deleted file mode 100644 index 676322a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetItemPriceResult { - avg: number; - min: number; - max: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts deleted file mode 100644 index 00f8f17..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMarketPriceRequestData { - templateId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetOffersResult.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetOffersResult.d.ts deleted file mode 100644 index fbc631d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IGetOffersResult.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IRagfairOffer } from "./IRagfairOffer"; -export interface IGetOffersResult { - categories?: Record; - offers: IRagfairOffer[]; - offersCount: number; - selectedCategory: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IRagfairOffer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IRagfairOffer.d.ts deleted file mode 100644 index 63f655e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IRagfairOffer.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -import { Item } from "../common/tables/IItem"; -export interface IRagfairOffer { - sellResult?: SellResult[]; - _id: string; - items: Item[]; - requirements: OfferRequirement[]; - root: string; - intId: number; - itemsCost: number; - requirementsCost: number; - startTime: number; - endTime: number; - sellInOnePiece: boolean; - name?: string; - shortName?: string; - loyaltyLevel: number; - locked: boolean; - unlimitedCount: boolean; - summaryCost: number; - user: IRagfairOfferUser; - notAvailable: boolean; - CurrentItemCount: number; - priority: boolean; -} -export interface OfferRequirement { - _tpl: string; - count: number; - onlyFunctional: boolean; -} -export interface IRagfairOfferUser { - id: string; - nickname: string; - rating: number; - memberType: MemberCategory; - avatar: string; - isRatingGrowing: boolean; -} -export interface SellResult { - sellTime: number; - amount: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts deleted file mode 100644 index d926615..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRemoveOfferRequestData { - Action: string; - offerId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/ISearchRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/ISearchRequestData.d.ts deleted file mode 100644 index 08e7fd3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/ISearchRequestData.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -export interface ISearchRequestData { - page: number; - limit: number; - sortType: number; - sortDirection: number; - currency: number; - priceFrom: number; - priceTo: number; - quantityFrom: number; - quantityTo: number; - conditionFrom: number; - conditionTo: number; - oneHourExpiration: boolean; - removeBartering: boolean; - offerOwnerType: OfferOwnerType; - onlyFunctional: boolean; - updateOfferCount: boolean; - handbookId: string; - linkedSearchId: string; - neededSearchId: string; - buildItems: BuildItems; - buildCount: number; - tm: number; - reload: number; -} -export declare enum OfferOwnerType { - ANYOWNERTYPE = 0, - TRADEROWNERTYPE = 1, - PLAYEROWNERTYPE = 2 -} -export interface BuildItems { -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts deleted file mode 100644 index 2d14d20..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISendRagfairReportRequestData { - offerId: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts deleted file mode 100644 index e645fb3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseRepairActionDataRequest { - Action: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/IRepairActionDataRequest.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/IRepairActionDataRequest.d.ts deleted file mode 100644 index 263d400..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "Repair"; - repairKitsInfo: RepairKitsInfo[]; - target: string; -} -export interface RepairKitsInfo { - _id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts deleted file mode 100644 index e3d469d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "TraderRepair"; - tid: string; - repairItems: RepairItem[]; -} -export interface RepairItem { - _id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts deleted file mode 100644 index a9ef757..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IProcessBaseTradeRequestData { - Action: string; - type: string; - tid: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts deleted file mode 100644 index a9e4c17..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { - Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | ""; - type: string; - tid: string; - item_id: string; - count: number; - scheme_id: number; - scheme_items: SchemeItem[]; -} -export interface SchemeItem { - id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts deleted file mode 100644 index 889dfd1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IProcessRagfairTradeRequestData { - Action: string; - offers: Offer[]; -} -export interface Offer { - id: string; - count: number; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts deleted file mode 100644 index f1d555f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { - Action: "sell_to_trader"; - type: string; - tid: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; - scheme_id: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/weather/IWeatherData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/weather/IWeatherData.d.ts deleted file mode 100644 index ecc96ce..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/weather/IWeatherData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IWeatherData { - acceleration: number; - time: string; - date: string; - weather: IWeather; -} -export interface IWeather { - pressure: number; - temp: number; - fog: string; - rain_intensity: number; - rain: any; - wind_gustiness: number; - wind_direction: any; - wind_speed: number; - cloud: number; - time: string; - date: string; - timestamp: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/wishlist/IWishlistActionData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/wishlist/IWishlistActionData.d.ts deleted file mode 100644 index 9217864..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/eft/wishlist/IWishlistActionData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWishlistActionData { - Action: string; - templateId: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/AmmoTypes.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/AmmoTypes.d.ts deleted file mode 100644 index b52ddcf..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/AmmoTypes.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -export declare enum Grenade { - M386_HE_GRENADE = "5ede475b549eed7c6d5c18fb", - M576_MP_APERS_GRENADE = "5ede475339ee016e8c534742", - M433_HEDP_GRENADE = "5f0c892565703e5c461894e9", - M406_HE_GRENADE = "5ede4739e0350d05467f73e8", - M381_HE_GRENADE = "5ede474b0c226a66f5402622", - M441_HE_GRENADE = "5ede47405b097655935d7d16" -} -export declare enum Ammo762x51 { - M62_TRACER = "5a608bf24f39f98ffc77720e", - M80 = "58dd3ad986f77403051cba8f", - M61 = "5a6086ea4f39f99cd479502f", - BCP_FMJ = "5e023e53d4353e3302577c4c", - ULTRA_NOSLER = "5e023e88277cce2b522ff2b1", - TCW_SP = "5e023e6e34d52a55c3304f71", - M993 = "5efb0c1bd79ff02a1f5e68d9" -} -export declare enum Ammo762x54 { - SNB_GZH = "560d61e84bdc2da74d8b4571", - LPS_GZH = "5887431f2459777e1612938f", - PS_GZH = "59e77a2386f7742ee578960a", - T46M_GZH = "5e023cf8186a883be655e54f", - BT_GZH = "5e023d34e8a400319a28ed44", - BS_GZH = "5e023d48186a883be655e551" -} -export declare enum Ammo338Lapua { - TAC_X = "5fc382b6d6fa9c00c571bbc3", - UCW = "5fc382c1016cce60e8341b20", - AP = "5fc382a9d724d907e2077dab", - FMJ = "5fc275cf85fd526b824a571a" -} -export declare enum Ammo46x30 { - AP_SX = "5ba26835d4351e0035628ff5", - ACTION_SX = "5ba26812d4351e003201fef1", - FMJ_SX = "5ba2678ad4351e44f824b344", - SUBSONIC_SX = "5ba26844d4351e00334c9475" -} -export declare enum Ammo57x28 { - SS198LF = "5cc80f79e4a949033c7343b2", - R37_F = "5cc86832d7f00c000d3a6e6c", - SS190 = "5cc80f38e4a949001152b560", - R37_X = "5cc86840d7f00c002412c56c", - L191 = "5cc80f53e4a949000e1ea4f8", - SS197SR = "5cc80f8fe4a949033b0224a2", - SB193 = "5cc80f67e4a949035e43bbba" -} -export declare enum Ammo762x25 { - FMJ43 = "5735ff5c245977640e39ba7e", - LRN = "573601b42459776410737435", - P_GL = "5736026a245977644601dc61", - PST_GZH = "573603562459776430731618", - LRNPC = "573602322459776445391df1", - AKBS = "5735fdcd2459776445391d61", - PT_GZH = "573603c924597764442bd9cb" -} -export declare enum Ammo9x18 { - PM_SP8_GZH = "5737218f245977612125ba51", - P_GZH = "573719762459775a626ccbc1", - PSTM_GZH = "57371aab2459775a77142f22", - RG028_GZH = "573720e02459776143012541", - BZHT_GZH = "573718ba2459775a75491131", - PM_PSV = "5737207f24597760ff7b25f2", - SP7_GZH = "57372140245977611f70ee91", - PBM_GZH = "573719df2459775a626ccbc2", - PSO_GZH = "57371f8d24597761006c6a81", - PST_GZH = "5737201124597760fc4431f1", - PS_GS_PPO = "57371f2b24597761224311f1", - PRS_GS = "57371eb62459776125652ac1", - PPT_GZH = "57371e4124597760ff7b25f1", - PPE_GZH = "57371b192459775a9f58a5e0" -} -export declare enum Ammo9x19 { - PSO_GZH = "58864a4f2459770fcc257101", - PST_GZH = "56d59d3ad2720bdb418b4577", - GREEN_TRACER = "5c3df7d588a4501f290594e5", - RIP = "5c0d56a986f774449d5de529", - AP_63 = "5c925fa22e221601da359b7b", - LUGER_CCI = "5a3c16fe86f77452b62de32a", - PBP_GZH = "5efb0da7a29a85116f6ea05f", - QUAKEMAKER = "5efb0e16aeb21837e749c7ff" -} -export declare enum Ammo9x21 { - P_GZH = "5a26abfac4a28232980eabff", - PS_GZH = "5a269f97c4a282000b151807", - PE_GZH = "5a26ac06c4a282000c5a90a8", - BT_GZH = "5a26ac0ec4a28200741e1e18" -} -export declare enum Ammo357Mag { - FMJ = "62330b3ed4dc74626d570b95", - HOLLOW_POINT = "62330bfadc5883093563729b", - SOFT_POINT = "62330c40bdd19b369e1e53d1", - JACKET_HP = "62330c18744e5e31df12f516" -} -export declare enum Ammo45ACP { - MATCH_FMJ = "5e81f423763d9f754677bf2e", - HYDRA_SHOK = "5efb0fc6aeb21837e749c801", - LASERMATCH_FMJ = "5efb0d4f4bc50b58e81710f3", - AP = "5efb0cabfb3e451d70735af5", - RIP = "5ea2a8e200685063ec28c05a" -} -export declare enum Ammo545x39 { - PS_GS = "56dff3afd2720bba668b4567", - SP = "56dff421d2720b5f5a8b4567", - PPBS_GS_IGOLNIK = "5c0d5e4486f77478390952fe", - BS_7N40 = "61962b617c6c7b169525f168", - PRS_GS = "56dff338d2720bbd668b4569", - BT_GS = "56dff061d2720bb5668b4567", - US_GS = "56dff4ecd2720b5f5a8b4568", - BP_GS = "56dfef82d2720bbd668b4567", - HP = "56dff216d2720bbd668b4568", - BS_GS = "56dff026d2720bb8668b4567", - T_GS = "56dff4a2d2720bbd668b456a", - PP_GS = "56dff2ced2720bb4668b4567", - FMJ = "56dff0bed2720bb0668b4567" -} -export declare enum Ammo556x45 { - M856 = "59e68f6f86f7746c9f75e846", - MK255_MOD_0_RRLP = "59e6918f86f7746c9f75e849", - M995 = "59e690b686f7746c9f75e848", - M855A1 = "54527ac44bdc2d36668b4567", - M856A1 = "59e6906286f7746c9f75e847", - M855 = "54527a984bdc2d4e668b4567", - HP = "59e6927d86f77411da468256", - FMJ = "59e6920f86f77411d82aa167", - WARMAGEDDON = "5c0d5ae286f7741e46554302", - MK_318_MOD_0_SOST = "60194943740c5d77f6705eea", - SSA_AP = "601949593ae8f707c4608daa" -} -export declare enum Ammo300Blackout { - M62_TRACER = "619636be6db0f2477964e710", - BCP_FMJ = "5fbe3ffdf8b6a877a729ea82", - AP = "5fd20ff893a8961fc660a954", - V_MAX = "6196364158ef8c428c287d9f", - WHISPER = "6196365d58ef8c428c287da1" -} -export declare enum Ammo762x39 { - PS_GZH = "5656d7c34bdc2d9d198b4587", - HP = "59e4d3d286f774176a36250a", - US_GZH = "59e4d24686f7741776641ac7", - T45M1_GZH = "59e4cf5286f7741778269d8a", - BP_GZH = "59e0d99486f7744a32234762", - MAI_AP = "601aa3d2b2bcb34913271e6d" -} -export declare enum Ammo9x39 { - SP5_GS = "57a0dfb82459774d3078b56c", - BP_GS = "5c0d688c86f77413ae3407b2", - SP6_GS = "57a0e5022459774d1673f889", - SPP_GS = "5c0d668f86f7747ccb7f13b2", - PAB9_GS = "61962d879bb3d20b0946d385" -} -export declare enum Ammo366TKM { - FMJ = "59e6542b86f77411dc52a77a", - GEKSA = "59e6658b86f77411d949b250", - EKO = "59e655cb86f77411dc52a77b", - APM = "5f0596629e22f464da6bbdd9" -} -export declare enum Ammo127x55 { - PS12 = "5cadf6ddae9215051e1c23b2", - PS12B = "5cadf6eeae921500134b2799", - PS12A = "5cadf6e5ae921500113bb973" -} -export declare enum Ammo12Gauge { - BUCKSHOT_7MM = "560d5e524bdc2d25448b4571", - MAGNUM_85MM = "5d6e6806a4b936088465b17e", - RIP = "5c0d591486f7744c505b416f", - BMG_SLUG_50CAL = "5d6e68c4a4b9361b93413f79", - BUCKSHOT_525MM = "5d6e6772a4b936088465b17c", - EXPRESS_65MM = "5d6e67fba4b9361bc73bc779", - FLECHETTE = "5d6e6911a4b9361bd5780d52", - FTX_CUSTOM_LITE_SLUG = "5d6e68e6a4b9361c140bcfe0", - AP20_ARMOR_PIERCING_SLUG = "5d6e68a8a4b9360b6c0d54e2", - DUAL_SABOT_SLUG = "5d6e68dea4b9361bcc29e659", - POLEVA_6U_SLUG = "5d6e689ca4b9361bc8618956", - POLEVA_3_SLUG = "5d6e6891a4b9361bd473feea", - GRIZZLY_40_SLUG = "5d6e6869a4b9361c140bcfde", - SUPERFORMANCE_HP_SLUG = "5d6e68d1a4b93622fe60e845", - COPPER_SABOT_PREMIER_HP_SLUG = "5d6e68b3a4b9361bca7e50b5", - LEAD_SLUG = "58820d1224597753c90aeb13" -} -export declare enum Ammo20Gauge { - BUCKSHOT_75MM = "5a38ebd9c4a282000d722a5b", - STAR_SLUG = "5d6e6a05a4b93618084f58d0", - BUCKSHOT_73MM = "5d6e69c7a4b9360b6c0d54e4", - DEVASTATOR_SLUG = "5d6e6a5fa4b93614ec501745", - BUCKSHOT_56MM = "5d6e695fa4b936359b35d852", - POLEVA_6U_SLUG = "5d6e6a42a4b9364f07165f52", - POLEVA_3_SLUG = "5d6e6a53a4b9361bd473feec", - BUCKSHOT_62MM = "5d6e69b9a4b9361bc8618958" -} -export declare enum Ammo23x75 { - SHRAPNEL10_BUCKSHOT = "5e85a9a6eacf8c039e4e2ac1", - SHRAPNEL25_BUCKSHOT = "5f647f31b6238e5dd066e196", - ZVEZDA_FLASHBANG = "5e85a9f4add9fe03027d9bf1", - BARRIKADA_SLUG = "5e85aa1a988a8701445df1f5" -} -export declare enum Ammo30x29 { - VOG_30 = "5d70e500a4b9364de70d38ce" -} -export declare enum Ammo127x108 { - B32 = "5cde8864d7f00c0010373be1", - BZT_44M = "5d2f2ab648f03550091993ca" -} -export declare enum Ammo26x75 { - GREEN_FLARE = "62389aaba63f32501b1b444f", - RED_FLARE = "62389ba9a63f32501b1b4451", - WHITE_FLARE = "62389bc9423ed1685422dc57", - YELLOW_FLARE = "62389be94d5d474bf712e709" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BaseClasses.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BaseClasses.d.ts deleted file mode 100644 index e733bca..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BaseClasses.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -export declare enum BaseClasses { - WEAPON = "5422acb9af1c889c16000029", - ARMOR = "5448e54d4bdc2dcc718b4568", - VEST = "5448e5284bdc2dcb718b4567", - BACKPACK = "5448e53e4bdc2d60728b4567", - VISORS = "5448e5724bdc2ddf718b4568", - FOOD = "5448e8d04bdc2ddf718b4569", - DRINK = "5448e8d64bdc2dce718b4568", - BARTER_ITEM = "5448eb774bdc2d0a728b4567", - INFO = "5448ecbe4bdc2d60728b4568", - MEDKIT = "5448f39d4bdc2d0a728b4568", - DRUGS = "5448f3a14bdc2d27728b4569", - STIMULATOR = "5448f3a64bdc2d60728b456a", - MEDICAL = "5448f3ac4bdc2dce718b4569", - MEDICAL_SUPPLIES = "57864c8c245977548867e7f1", - MOD = "5448fe124bdc2da5018b4567", - FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b", - FUEL = "5d650c3e815116009f6201d2", - GEAR_MOD = "55802f3e4bdc2de7118b4584", - STOCK = "55818a594bdc2db9688b456a", - FOREGRIP = "55818af64bdc2d5b648b4570", - MASTER_MOD = "55802f4a4bdc2ddb688b4569", - MOUNT = "55818b224bdc2dde698b456f", - MUZZLE = "5448fe394bdc2d0d028b456c", - SIGHTS = "5448fe7a4bdc2d6f028b456b", - MEDS = "543be5664bdc2dd4348b4569", - MONEY = "543be5dd4bdc2deb348b4569", - KEY = "543be5e94bdc2df1348b4568", - KEY_MECHANICAL = "5c99f98d86f7745c314214b3", - KEYCARD = "5c164d2286f774194c5e69fa", - EQUIPMENT = "543be5f84bdc2dd4348b456a", - THROW_WEAPON = "543be6564bdc2df4348b4568", - FOOD_DRINK = "543be6674bdc2df1348b4569", - PISTOL = "5447b5cf4bdc2d65278b4567", - SMG = "5447b5e04bdc2d62278b4567", - ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567", - ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567", - SHOTGUN = "5447b6094bdc2dc3278b4567", - MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567", - SNIPER_RIFLE = "5447b6254bdc2dc3278b4568", - MACHINE_GUN = "5447bed64bdc2d97278b4568", - GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568", - SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569", - SPEC_ITEM = "5447e0e74bdc2d3c308b4567", - KNIFE = "5447e1d04bdc2dff2f8b4567", - AMMO = "5485a8684bdc2da71d8b4567", - AMMO_BOX = "543be5cb4bdc2deb348b4568", - LOOT_CONTAINER = "566965d44bdc2d814c8b4571", - MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a", - SEARCHABLE_ITEM = "566168634bdc2d144c8b456c", - STASH = "566abbb64bdc2d144c8b457d", - SORTING_TABLE = "6050cac987d3f925bf016837", - LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569", - SIMPLE_CONTAINER = "5795f317245977243854e041", - INVENTORY = "55d720f24bdc2d88028b456d", - STATIONARY_CONTAINER = "567583764bdc2d98058b456e", - POCKETS = "557596e64bdc2dc2118b4571", - ARMBAND = "5b3f15d486f77432d0509248", - DOG_TAG_USEC = "59f32c3b86f77472a31742f0", - DOG_TAG_BEAR = "59f32bb586f774757e1e8442", - JEWELRY = "57864a3d24597754843f8721", - ELECTRONICS = "57864a66245977548f04a81f", - BUILDING_MATERIAL = "57864ada245977548638de91", - TOOL = "57864bb7245977548b3b66c2", - HOUSEHOLD_GOODS = "57864c322459775490116fbf", - LUBRICANT = "57864e4c24597754843f8723", - BATTERY = "57864ee62459775490116fc1", - ASSAULT_SCOPE = "55818add4bdc2d5b648b456f", - REFLEX_SIGHT = "55818ad54bdc2ddc698b4569", - TACTICAL_COMBO = "55818b164bdc2ddc698b456c", - MAGAZINE = "5448bc234bdc2d3c308b4569", - LIGHT_LASER = "55818b0e4bdc2dde698b456e", - FLASH_HIDER = "550aa4bf4bdc2dd6348b456b", - COLLIMATOR = "55818ad54bdc2ddc698b4569", - COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b", - COMPENSATOR = "550aa4af4bdc2dd4348b456e", - OPTIC_SCOPE = "55818ae44bdc2dde698b456c", - SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a", - OTHER = "590c745b86f7743cc433c5f2", - SILENCER = "550aa4cd4bdc2dd8348b456c", - PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc", - ITEM = "54009119af1c881c07000029", - CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BotAmount.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BotAmount.d.ts deleted file mode 100644 index d0e1df1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BotAmount.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare enum BotAmount { - AsOnline = "AsOnline", - Low = "Low", - Medium = "Medium", - High = "High", - Horde = "Horde" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BotDifficulty.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BotDifficulty.d.ts deleted file mode 100644 index c901bcf..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/BotDifficulty.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum BotDifficulty { - AsOnline = "AsOnline", - Easy = "Easy", - Medium = "Medium", - Hard = "Hard", - Impossible = "Impossible", - Random = "Random" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ConfigTypes.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ConfigTypes.d.ts deleted file mode 100644 index 61d6f99..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ConfigTypes.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - LOCALE = "aki-locale", - LOCATION = "aki-location", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ContainerTypes.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ContainerTypes.d.ts deleted file mode 100644 index e6b330a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ContainerTypes.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export declare enum CommonContainers { - AMMO_CASE = "5aafbde786f774389d0cbc0f", - DOCUMENTS_CASE = "590c60fc86f77412b13fddcf", - DOGTAG_CASE = "5c093e3486f77430cb02e593", - GRENADE_CASE = "5e2af55f86f7746d4159f07c", - INJECTOR_CASE = "619cbf7d23893217ec30b689", - ITEM_CASE = "59fb042886f7746c5005a7b2", - KEY_TOOL = "59fafd4b86f7745ca07e1232", - KEYCARD_HOLDER = "619cbf9e0a7c3a1a2731940a", - SCAV_JUNKBOX = "5b7c710788a4506dec015957", - MAGAZINE_CASE = "5c127c4486f7745625356c13", - MEDICINE_CASE = "5aafbcd986f7745e590fff23", - MONEY_CASE = "59fb016586f7746d0d4b423a", - HOLODILNICK_THERMAL_BAG = "5c093db286f7740a1b2617e3", - PISTOL_CASE = "567143bf4bdc2d1a0f8b4567", - SICC_ORGANIZATIONAL_POUCH = "5d235bb686f77443f4331278", - SIMPLE_WALLET = "5783c43d2459774bbe137486", - THICC_ITEM_CASE = "5c0a840b86f7742ffa4f2482", - THICC_WEAPON_CASE = "5b6d9ce188a4501afc1b2b25", - WEAPON_CASE = "59fb023c86f7746d0d4b423c", - WZ_WALLET = "60b0f6c058e0b0481a09ad11" -} -export declare enum SecuredContainers { - ALPHA = "544a11ac4bdc2d470e8b456a", - BETA = "5857a8b324597729ab0a0e7d", - EPSILON = "59db794186f77448bc595262", - GAMMA = "5857a8bc2459772bad15db29", - KAPPA = "5c093ca986f7740a1867ab12" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ELocationName.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ELocationName.d.ts deleted file mode 100644 index b56cc08..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/ELocationName.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum ELocationName { - FACTORY_DAY = "factory4_day", - BIGMAP = "bigmap", - WOODS = "Woods", - SHORELINE = "Shoreline", - INTERCHANGE = "Interchange", - LIGHTHOUSE = "Lighthouse", - LABORATORY = "laboratory", - RESERVE = "RezervBase", - ANY = "any" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/EquipmentSlots.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/EquipmentSlots.d.ts deleted file mode 100644 index 35c18ff..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/EquipmentSlots.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum EquipmentSlots { - HEADWEAR = "Headwear", - EARPIECE = "Earpiece", - FACE_COVER = "FaceCover", - ARMOR_VEST = "ArmorVest", - EYEWEAR = "Eyewear", - ARM_BAND = "ArmBand", - TACTICAL_VEST = "TacticalVest", - POCKETS = "Pockets", - BACKPACK = "Backpack", - SECURED_CONTAINER = "SecuredContainer", - FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon", - SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon", - HOLSTER = "Holster", - SCABBARD = "Scabbard" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/HideoutAreas.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/HideoutAreas.d.ts deleted file mode 100644 index b44a20a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/HideoutAreas.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreas { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/MemberCategory.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/MessageType.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/MessageType.d.ts deleted file mode 100644 index 1b0c649..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/MessageType.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum MessageType { - USER_MESSAGE = 1, - NPC_TRADER = 2, - AUCTION_MESSAGE = 3, - FLEAMARKET_MESSAGE = 4, - ADMIN_MESSAGE = 5, - GROUP_CHAT_MESSAGE = 6, - SYSTEM_MESSAGE = 7, - INSURANCE_RETURN = 8, - GLOBAL_CHAT = 9, - QUEST_START = 10, - QUEST_FAIL = 11, - QUEST_SUCCESS = 12, - MESSAGE_WITH_ITEMS = 13, - INITIAL_SUPPORT = 14 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/Money.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/Money.d.ts deleted file mode 100644 index 0d39613..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/Money.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Money { - ROUBLES = "5449016a4bdc2d6f028b456f", - EUROS = "569668774bdc2da2298b4568", - DOLLARS = "5696686a4bdc2da3298b456a" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/QuestRewardType.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/QuestRewardType.d.ts deleted file mode 100644 index 1d3db86..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/QuestRewardType.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum QuestRewardType { - Skill = "Skill", - Experience = "Experience", - TraderStanding = "TraderStanding", - TraderUnlock = "TraderUnlock", - Item = "Item", - AssortmentUnlock = "AssortmentUnlock" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/QuestStatus.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/QuestStatus.d.ts deleted file mode 100644 index ba65933..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/QuestStatus.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum QuestStatus { - Locked = 0, - AvailableForStart = 1, - Started = 2, - AvailableForFinish = 3, - Success = 4, - Fail = 5, - FailRestartable = 6, - MarkedAsFailed = 7, - Expired = 8 -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/RaidMode.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/RaidMode.d.ts deleted file mode 100644 index c5a8cff..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/RaidMode.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum RaidMode { - Online = "Online", - Local = "Local", - Coop = "Coop" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/SkillTypes.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/SkillTypes.d.ts deleted file mode 100644 index 4eb90af..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/SkillTypes.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -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/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/Traders.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/Traders.d.ts deleted file mode 100644 index 163cd71..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/WeaponSkillTypes.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/WeaponSkillTypes.d.ts deleted file mode 100644 index 1e20a2d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/enums/WeaponSkillTypes.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -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/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPostAkiLoadMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index f6950e8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPostDBLoadMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPostDBLoadMod.d.ts deleted file mode 100644 index ca7c682..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPostDBLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostDBLoadMod { - postDBLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPreAkiLoadMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index ae7579e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/mod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/tsyringe.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/tsyringe.d.ts deleted file mode 100644 index 56a7e58..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/external/tsyringe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export type { DependencyContainer }; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bindings/Route.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bindings/Route.d.ts deleted file mode 100644 index 1b29d7d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bindings/Route.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRoute { - aki: any; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bots/BotLootCache.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bots/BotLootCache.d.ts deleted file mode 100644 index e185315..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bots/BotLootCache.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class BotLootCache { - backpackLoot: ITemplateItem[]; - pocketLoot: ITemplateItem[]; - vestLoot: ITemplateItem[]; - combinedPoolLoot: ITemplateItem[]; - specialItems: ITemplateItem[]; - healingItems: ITemplateItem[]; - drugItems: ITemplateItem[]; - stimItems: ITemplateItem[]; - grenadeItems: ITemplateItem[]; -} -export declare enum LootCacheType { - Special = "Special", - Backpack = "Backpack", - Pocket = "Pocket", - Vest = "Vest", - Combined = "Combined", - HealingItems = "HealingItems", - DrugItems = "DrugItems", - StimItems = "StimItems", - GrenadeItems = "GrenadeItems" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bots/GenerateWeaponResult.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bots/GenerateWeaponResult.d.ts deleted file mode 100644 index f099752..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/bots/GenerateWeaponResult.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Mods } from "../../eft/common/tables/IBotType"; -import { Item } from "../../eft/common/tables/IItem"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class GenerateWeaponResult { - weapon: Item[]; - chosenAmmo: string; - weaponMods: Mods; - weaponTemplate: ITemplateItem; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IBotCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IBotCallbacks.d.ts deleted file mode 100644 index 2c42813..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IBotCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface IBotCallbacks { - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IBundleCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IBundleCallbacks.d.ts deleted file mode 100644 index 7e37c6e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IBundleCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IBundleCallbacks { - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts deleted file mode 100644 index d10027f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IBuyClothingRequestData } from "../../eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../../eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISuit } from "../../eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface ICustomizationCallbacks { - getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IDataCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IDataCallbacks.d.ts deleted file mode 100644 index a098560..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IDataCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGlobals } from "../../eft/common/IGlobals"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../server/ILocaleBase"; -import { ISettingsBase } from "../server/ISettingsBase"; -export interface IDataCallbacks { - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts deleted file mode 100644 index fe2115a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetMailDialogViewRequestData } from "../../eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogInfoRequestData } from "../../eft/dialog/IGetMailDialogInfoRequestData"; -import { IRemoveDialogRequestData } from "../../eft/dialog/IRemoveDialogRequestData"; -import { IGetMailDialogListRequestData } from "../../eft/dialog/IGetMailDialogListRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../../eft/dialog/IFriendRequestData"; -import { IPinDialogRequestData } from "../../eft/dialog/IPinDialogRequestData"; -import { ISetDialogReadRequestData } from "../../eft/dialog/ISetDialogReadRequestData"; -import { IGetAllAttachmentsRequestData } from "../../eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetChatServerListRequestData } from "../../eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../../eft/dialog/IGetFriendListDataResponse"; -import { ISendMessageRequest } from "../../eft/dialog/ISendMessageRequest"; -import { IGetMailDialogViewResponseData } from "../../eft/dialog/IGetMailDialogViewResponseData"; -import { IGetAllAttachmentsResponse } from "../../eft/dialog/IGetAllAttachmentsResponse"; -import { DialogueInfo } from "../../eft/profile/IAkiProfile"; -export interface IDialogueCallbacks { - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IGameCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IGameCallbacks.d.ts deleted file mode 100644 index 38ebc5f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IGameCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGameEmptyCrcRequestData } from "../../eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "../../eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGameConfigResponse } from "../../eft/game/IGameConfigResponse"; -export interface IGameCallbacks { - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts deleted file mode 100644 index 5857a3e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IHandbookCallbacks { - load(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHealthCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHealthCallbacks.d.ts deleted file mode 100644 index d238c7a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { ISyncHealthRequestData } from "../../eft/health/ISyncHealthRequestData"; -import { IOffraidEatRequestData } from "../../eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../../eft/health/IOffraidHealRequestData"; -import { IHealthTreatmentRequestData } from "../../eft/health/IHealthTreatmentRequestData"; -export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): any; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts deleted file mode 100644 index e9badb6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IHideoutUpgradeRequestData } from "../../eft/hideout/IHideoutUpgradeRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../../eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutScavCaseStartRequestData } from "../../eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutPutItemInRequestData } from "../../eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutTakeItemOutRequestData } from "../../eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutToggleAreaRequestData } from "../../eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../../eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../../eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../../eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IHideoutCallbacks { - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHttpCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHttpCallbacks.d.ts deleted file mode 100644 index 3ecd945..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IHttpCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHttpCallbacks { - load(): void; - sendImage(sessionID: string, req: any, resp: any, body: any): void; - getImage(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInraidCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInraidCallbacks.d.ts deleted file mode 100644 index e959b98..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IRegisterPlayerRequestData } from "../../eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../../eft/inRaid/ISaveProgressRequestData"; -export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts deleted file mode 100644 index 082112d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IGetInsuranceCostRequestData } from "../../eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "../../eft/insurance/IInsureRequestData"; -export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts deleted file mode 100644 index e53f7d0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IInventoryFoldRequestData } from "../../eft/inventory/IInventoryFoldRequestData"; -import { IInventorySplitRequestData } from "../../eft/inventory/IInventorySplitRequestData"; -import { IInventoryMoveRequestData } from "../../eft/inventory/IInventoryMoveRequestData"; -import { IInventoryMergeRequestData } from "../../eft/inventory/IInventoryMergeRequestData"; -import { IInventoryRemoveRequestData } from "../../eft/inventory/IInventoryRemoveRequestData"; -import { IInventoryTransferRequestData } from "../../eft/inventory/IInventoryTransferRequestData"; -import { IInventorySwapRequestData } from "../../eft/inventory/IInventorySwapRequestData"; -import { IInventoryToggleRequestData } from "../../eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTagRequestData } from "../../eft/inventory/IInventoryTagRequestData"; -import { IInventoryBindRequestData } from "../../eft/inventory/IInventoryBindRequestData"; -import { IInventoryExamineRequestData } from "../../eft/inventory/IInventoryExamineRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../../eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventorySortRequestData } from "../../eft/inventory/IInventorySortRequestData"; -import { IInventoryCreateMarkerRequestData } from "../../eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../../eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../../eft/inventory/IInventoryEditMarkerRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IInventoryCallbacks { - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts deleted file mode 100644 index 59db771..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IItemEventCallbacks { - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts deleted file mode 100644 index 52dfec6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IRegisterData } from "../../eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../../eft/launcher/IRemoveProfileData"; -import { ILoginRequestData } from "../../eft/launcher/ILoginRequestData"; -import { IChangeRequestData } from "../../eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "../../eft/launcher/IGetMiniProfileRequestData.js"; -export interface ILauncherCallbacks { - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; - getServerVersion(): string; - ping(url: string, info: any, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ILocationCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ILocationCallbacks.d.ts deleted file mode 100644 index 71656a4..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IGetLocationRequestData } from "../../eft/location/IGetLocationRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILocationsGenerateAllResponse } from "../../eft/common/ILocationsSourceDestinationBase"; -import { ILocationBase } from "../../eft/common/ILocationBase"; -export interface ILocationCallbacks { - getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IMatchCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IMatchCallbacks.d.ts deleted file mode 100644 index fcbf173..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IMatchCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { IStartOfflineRaidRequestData } from "../../eft/match/IStartOffineRaidRequestData"; -import { IEndOfflineRaidRequestData } from "../../eft/match/IEndOfflineRaidRequestData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IPmcData } from "../../eft/common/IPmcData"; -export interface IMatchCallbacks { - updatePing(url: string, info: any, sessionID: string): INullResponseData; - exitMatch(url: string, info: any, sessionID: string): INullResponseData; - exitToMenu(url: string, info: any, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: any, sessionID: string): INullResponseData; - getProfile(url: string, info: any, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: any, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: any, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: any, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: any, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IModCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IModCallbacks.d.ts deleted file mode 100644 index 1a4cd7b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IModCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IModCallbacks { - load(): void; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/INoteCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/INoteCallbacks.d.ts deleted file mode 100644 index 8453a4f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/INoteCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { INoteActionData } from "../../eft/notes/INoteActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface INoteCallbacks { - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/INotifierCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/INotifierCallbacks.d.ts deleted file mode 100644 index a211310..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../../eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../../eft/notifier/ISelectProfileRequestData"; -export interface INotifierCallbacks { - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts deleted file mode 100644 index 97c6487..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IPresetBuildActionRequestData } from "../../eft/presetBuild/IPresetBuildActionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { WeaponBuild } from "../../eft/profile/IAkiProfile"; -export interface IPresetBuildCallbacks { - getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IPresetCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IPresetCallbacks.d.ts deleted file mode 100644 index 4169857..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IPresetCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPresetCallbacks { - load(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IProfileCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IProfileCallbacks.d.ts deleted file mode 100644 index 9d4d2df..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "../../eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../../eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../../eft/profile/IProfileCreateRequestData"; -import { IValidateNicknameRequestData } from "../../eft/profile/IValidateNicknameRequestData"; -import { ISearchFriendRequestData } from "../../eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../../eft/profile/ISearchFriendResponse"; -export interface IProfileCallbacks { - onLoad(sessionID: string): any; - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IQuestCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IQuestCallbacks.d.ts deleted file mode 100644 index 1c4d0c3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAcceptQuestRequestData } from "../../eft/quests/IAcceptQuestRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IListQuestsRequestData } from "../../eft/quests/IListQuestsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { ICompleteQuestRequestData } from "../../eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../../eft/quests/IHandoverQuestRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../../eft/common/tables/IRepeatableQuests"; -import { IRepeatableQuestChangeRequest } from "../../eft/quests/IRepeatableQuestChangeRequest"; -export interface IQuestCallbacks { - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts deleted file mode 100644 index 9282bd4..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISearchRequestData } from "../../eft/ragfair/ISearchRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetMarketPriceRequestData } from "../../eft/ragfair/IGetMarketPriceRequestData"; -import { IAddOfferRequestData } from "../../eft/ragfair/IAddOfferRequestData"; -import { IRemoveOfferRequestData } from "../../eft/ragfair/IRemoveOfferRequestData"; -import { IExtendOfferRequestData } from "../../eft/ragfair/IExtendOfferRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetItemPriceResult } from "../../eft/ragfair/IGetItemPriceResult"; -export interface IRagfairCallbacks { - load(): void; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; - updatePlayer(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IRepairCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IRepairCallbacks.d.ts deleted file mode 100644 index e8183c9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../../eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../../eft/repair/ITraderRepairActionDataRequest"; -export interface IRepairCallbacks { - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ISaveCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ISaveCallbacks.d.ts deleted file mode 100644 index 1ad3b82..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ISaveCallbacks.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ISaveCallbacks { - load(): void; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ITradeCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ITradeCallbacks.d.ts deleted file mode 100644 index 2f41d54..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../../eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../../eft/trade/IProcessBaseTradeRequestData"; -export interface ITradeCallbacks { - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ITraderCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ITraderCallbacks.d.ts deleted file mode 100644 index e0d7d06..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../../eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface ITraderCallbacks { - load(): void; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts deleted file mode 100644 index 9ac72ae..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -export interface IWeatherCallbacks { - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts deleted file mode 100644 index e5d519c..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IWishlistActionData } from "../../eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IWishlistCallbacks { - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IAirdropConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IAirdropConfig.d.ts deleted file mode 100644 index f4aee89..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IAirdropConfig.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; - airdropChancePercent: AirdropChancePercent; - airdropMinOpenHeight: number; - airdropMaxOpenHeight: number; - planeMinFlyHeight: number; - planeMaxFlyHeight: number; - planeVolume: number; - airdropMinStartTimeSeconds: number; - airdropMaxStartTimeSeconds: number; -} -export interface AirdropChancePercent { - bigmap: number; - woods: number; - lighthouse: number; - shoreline: number; - interchange: number; - reserve: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IBaseConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IBaseConfig.d.ts deleted file mode 100644 index 8b6ba88..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IBaseConfig.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseConfig { - kind: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IBotConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IBotConfig.d.ts deleted file mode 100644 index e171087..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IBotConfig.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; - presetBatch: PresetBatch; - bosses: string[]; - durability: Durability; - lootNValue: LootNvalue; - revenge: Record; - pmc: PmcConfig; - itemSpawnLimits: Record>; - equipment: Record; - showTypeInNickname: boolean; - maxBotCap: number; - secureContainerAmmoStackCount: number; -} -export interface PresetBatch { - assault: number; - bossBully: number; - bossGluhar: number; - bossKilla: number; - bossKojaniy: number; - bossSanitar: number; - bossTagilla: number; - bossKnight: number; - bossTest: number; - cursedAssault: number; - followerBully: number; - followerGluharAssault: number; - followerGluharScout: number; - followerGluharSecurity: number; - followerGluharSnipe: number; - followerKojaniy: number; - followerSanitar: number; - followerTagilla: number; - followerBirdEye: number; - followerBigPipe: number; - followerTest: number; - marksman: number; - pmcBot: number; - sectantPriest: number; - sectantWarrior: number; - gifter: number; - test: number; - exUsec: number; -} -export interface Durability { - default: DefaultDurability; - pmc: PmcDurability; - boss: BotDurability; - follower: BotDurability; - assault: BotDurability; - cursedassault: BotDurability; - marksman: BotDurability; - pmcbot: BotDurability; - exusec: BotDurability; - sectantpriest: BotDurability; - sectantwarrior: BotDurability; -} -export interface DefaultDurability { - armor: DefaultArmor; - weapon: WeaponDurability; -} -export interface DefaultArmor { - maxDelta: number; - minDelta: number; -} -export interface WeaponDurability { - lowestMax: number; - highestMax: number; - maxDelta: number; - minDelta: number; -} -export interface PmcDurability { - armor: PmcDurabilityArmor; - weapon: WeaponDurability; -} -export interface PmcDurabilityArmor { - lowestMaxPercent: number; - highestMaxPercent: number; - maxDelta: number; - minDelta: number; -} -export interface BotDurability { - armor: ArmorDurability; - weapon: WeaponDurability; -} -export interface ArmorDurability { - maxDelta: number; - minDelta: number; -} -export interface LootNvalue { - scav: number; - pmc: number; -} -export interface PmcConfig { - dynamicLoot: PmcDynamicLoot; - difficulty: string; - looseWeaponInBackpackChancePercent: number; - looseWeaponInBackpackLootMinMax: MinMax; - isUsec: number; - chanceSameSideIsHostilePercent: number; - usecType: string; - bearType: string; - maxBackpackLootTotalRub: number; - maxPocketLootTotalRub: number; - maxVestLootTotalRub: number; - convertIntoPmcChance: Record; - enemyTypes: string[]; -} -export interface PmcDynamicLoot { - whitelist: string[]; - blacklist: string[]; - moneyStackLimits: Record; -} -export interface Equipment { - blacklist: EquipmentFilterDetails[]; - whitelist: EquipmentFilterDetails[]; -} -export interface EquipmentFilterDetails { - levelRange: MinMax; - equipment: Record; - cartridge: Record; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ICoreConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ICoreConfig.d.ts deleted file mode 100644 index cfcaf61..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ICoreConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; - projectName: string; - compatibleTarkovVersion: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHealthConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHealthConfig.d.ts deleted file mode 100644 index fdbf656..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHealthConfig.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; - healthMultipliers: HealthMultipliers; - save: Save; -} -export interface HealthMultipliers { - death: number; - blacked: number; -} -export interface Save { - health: boolean; - effects: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHideoutConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHideoutConfig.d.ts deleted file mode 100644 index 36d6246..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHideoutConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; - runIntervalSeconds: number; - fuelDrainRateMultipler: number; - hoursForSkillCrafting: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHttpConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHttpConfig.d.ts deleted file mode 100644 index c41d035..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IHttpConfig.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; - ip: string; - port: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInRaidConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInRaidConfig.d.ts deleted file mode 100644 index 3ae2972..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInRaidConfig.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; - MIAOnRaidEnd: boolean; - raidMenuSettings: RaidMenuSettings; - save: Save; - carExtracts: string[]; - carExtractBaseStandingGain: number; - scavExtractGain: number; -} -export interface RaidMenuSettings { - aiAmount: string; - aiDifficulty: string; - bossEnabled: boolean; - scavWars: boolean; - taggedAndCursed: boolean; - enablePve: boolean; -} -export interface Save { - loot: boolean; - durability: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInsuranceConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInsuranceConfig.d.ts deleted file mode 100644 index b27e753..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInsuranceConfig.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; - insuranceMultiplier: Record; - returnChancePercent: Record; - blacklistedEquipment: string[]; - slotIdsWithChanceOfNotReturning: string[]; - runIntervalSeconds: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInventoryConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInventoryConfig.d.ts deleted file mode 100644 index ffffa41..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IInventoryConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; - newItemsMarkedFound: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ILocaleConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ILocaleConfig.d.ts deleted file mode 100644 index fe9abf7..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ILocaleConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; - desiredLocale: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ILocationConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ILocationConfig.d.ts deleted file mode 100644 index 0551d57..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ILocationConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; - looseLootMultiplier: LootMultiplier; - staticLootMultiplier: LootMultiplier; -} -export interface LootMultiplier { - bigmap: number; - develop: number; - factory4_day: number; - factory4_night: number; - interchange: number; - laboratory: number; - rezervbase: number; - shoreline: number; - woods: number; - hideout: number; - lighthouse: number; - privatearea: number; - suburbs: number; - tarkovstreets: number; - terminal: number; - town: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IMatchConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IMatchConfig.d.ts deleted file mode 100644 index 92c4d77..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IMatchConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; - enabled: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IPlayerScavConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IPlayerScavConfig.d.ts deleted file mode 100644 index 5ac3966..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IPlayerScavConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; - karmaLevel: Record; -} -export interface KarmaLevel { - botTypeForLoot: string; - modifiers: Modifiers; - itemLimits: ItemLimits; - equipmentBlacklist: Record; -} -export interface Modifiers { - equipment: Record; - mod: Record; -} -export interface ItemLimits { - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - grenades: MinMax; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IQuestConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IQuestConfig.d.ts deleted file mode 100644 index be4a97b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IQuestConfig.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { ELocationName } from "../../enums/ELocationName"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; - repeatableQuests: IRepeatableQuestConfig[]; -} -export interface IRepeatableQuestConfig { - name: string; - types: string[]; - resetTime: number; - numQuests: number; - minPlayerLevel: number; - rewardScaling: IRewardScaling; - locations: Record; - traderWhitelist: ITraderWhitelist[]; - questConfig: IQuestConfig; -} -export interface IRewardScaling { - levels: number[]; - experience: number[]; - roubles: number[]; - items: number[]; - reputation: number[]; - rewardSpread: number; -} -export interface ITraderWhitelist { - traderId: string; - questTypes: string[]; -} -export interface IQuestConfig { - Exploration: IExploration; - Completion: ICompletion; - Elimination: IElimination; -} -export interface IExploration { - maxExtracts: number; - specificExits: ISpecificExits; -} -export interface ISpecificExits { - probability: number; - passageRequirementWhitelist: string[]; -} -export interface ICompletion { - minRequestedAmount: number; - maxRequestedAmount: number; - minRequestedBulletAmount: number; - maxRequestedBulletAmount: number; - useWhitelist: boolean; - useBlacklist: boolean; -} -export interface IElimination { - targets: ITarget[]; - bodyPartProb: number; - bodyParts: IBodyPart[]; - specificLocationProb: number; - distLocationBlacklist: string[]; - distProb: number; - maxDist: number; - minDist: number; - maxKills: number; - minKills: number; -} -export interface IProbabilityObject { - key: string; - relativeProbability: number; - data?: any; -} -export interface ITarget extends IProbabilityObject { - data: IBossInfo; -} -export interface IBossInfo { - isBoss: boolean; -} -export interface IBodyPart extends IProbabilityObject { - data: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IRagfairConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IRagfairConfig.d.ts deleted file mode 100644 index c24e617..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IRagfairConfig.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; - runIntervalSeconds: number; - sell: Sell; - traders: Record; - dynamic: Dynamic; -} -export interface Sell { - fees: boolean; - chance: Chance; - time: Time; - reputation: Reputation; -} -export interface Chance { - base: number; - overprices: number; - underpriced: number; -} -export interface Time { - base: number; - min: number; - max: number; -} -export interface Reputation { - gain: number; - loss: number; -} -export interface Dynamic { - expiredOfferThreshold: number; - offerItemCount: MinMax; - price: MinMax; - presetPrice: MinMax; - endTimeSeconds: MinMax; - condition: Condition; - stackablePercent: MinMax; - nonStackableCount: MinMax; - rating: MinMax; - currencies: Record; - showAsSingleStack: string[]; - blacklist: Blacklist; -} -export interface Condition { - conditionChance: number; - min: number; - max: number; -} -export interface Blacklist { - /** - * show/hide trader items that are blacklisted by bsg - */ - traderItems: boolean; - custom: string[]; - enableBsgList: boolean; - enableQuestList: boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IRepairConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IRepairConfig.d.ts deleted file mode 100644 index 23e6838..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IRepairConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; - priceMultiplier: number; - applyRandomizeDurabilityLoss: boolean; - weaponSkillRepairGain: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IScavCaseConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IScavCaseConfig.d.ts deleted file mode 100644 index df5dae0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IScavCaseConfig.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; - rewardItemValueRangeRub: Record; - moneyRewards: MoneyRewards; - ammoRewards: AmmoRewards; - rewardItemParentBlacklist: string[]; - rewardItemBlacklist: string[]; -} -export interface MoneyRewards { - moneyRewardChancePercent: number; - rubCount: MoneyLevels; - usdCount: MoneyLevels; - eurCount: MoneyLevels; -} -export interface MoneyLevels { - common: MinMax; - rare: MinMax; - superrare: MinMax; -} -export interface AmmoRewards { - ammoRewardChancePercent: number; - ammoRewardBlacklist: Record; - ammoRewardValueRangeRub: Record; - minStackSize: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ITraderConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ITraderConfig.d.ts deleted file mode 100644 index c8e8044..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/ITraderConfig.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; - updateTime: UpdateTime[]; - updateTimeDefault: number; - traderPriceMultipler: number; - minDurabilityForSale: number; - fence: FenceConfig; -} -export interface UpdateTime { - traderId: string; - seconds: number; -} -export interface FenceConfig { - assortSize: number; - maxPresetsCount: number; - presetPriceMult: number; - blacklist: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IWeatherConfig.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IWeatherConfig.d.ts deleted file mode 100644 index bbdc43e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/config/IWeatherConfig.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; - acceleration: number; - weather: Weather; -} -export interface Weather { - clouds: MinMax; - windSpeed: MinMax; - windDirection: MinMax; - windGustiness: MinMax; - rain: MinMax; - rainIntensity: MinMax; - fog: MinMax; - temp: MinMax; - pressure: MinMax; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/controllers/IBotController.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/controllers/IBotController.d.ts deleted file mode 100644 index 010e208..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/controllers/IBotController.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { Difficulty } from "../../eft/common/tables/IBotType"; -export interface IBotController { - getBotLimit(type: string): number; - getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - generate(info: IGenerateBotsRequestData, playerScav: boolean): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IBotGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IBotGenerator.d.ts deleted file mode 100644 index 9043945..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IBotGenerator.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Inventory as PmcInventory } from "../../eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation } from "../../eft/common/tables/IBotType"; -export interface IBotGenerator { - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; -} -export interface IExhaustableArray { - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/ILocationGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/ILocationGenerator.d.ts deleted file mode 100644 index 530ceca..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/ILocationGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../../eft/common/tables/ILootBase"; -import { ILooseLoot, SpawnpointTemplate } from "../../eft/common/ILooseLoot"; -export interface ILocationGenerator { - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IPMCLootGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IPMCLootGenerator.d.ts deleted file mode 100644 index a9db89b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IPMCLootGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IPMCLootGenerator { - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts deleted file mode 100644 index 6670540..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairAssortGenerator { - getAssortItems(): Item[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts deleted file mode 100644 index 30b4be5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBarterScheme } from "../../eft/common/tables/ITrader"; -import { IRagfairOffer } from "../../eft/ragfair/IRagfairOffer"; -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairOfferGenerator { - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/helpers/Traders.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts deleted file mode 100644 index 1b5af39..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface ScavCaseRewardCountsAndPrices { - common: RewardCountAndPriceDetails; - rare: RewardCountAndPriceDetails; - superrare: RewardCountAndPriceDetails; -} -export interface RewardCountAndPriceDetails { - minCount: number; - maxCount: number; - minPriceRub: number; - maxPriceRub: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/LogBackgroundColor.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/LogBackgroundColor.d.ts deleted file mode 100644 index 87e08a9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/LogBackgroundColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogBackgroundColor { - default = "", - black = "blackBG", - red = "redBG", - green = "greenBG", - yellow = "yellowBG", - blue = "blueBG", - magenta = "magentaBG", - cyan = "cyanBG", - white = "whiteBG" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/LogTextColor.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/LogTextColor.d.ts deleted file mode 100644 index 7147ae3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/LogTextColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogTextColor { - black = "black", - red = "red", - green = "green", - yellow = "yellow", - blue = "blue", - magenta = "magenta", - cyan = "cyan", - white = "white", - gray = "" -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/SptLogger.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/SptLogger.d.ts deleted file mode 100644 index ea1b3d8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/logging/SptLogger.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface SptLogger { - error: (msg: string | Record) => void; - warn: (msg: string | Record) => void; - succ?: (msg: string | Record) => void; - info: (msg: string | Record) => void; - debug: (msg: string | Record) => void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IMod.d.ts deleted file mode 100644 index e6eec79..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IMod.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare namespace ModLoader { - interface IMod { - name: string; - version: string; - main?: string; - author?: string; - license: string; - dependencies?: Record; - } -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IModLoader.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IModLoader.d.ts deleted file mode 100644 index 40a5e19..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IModLoader.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export interface IModLoader { - load(container: DependencyContainer): void; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IPackageJsonData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IPackageJsonData.d.ts deleted file mode 100644 index 99e4ef9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/IPackageJsonData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IPackageJsonData { - incompatibilities?: string[]; - dependencies?: string[]; - modDependencies?: Record; - name: string; - author: string; - version: string; - akiVersion: string; - licence: string; - main: string; - contributors: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/NewItemDetails.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/NewItemDetails.d.ts deleted file mode 100644 index fc69a06..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/mod/NewItemDetails.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { ITemplateItem, Props } from "../../eft/common/tables/ITemplateItem"; -export declare abstract class NewItemDetailsBase { - /** Price of the item on flea market */ - fleaPriceRoubles: number; - /** Price of the item in the handbook */ - handbookPriceRoubles: number; - /** - * A dictionary for locale settings, key = langauge (e.g. en,cn,es-mx,jp,fr) - * If a language is not included, the first item in the array will be used in its place - */ - locales: Record; -} -export declare class NewItemFromCloneDetails extends NewItemDetailsBase { - /** Id of the item to copy and use as a base */ - itemTplToClone: string; - /** Item properties that should be applied over the top of the cloned base */ - overrideProperties: Props; - /** ParentId for the new item (item type) */ - parentId: string; - /** - * the id the new item should have, leave blank to have one generated for you - * This is often known as the TplId, or TemplateId - */ - newId: string; -} -export declare class NewItemDetails extends NewItemDetailsBase { - newItem: ITemplateItem; -} -export declare class LocaleDetails { - name: string; - shortName: string; - description: string; -} -export declare class CreateItemResult { - constructor(); - success: boolean; - itemId: string; - errors: string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts deleted file mode 100644 index c7d246a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRagfairServerPrices { - static: Record; - dynamic: Record; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IDatabaseTables.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IDatabaseTables.d.ts deleted file mode 100644 index 9978459..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IDatabaseTables.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { IGlobals } from "../../eft/common/IGlobals"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { IBotType } from "../../eft/common/tables/IBotType"; -import { ICustomizationItem } from "../../eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "../../eft/common/tables/IHandbookBase"; -import { ILootBase } from "../../eft/common/tables/ILootBase"; -import { IMatch } from "../../eft/common/tables/IMatch"; -import { IProfileTemplates } from "../../eft/common/tables/IProfileTemplate"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "../../eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -import { ITrader } from "../../eft/common/tables/ITrader"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { ILocaleBase } from "./ILocaleBase"; -import { ILocations } from "./ILocations"; -import { IServerBase } from "./IServerBase"; -import { ISettingsBase } from "./ISettingsBase"; -export interface IDatabaseTables { - bots?: { - types: Record; - base: IBotBase; - core: IBotCore; - }; - hideout?: { - areas: IHideoutArea[]; - production: IHideoutProduction[]; - scavcase: IHideoutScavCase[]; - settings: IHideoutSettingsBase; - }; - locales?: ILocaleBase; - locations?: ILocations; - loot?: ILootBase; - match?: IMatch; - templates?: { - character: string[]; - items: Record; - quests: IQuest[]; - repeatableQuests: IRepeatableQuestDatabase; - /** DEPRECATED - Items file found in the client, massivly out of date compared to templates.items, try not to use this, remove ASAP*/ - clientItems: Record; - handbook: IHandbookBase; - customization: Record; - /** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */ - profiles: IProfileTemplates; - /** Flea prices of items - gathered from online flea market dump */ - prices: Record; - }; - traders?: Record; - globals?: IGlobals; - server?: IServerBase; - settings?: ISettingsBase; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IHttpServer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IHttpServer.d.ts deleted file mode 100644 index c828399..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IHttpServer.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { INotification } from "../../eft/notifier/INotifier"; -export interface IHttpServer { - load(): void; - getCookies(req: http.IncomingMessage): any; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - sendMessage(sessionID: string, output: INotification): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ILocaleBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ILocaleBase.d.ts deleted file mode 100644 index 8887c06..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ILocaleBase.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -export interface ILocaleBase { - global: Record; - menu: Record; - languages: ILanguageBase[]; -} -export interface ILocaleGlobalBase { - interface: Record; - enum: any[]; - mail: Record; - quest: Record; - preset: Record; - handbook: Record; - season: Record; - customization: Record; - repeatableQuest: Record; - templates: ILocaleTemplateBase; - locations: ILocaleLocationsBase; - banners: ILocaleBannersBase; - trading: ILocaleTradingBase; -} -export interface ILocaleQuest { - name: string; - description: string; - note: string; - failMessageText: string; - startedMessageText: string; - successMessageText: string; - conditions: Record; - location: string; -} -export interface ILocalePreset { - Name: string; -} -export interface ILocaleTemplateBase { - templates: Record; -} -export interface ILocaleLocationsBase { - locations: Record; -} -export interface ILocaleBannersBase { - locations: Record; -} -export interface ILocaleProps { - Name: string; - ShortName: string; - Description: string; -} -export interface ILocaleTradingBase { - locations: Record; -} -export interface ILocaleTradingProps { - FullName: string; - FirstName: string; - Nickname: string; - Location: string; - Description: string; -} -export interface ILanguageBase { - ShortName: string; - Name: string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ILocations.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ILocations.d.ts deleted file mode 100644 index 18f0262..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ILocations.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ILocationBase } from "../../eft/common/ILocationBase"; -import { ILooseLoot } from "../../eft/common/ILooseLoot"; -import { ILocationsBase } from "../../eft/common/tables/ILocationsBase"; -export interface ILocations { - bigmap?: ILocationData; - develop?: ILocationData; - factory4_day?: ILocationData; - factory4_night?: ILocationData; - hideout?: ILocationData; - interchange?: ILocationData; - laboratory?: ILocationData; - lighthouse?: ILocationData; - privatearea?: ILocationData; - rezervbase?: ILocationData; - shoreline?: ILocationData; - suburbs?: ILocationData; - tarkovstreets?: ILocationData; - terminal?: ILocationData; - town?: ILocationData; - woods?: ILocationData; - base?: ILocationsBase; -} -export interface ILocationData { - base: ILocationBase; - looseLoot?: ILooseLoot; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IServerBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IServerBase.d.ts deleted file mode 100644 index d033db3..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/IServerBase.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IServerBase { - ip: string; - port: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ISettingsBase.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ISettingsBase.d.ts deleted file mode 100644 index c067cda..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/server/ISettingsBase.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -export interface ISettingsBase { - config: Config; -} -export interface Config { - AFKTimeoutSeconds: number; - AdditionalRandomDelaySeconds: number; - ClientSendRateLimit: number; - CriticalRetriesCount: number; - DefaultRetriesCount: number; - FirstCycleDelaySeconds: number; - FramerateLimit: FramerateLimit; - GroupStatusInterval: number; - KeepAliveInterval: number; - Mark502and504AsNonImportant: boolean; - MemoryManagementSettings: MemoryManagementSettings; - NVidiaHighlights: boolean; - NextCycleDelaySeconds: number; - PingServerResultSendInterval: number; - PingServersInterval: number; - ReleaseProfiler: ReleaseProfiler; - SecondCycleDelaySeconds: number; - TurnOffLogging: boolean; - WeaponOverlapDistanceCulling: number; - WebDiagnosticsEnabled: boolean; -} -export interface FramerateLimit { - MaxFramerateGameLimit: number; - MaxFramerateLobbyLimit: number; - MinFramerateLimit: number; -} -export interface MemoryManagementSettings { - AggressiveGC: boolean; - GigabytesRequiredToDisableGCDuringRaid: number; - HeapPreAllocationEnabled: boolean; - HeapPreAllocationMB: number; - OverrideRamCleanerSettings: boolean; - RamCleanerEnabled: boolean; -} -export interface ReleaseProfiler { - Enabled: boolean; - MaxRecords: number; - RecordTriggerValue: number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/services/CustomPreset.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/services/CustomPreset.d.ts deleted file mode 100644 index f07382e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/services/CustomPreset.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Preset } from "../../eft/common/IGlobals"; -export interface CustomPreset { - key: string; - preset: Preset; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/services/CustomTraderAssortData.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/services/CustomTraderAssortData.d.ts deleted file mode 100644 index 265a26a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/services/CustomTraderAssortData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../../eft/common/tables/ITrader"; -import { Traders } from "../../enums/Traders"; -export interface CustomTraderAssortData { - traderId: Traders; - assorts: ITraderAssort; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/IAsyncQueue.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/IAsyncQueue.d.ts deleted file mode 100644 index 2be801a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/IAsyncQueue.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ICommand } from "./ICommand"; -export interface IAsyncQueue { - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/ICommand.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/ICommand.d.ts deleted file mode 100644 index 696bb83..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/ICommand.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ICommand { - uuid: string; - cmd: () => Promise; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/ILogger.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/ILogger.d.ts deleted file mode 100644 index 2af3fac..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/ILogger.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Daum } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../logging/LogBackgroundColor"; -import { LogTextColor } from "../logging/LogTextColor"; -export interface ILogger { - writeToLogFile(data: string | Daum): void; - log(data: string | Record | Error, color: string, backgroundColor?: string): void; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): void; - error(data: string): void; - warning(data: string): void; - success(data: string): void; - info(data: string): void; - debug(data: string | Record, onlyShowInConsole?: boolean): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/IUuidGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/IUuidGenerator.d.ts deleted file mode 100644 index 3870469..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/models/spt/utils/IUuidGenerator.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUUidGenerator { - generate(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/HttpRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/HttpRouter.d.ts deleted file mode 100644 index f75a47d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/HttpRouter.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { DynamicRouter, Router, StaticRouter } from "../di/Router"; -export declare class HttpRouter { - protected staticRouters: StaticRouter[]; - protected dynamicRoutes: DynamicRouter[]; - constructor(staticRouters: StaticRouter[], dynamicRoutes: DynamicRouter[]); - protected groupBy(list: T[], keyGetter: (t: T) => string): Map; - getResponse(req: IncomingMessage, info: any, sessionID: string): string; - protected handleRoute(url: string, info: any, sessionID: string, wrapper: ResponseWrapper, routers: Router[], dynamic: boolean): boolean; -} -declare class ResponseWrapper { - output: string; - constructor(output: string); -} -export {}; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/ImageRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/ImageRouter.d.ts deleted file mode 100644 index ab03977..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/ImageRouter.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// -import { IncomingMessage, ServerResponse } from "http"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ImageRouteService } from "../services/mod/image/ImageRouteService"; -import { VFS } from "../utils/VFS"; -export declare class ImageRouter { - protected vfs: VFS; - protected imageRouteService: ImageRouteService; - constructor(vfs: VFS, imageRouteService: ImageRouteService); - addRoute(key: string, valueToAdd: string): void; - sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void; - getImage(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/ItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/ItemEventRouter.d.ts deleted file mode 100644 index b1ac5d9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/ItemEventRouter.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { ItemEventRouterDefinition } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class ItemEventRouter { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected itemEventRouters: ItemEventRouterDefinition[]; - constructor(logger: ILogger, jsonUtil: JsonUtil, profileHelper: ProfileHelper, itemEventRouters: ItemEventRouterDefinition[]); - protected output: IItemEventRouterResponse; - handleEvents(info: IItemEventRouterRequest, sessionID: string): IItemEventRouterResponse; - getOutput(sessionID: string): IItemEventRouterResponse; - protected resetOutput(sessionID: string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/BotDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/BotDynamicRouter.d.ts deleted file mode 100644 index 6d0ab4b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/BotDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BotDynamicRouter extends DynamicRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/BundleDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/BundleDynamicRouter.d.ts deleted file mode 100644 index a765410..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/BundleDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BundleDynamicRouter extends DynamicRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts deleted file mode 100644 index 2db7cc5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class CustomizationDynamicRouter extends DynamicRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/DataDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/DataDynamicRouter.d.ts deleted file mode 100644 index 836ed8d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/DataDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class DataDynamicRouter extends DynamicRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/HttpDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/HttpDynamicRouter.d.ts deleted file mode 100644 index a152b4d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/HttpDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter } from "../../di/Router"; -import { ImageRouter } from "../ImageRouter"; -export declare class HttpDynamicRouter extends DynamicRouter { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/InraidDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/InraidDynamicRouter.d.ts deleted file mode 100644 index 7c0561f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/InraidDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class InraidDynamicRouter extends DynamicRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/LocationDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/LocationDynamicRouter.d.ts deleted file mode 100644 index b8e5cdf..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/LocationDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class LocationDynamicRouter extends DynamicRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/NotifierDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/NotifierDynamicRouter.d.ts deleted file mode 100644 index 83c60c5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class NotifierDynamicRouter extends DynamicRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/TraderDynamicRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/TraderDynamicRouter.d.ts deleted file mode 100644 index 5b7cc1b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/dynamic/TraderDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class TraderDynamicRouter extends DynamicRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/CustomizationItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/CustomizationItemEventRouter.d.ts deleted file mode 100644 index e78445e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/HealthItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/HealthItemEventRouter.d.ts deleted file mode 100644 index 99847c6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/HealthItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HealthItemEventRouter extends ItemEventRouterDefinition { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/HideoutItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/HideoutItemEventRouter.d.ts deleted file mode 100644 index e1e98af..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/HideoutItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutCallbacks } from "../../callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { - protected hideoutCallbacks: HideoutCallbacks; - constructor(hideoutCallbacks: HideoutCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/InsuranceItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/InsuranceItemEventRouter.d.ts deleted file mode 100644 index a922cc0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/InventoryItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/InventoryItemEventRouter.d.ts deleted file mode 100644 index 2619bb9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/InventoryItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InventoryCallbacks } from "../../callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { - protected inventoryCallbacks: InventoryCallbacks; - constructor(inventoryCallbacks: InventoryCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/NoteItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/NoteItemEventRouter.d.ts deleted file mode 100644 index 59bf598..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/NoteItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { NoteCallbacks } from "../../callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class NoteItemEventRouter extends ItemEventRouterDefinition { - protected noteCallbacks: NoteCallbacks; - constructor(noteCallbacks: NoteCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts deleted file mode 100644 index 277db44..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class PresetBuildItemEventRouter extends ItemEventRouterDefinition { - protected presetBuildCallbacks: PresetBuildCallbacks; - constructor(presetBuildCallbacks: PresetBuildCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/QuestItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/QuestItemEventRouter.d.ts deleted file mode 100644 index a092aa6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/QuestItemEventRouter.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class QuestItemEventRouter extends ItemEventRouterDefinition { - protected logger: ILogger; - protected questCallbacks: QuestCallbacks; - constructor(logger: ILogger, questCallbacks: QuestCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(eventAction: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/RagfairItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/RagfairItemEventRouter.d.ts deleted file mode 100644 index 9216cc5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/RagfairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/RepairItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/RepairItemEventRouter.d.ts deleted file mode 100644 index 5196ba9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/RepairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairCallbacks } from "../../callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RepairItemEventRouter extends ItemEventRouterDefinition { - protected repairCallbacks: RepairCallbacks; - constructor(repairCallbacks: RepairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/TradeItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/TradeItemEventRouter.d.ts deleted file mode 100644 index a43bb0a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/TradeItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { TradeCallbacks } from "../../callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class TradeItemEventRouter extends ItemEventRouterDefinition { - protected tradeCallbacks: TradeCallbacks; - constructor(tradeCallbacks: TradeCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/WishlistItemEventRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/WishlistItemEventRouter.d.ts deleted file mode 100644 index 38497fb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/item_events/WishlistItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { WishlistCallbacks } from "../../callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { - protected wishlistCallbacks: WishlistCallbacks; - constructor(wishlistCallbacks: WishlistCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/HealthSaveLoadRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/HealthSaveLoadRouter.d.ts deleted file mode 100644 index 114f5b2..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class HealthSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/InraidSaveLoadRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/InraidSaveLoadRouter.d.ts deleted file mode 100644 index 4c00b40..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InraidSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts deleted file mode 100644 index 30ce98e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts deleted file mode 100644 index 16c7619..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class ProfileSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/BundleSerializer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/BundleSerializer.d.ts deleted file mode 100644 index 912db83..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/BundleSerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Serializer } from "../../di/Serializer"; -import { BundleLoader } from "../../loaders/BundleLoader"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class BundleSerializer extends Serializer { - protected logger: ILogger; - protected bundleLoader: BundleLoader; - constructor(logger: ILogger, bundleLoader: BundleLoader); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/ImageSerializer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/ImageSerializer.d.ts deleted file mode 100644 index 0e040d4..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/ImageSerializer.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { Serializer } from "../../di/Serializer"; -import { ImageRouter } from "../ImageRouter"; -export declare class ImageSerializer extends Serializer { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/NotifySerializer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/NotifySerializer.d.ts deleted file mode 100644 index 1779ac9..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/serializers/NotifySerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NotifierController } from "../../controllers/NotifierController"; -import { Serializer } from "../../di/Serializer"; -import { HttpServerHelper } from "../../helpers/HttpServerHelper"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -export declare class NotifySerializer extends Serializer { - protected notifierController: NotifierController; - protected httpServerHelper: HttpServerHelper; - constructor(notifierController: NotifierController, httpServerHelper: HttpServerHelper); - serialize(_sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/BotStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/BotStaticRouter.d.ts deleted file mode 100644 index aeea220..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/BotStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BotStaticRouter extends StaticRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/BundleStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/BundleStaticRouter.d.ts deleted file mode 100644 index fb682fc..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/BundleStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BundleStaticRouter extends StaticRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/CustomizationStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/CustomizationStaticRouter.d.ts deleted file mode 100644 index 21bc4bb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/CustomizationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class CustomizationStaticRouter extends StaticRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/DataStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/DataStaticRouter.d.ts deleted file mode 100644 index 84ba7fd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/DataStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DataStaticRouter extends StaticRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/DialogStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/DialogStaticRouter.d.ts deleted file mode 100644 index 546cdf1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/DialogStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DialogueCallbacks } from "../../callbacks/DialogueCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DialogStaticRouter extends StaticRouter { - protected dialogueCallbacks: DialogueCallbacks; - constructor(dialogueCallbacks: DialogueCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/GameStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/GameStaticRouter.d.ts deleted file mode 100644 index a9a7496..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/GameStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { GameCallbacks } from "../../callbacks/GameCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class GameStaticRouter extends StaticRouter { - protected gameCallbacks: GameCallbacks; - constructor(gameCallbacks: GameCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/HealthStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/HealthStaticRouter.d.ts deleted file mode 100644 index 863fd5e..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/HealthStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class HealthStaticRouter extends StaticRouter { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/InraidStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/InraidStaticRouter.d.ts deleted file mode 100644 index b29ad23..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/InraidStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InraidStaticRouter extends StaticRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/InsuranceStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/InsuranceStaticRouter.d.ts deleted file mode 100644 index 5676499..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/InsuranceStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InsuranceStaticRouter extends StaticRouter { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/ItemEventStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/ItemEventStaticRouter.d.ts deleted file mode 100644 index c30a7fc..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/ItemEventStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ItemEventCallbacks } from "../../callbacks/ItemEventCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ItemEventStaticRouter extends StaticRouter { - protected itemEventCallbacks: ItemEventCallbacks; - constructor(itemEventCallbacks: ItemEventCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/LauncherStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/LauncherStaticRouter.d.ts deleted file mode 100644 index 0040cbd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/LauncherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LauncherCallbacks } from "../../callbacks/LauncherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LauncherStaticRouter extends StaticRouter { - protected launcherCallbacks: LauncherCallbacks; - constructor(launcherCallbacks: LauncherCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/LocationStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/LocationStaticRouter.d.ts deleted file mode 100644 index b6de956..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/LocationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LocationStaticRouter extends StaticRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/MatchStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/MatchStaticRouter.d.ts deleted file mode 100644 index 9920a92..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/MatchStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { MatchCallbacks } from "../../callbacks/MatchCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class MatchStaticRouter extends StaticRouter { - protected matchCallbacks: MatchCallbacks; - constructor(matchCallbacks: MatchCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/NotifierStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/NotifierStaticRouter.d.ts deleted file mode 100644 index 8f1f5cc..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/NotifierStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class NotifierStaticRouter extends StaticRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/PresetStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/PresetStaticRouter.d.ts deleted file mode 100644 index a9e7458..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/PresetStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class PresetStaticRouter extends StaticRouter { - protected presetCallbacks: PresetBuildCallbacks; - constructor(presetCallbacks: PresetBuildCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/ProfileStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/ProfileStaticRouter.d.ts deleted file mode 100644 index 83403f2..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/ProfileStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ProfileCallbacks } from "../../callbacks/ProfileCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ProfileStaticRouter extends StaticRouter { - protected profileCallbacks: ProfileCallbacks; - constructor(profileCallbacks: ProfileCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/QuestStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/QuestStaticRouter.d.ts deleted file mode 100644 index 8f7ca0a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/QuestStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class QuestStaticRouter extends StaticRouter { - protected questCallbacks: QuestCallbacks; - constructor(questCallbacks: QuestCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/RagfairStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/RagfairStaticRouter.d.ts deleted file mode 100644 index 6c41467..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/RagfairStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class RagfairStaticRouter extends StaticRouter { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/TraderStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/TraderStaticRouter.d.ts deleted file mode 100644 index 41728a1..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/TraderStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class TraderStaticRouter extends StaticRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/WeatherStaticRouter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/WeatherStaticRouter.d.ts deleted file mode 100644 index 72ed851..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/routers/static/WeatherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { WeatherCallbacks } from "../../callbacks/WeatherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class WeatherStaticRouter extends StaticRouter { - protected weatherCallbacks: WeatherCallbacks; - constructor(weatherCallbacks: WeatherCallbacks); -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/ConfigServer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/ConfigServer.d.ts deleted file mode 100644 index a079be8..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/ConfigServer.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigTypes } from "../models/enums/ConfigTypes"; -export declare class ConfigServer { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected configs: Record; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil); - getConfig(configType: ConfigTypes): T; - getConfigByString(configType: string): T; - initialize(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/DatabaseServer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/DatabaseServer.d.ts deleted file mode 100644 index aa152d0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/DatabaseServer.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -export declare class DatabaseServer { - protected tableData: IDatabaseTables; - getTables(): IDatabaseTables; - setTables(any: any): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/HttpServer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/HttpServer.d.ts deleted file mode 100644 index 44d802b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/HttpServer.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { ApplicationContext } from "../context/ApplicationContext"; -import { Serializer } from "../di/Serializer"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { HttpRouter } from "../routers/HttpRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ConfigServer } from "./ConfigServer"; -import { DatabaseServer } from "./DatabaseServer"; -export declare class HttpServer implements IHttpServer { - protected httpRouter: HttpRouter; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected serializers: Serializer[]; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - constructor(httpRouter: HttpRouter, // TODO: delay required - logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, serializers: Serializer[], configServer: ConfigServer, applicationContext: ApplicationContext); - protected buffers: {}; - protected onReceive: {}; - protected onRespond: {}; - protected httpConfig: IHttpConfig; - protected webSockets: {}; - protected websocketPingHandler: any; - getCookies(req: http.IncomingMessage): any; - resetBuffer(sessionID: string): void; - putInBuffer(sessionID: any, data: any, bufLength: number): boolean; - getFromBuffer(sessionID: string): any; - sendZlibJson(resp: any, output: any, sessionID: string): void; - sendMessage(sessionID: string, output: INotification): void; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - handleRequest(req: http.IncomingMessage, resp: http.ServerResponse): void; - load(): void; - protected getRandomisedMessage(): string; - wsOnConnection(ws: any, req: any): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/RagfairServer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/RagfairServer.d.ts deleted file mode 100644 index bc86cdb..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/RagfairServer.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { ConfigServer } from "./ConfigServer"; -export declare class RagfairServer { - protected logger: ILogger; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, ragfairOfferGenerator: RagfairOfferGenerator, ragfairOfferService: RagfairOfferService, ragfairCategoriesService: RagfairCategoriesService, ragfairRequiredItemsService: RagfairRequiredItemsService, configServer: ConfigServer); - load(): void; - update(): void; - getAllCategories(): Record; - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Disable/Hide an offer from flea - * @param offerId - */ - hideOffer(offerId: string): void; - getOffer(offerID: string): IRagfairOffer; - getOffers(): IRagfairOffer[]; - removeOfferStack(offerID: string, amount: number): void; - doesOfferExist(offerId: string): boolean; - addPlayerOffers(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/SaveServer.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/SaveServer.d.ts deleted file mode 100644 index cb28f49..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/servers/SaveServer.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { IAkiProfile, Info } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { SaveLoadRouter } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class SaveServer { - protected vfs: VFS; - protected saveLoadRouters: SaveLoadRouter[]; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected profileFilepath: string; - protected profiles: {}; - protected onSave: {}; - protected saveMd5: {}; - constructor(vfs: VFS, saveLoadRouters: SaveLoadRouter[], jsonUtil: JsonUtil, hashUtil: HashUtil, logger: ILogger); - load(): void; - save(): void; - getProfile(sessionId: string): IAkiProfile; - getProfiles(): Record; - deleteProfileById(sessionID: string): boolean; - createProfile(profileInfo: Info): void; - addProfile(profileDetails: IAkiProfile): void; - loadProfile(sessionID: string): void; - saveProfile(sessionID: string): void; - removeProfile(sessionID: string): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/BotEquipmentFilterService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/BotEquipmentFilterService.d.ts deleted file mode 100644 index e49645b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/BotEquipmentFilterService.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { Equipment, EquipmentFilterDetails, IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class BotEquipmentFilterService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - protected botEquipmentFilterlists: Record; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Filter a bots data to exclude equipment and cartridges defines in the botConfig - * @param baseBotNode bots json data to filter - * @param playerLevel Level of the currently playing player - * @param isPmc Is the bot we're filtering a PMC - * @param role Role of the bot we're filtering - */ - filterBotEquipment(baseBotNode: IBotType, playerLevel: number, isPmc: boolean, role: string): void; - /** - * Get an object that contains equipment and cartridge blacklists for a specified bot type - * @param botRole Role of the bot we want the blacklist for - * @param playerLevel Level of the player - * @returns EquipmentBlacklistDetails object - */ - protected getBotEquipmentBlacklist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Get the whitelist for a specific bot type that's within the players level - * @param botRole Bot type - * @param playerLevel Players level - * @returns EquipmentFilterDetails object - */ - protected getBotEquipmentWhitelist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Filter bot equipment based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment blacklist - * @returns Filtered bot file - */ - protected filterEquipment(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; - /** - * Filter bot cartridges based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment on this list should be excluded from the bot - * @param whitelist equipment on this list should be used exclusivly - * @returns Filtered bot file - */ - protected filterCartridges(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/BotLootCacheService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/BotLootCacheService.d.ts deleted file mode 100644 index cc71eee..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/BotLootCacheService.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { PMCLootGenerator } from "../generators/PMCLootGenerator"; -import { Items } from "../models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { BotLootCache, LootCacheType } from "../models/spt/bots/BotLootCache"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RagfairPriceService } from "./RagfairPriceService"; -export declare class BotLootCacheService { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected pmcLootGenerator: PMCLootGenerator; - protected ragfairPriceService: RagfairPriceService; - protected lootCache: Record; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, ragfairPriceService: RagfairPriceService); - /** - * Remove all cached bot loot data - */ - clearCache(): void; - /** - * Get the fully created loot array, ordered by price low to high - * @param botRole bot to get loot for - * @param isPmc is the bot a pmc - * @param lootType what type of loot is needed (backpack/pocket/stim/vest etc) - * @param lootPool the full pool of loot (needed when cache is empty) - * @returns ITemplateItem array - */ - getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): ITemplateItem[]; - /** - * Generate loot for a bot and store inside a private class property - * @param botRole bots role (assault / pmcBot etc) - * @param lootPool the full pool of loot we use to create the various sub-categories with - * @param isPmc Is the bot a PMC (alteres what loot is cached) - */ - protected addLootToCache(botRole: string, isPmc: boolean, lootPool: Items): void; - /** - * Ammo/grenades have this property - * @param props - * @returns - */ - protected isBulletOrGrenade(props: Props): boolean; - /** - * Internal and external magazine have this property - * @param props - * @returns - */ - protected isMagazine(props: Props): boolean; - /** - * Medical use items (e.g. morphine/lip balm/grizzly) - * @param props - * @returns - */ - protected isMedicalItem(props: Props): boolean; - /** - * Grenades have this property (e.g. smoke/frag/flash grenades) - * @param props - * @returns - */ - protected isGrenade(props: Props): boolean; - /** - * Check if a bot type exists inside the loot cache - * @param botRole role to check for - * @returns true if they exist - */ - protected botRoleExistsInCache(botRole: string): boolean; - /** - * If lootcache is null, init with empty property arrays - * @param botRole Bot role to hydrate - */ - protected initCacheForBotRole(botRole: string): void; - /** - * Compares two item prices by their flea (or handbook if that doesnt exist) price - * -1 when a < b - * 0 when a === b - * 1 when a > b - * @param itemAPrice - * @param itemBPrice - * @returns - */ - protected compareByValue(itemAPrice: number, itemBPrice: number): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/FenceService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/FenceService.d.ts deleted file mode 100644 index 79058c6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/FenceService.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class FenceService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected fenceAssort: ITraderAssort; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, configServer: ConfigServer); - protected setFenceAssort(fenceAssort: ITraderAssort): void; - getFenceAssorts(): ITraderAssort; - hasExpiredCache(refreshAssort: boolean): boolean; - generateFenceAssortCache(pmcData: IPmcData): void; - /** - * Get the fence level the passed in profile has - * @param pmcData Player profile - * @returns FenceLevel - */ - getFenceInfo(pmcData: IPmcData): FenceLevel; - removeFenceOffer(assortIdToRemove: string): void; - updateFenceOffers(pmcData: IPmcData): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/HashCacheService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/HashCacheService.d.ts deleted file mode 100644 index 5320f28..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/HashCacheService.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -export declare class HashCacheService { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected jsonHashes: any; - protected modHashes: any; - protected readonly modCachePath = "./user/cache/modCache.json"; - constructor(vfs: VFS, hashUtil: HashUtil, jsonUtil: JsonUtil, logger: ILogger); - getStoredModHash(modName: string): string; - modContentMatchesStoredHash(modName: string, modContent: string): boolean; - hashMatchesStoredHash(modName: string, modHash: string): boolean; - storeModContent(modName: string, modContent: string): void; - storeModHash(modName: string, modHash: string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/InsuranceService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/InsuranceService.d.ts deleted file mode 100644 index 171bf10..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/InsuranceService.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { SecureContainerHelper } from "../helpers/SecureContainerHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected secureContainerHelper: SecureContainerHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected traderHelper: TraderHelper; - protected dialogueHelper: DialogueHelper; - protected configServer: ConfigServer; - protected insured: Record>; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, secureContainerHelper: SecureContainerHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, saveServer: SaveServer, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, configServer: ConfigServer); - insuranceExists(sessionId: string): boolean; - insuranceTraderArrayExists(sessionId: string, traderId: string): boolean; - getInsurance(sessionId: string): Record; - getInsuranceItems(sessionId: string, traderId: string): any[]; - resetInsurance(sessionId: string): void; - resetInsuranceTraderArray(sessionId: string, traderId: string): void; - addInsuranceItemToArray(sessionId: string, traderId: string, itemToAdd: any): void; - /** - * Get the rouble price for an item by templateId - * @param itemTpl item tpl to get handbook price for - * @returns handbook price in roubles, Return 0 if not found - */ - getItemPrice(itemTpl: string): number; - /** - * Sends stored insured items as message to player - * @param pmcData profile to modify - * @param sessionID SessionId of current player - * @param mapId Id of the map player died/exited that caused the insurance to be issued on - */ - sendInsuredItems(pmcData: IPmcData, sessionID: string, mapId: string): void; - storeLostGear(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - storeInsuredItemsForReturn(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - protected addGearToSend(pmcData: IPmcData, insuredItem: any, actualItem: any, sessionID: string): any; - getPremium(pmcData: IPmcData, inventoryItem: Item, traderId: string): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/LocaleService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/LocaleService.d.ts deleted file mode 100644 index 33bea7b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/LocaleService.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILocaleConfig } from "../models/spt/config/ILocaleConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class LocaleService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected localeConfig: ILocaleConfig; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Gets the locale key from the locale.json file - * @returns locale e.g en/ge/cz/cn - */ - getDesiredLocale(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/MatchLocationService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/MatchLocationService.d.ts deleted file mode 100644 index c027bec..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/MatchLocationService.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class MatchLocationService { - protected timeUtil: TimeUtil; - protected locations: {}; - constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/ModCompilerService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/ModCompilerService.d.ts deleted file mode 100644 index 26cb4ac..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/ModCompilerService.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import * as ts from "typescript"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { VFS } from "../utils/VFS"; -import { HashCacheService } from "./HashCacheService"; -export declare class ModCompilerService { - protected logger: ILogger; - protected hashCacheService: HashCacheService; - protected vfs: VFS; - constructor(logger: ILogger, hashCacheService: HashCacheService, vfs: VFS); - compileMod(modName: string, modPath: string, modTypeScriptFiles: string[]): Promise; - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; - protected buildDepth(depth: number): string; - protected getNodesModulesPath(depth: number): string; - protected getAkiPath(depth: number): string; - protected getAkiFolder(): string; - protected getNodesModulesFolder(): string; - protected calculateDepth(file: string): number; - protected areFilesReady(fileNames: string[]): boolean; - protected delay(ms: number): Promise; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/NotificationService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/NotificationService.d.ts deleted file mode 100644 index 65a84dd..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/NotificationService.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -export declare class NotificationService { - protected messageQueue: Record; - getMessageQueue(): Record; - getMessageFromQueue(sessionId: string): any[]; - updateMessageOnQueue(sessionId: string, value: any[]): void; - has(sessionID: string): boolean; - /** - * Pop first message from queue. - */ - pop(sessionID: string): any; - /** - * Add message to queue - */ - add(sessionID: string, message: INotification): void; - /** - * Get message queue for session - * @param sessionID - */ - get(sessionID: string): any[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/PaymentService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/PaymentService.d.ts deleted file mode 100644 index a5e538f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/PaymentService.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PaymentService { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, traderHelper: TraderHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Take money and insert items into return to server request - * @param {Object} pmcData - * @param {Object} body - * @param {string} sessionID - * @returns Object - */ - payMoney(pmcData: IPmcData, body: IProcessBuyTradeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Receive money back after selling - * @param {IPmcData} pmcData - * @param {number} amount - * @param {IProcessSellTradeRequestData} body - * @param {IItemEventRouterResponse} output - * @param {string} sessionID - * @returns IItemEventRouterResponse - */ - getMoney(pmcData: IPmcData, amount: number, body: IProcessSellTradeRequestData, output: IItemEventRouterResponse, sessionID: string): IItemEventRouterResponse; - /** - * Recursively checks if the given item is - * inside the stash, that is it has the stash as - * ancestor with slotId=hideout - */ - protected isItemInStash(pmcData: IPmcData, item: Item): boolean; - /** - * Remove currency from player stash/inventory - * @param pmcData Player profile to find and remove currency from - * @param currencyTpl Type of currency to pay - * @param amountToPay money value to pay - * @param sessionID Sessino id - * @param output output object to send to client - * @returns IItemEventRouterResponse - */ - addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Prioritise player stash first over player inventory - * Post-raid healing would often take money out of the players pockets/secure container - * @param a Firsat money stack item - * @param b Second money stack item - * @returns sorted item - */ - protected moneySort(a: Item, b: Item): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/PlayerService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/PlayerService.d.ts deleted file mode 100644 index 519b7e5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/PlayerService.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IPlayerIncrementSkillLevelRequestData } from "../models/eft/player/IPlayerIncrementSkillLevelRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PlayerService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, databaseServer: DatabaseServer); - /** - * increases the profile skill and updates any output - * @param {Object} pmcData - * @param {Object} output - * @param {String} skillName - * @param {Number} amount - */ - incrementSkillLevel(pmcData: IPmcData, output: IPlayerIncrementSkillLevelRequestData, skillName: string, amount: number): void; - /** - * @param {Object} pmcData - * @returns number - */ - calculateLevel(pmcData: IPmcData): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/ProfileFixerService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/ProfileFixerService.d.ts deleted file mode 100644 index ed1dec7..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/ProfileFixerService.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutSlot } from "../models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "../models/enums/HideoutAreas"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { Watermark } from "../utils/Watermark"; -export declare class ProfileFixerService { - protected logger: ILogger; - protected watermark: Watermark; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, watermark: Watermark, databaseServer: DatabaseServer); - /** - * Find issues in the pmc profile data that may cause issues and fix them - * @param pmcProfile profile to check and fix - */ - checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void; - /** - * Add tag to profile to indicate when it was made - * @param fullProfile - */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; - /** - * TODO - make this non-public - currently used by RepeatableQuestController - * Remove unused condition counters - * @param pmcProfile profile to remove old counters from - */ - removeDanglingConditionCounters(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; - protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; - protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; - protected addMissingBonusesProperty(pmcProfile: IPmcData): void; - /** - * Adjust profile quest status and statusTimers object values - * quest.status is numeric e.g. 2 - * quest.statusTimers keys are numeric as strings e.g. "2" - * @param pmcProfile profile to update - */ - protected updateProfileQuestDataValues(pmcProfile: IPmcData): void; - protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; - protected addMissingWorkbenchWeaponSkills(pmcProfile: IPmcData): void; - /** - * A new property was added to slot items "locationIndex", if this is missing, the hideout slot item must be removed - * @param pmcProfile Profile to find and remove slots from - */ - protected removeResourcesFromSlotsInHideoutWithoutLocationIndexValue(pmcProfile: IPmcData): void; - /** - * add in objects equal to the number of slots - * @param areaType area to check - * @param pmcProfile profile to update - */ - protected addEmptyObjectsToHideoutAreaSlots(areaType: HideoutAreas, emptyItemCount: number, pmcProfile: IPmcData): void; - protected addObjectsToArray(count: number, slots: HideoutSlot[]): HideoutSlot[]; - /** - * In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots - * @param pmcProfile - */ - protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void; - addMissingArmorRepairSkill(pmcProfile: IPmcData): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairCategoriesService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairCategoriesService.d.ts deleted file mode 100644 index 83910e5..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairCategoriesService.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairCategoriesService { - protected logger: ILogger; - protected categories: Record; - constructor(logger: ILogger); - /** - * Get all flea categories and their count of offers - * @returns item categories and count - */ - getAllCategories(): Record; - /** - * With the supplied items, get custom categories - * @returns a custom list of categories - */ - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Take an array of ragfair offers and create a dictionary of items with thier corrisponding offer count - * @param offers ragfair offers - * @returns categories and count - */ - protected processOffersIntoCategories(offers: IRagfairOffer[]): Record; - /** - * Increment or decrement a category array - * @param offer offer to process - * @param categories categories to update - * @param increment should item be incremented or decremented - */ - protected addOrIncrementCategory(offer: IRagfairOffer, categories: Record, increment?: boolean): void; - /** - * Increase category count by 1 - * @param offer - */ - incrementCategory(offer: IRagfairOffer): void; - /** - * Reduce category count by 1 - * @param offer - */ - decrementCategory(offer: IRagfairOffer): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairLinkedItemService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairLinkedItemService.d.ts deleted file mode 100644 index 6c34ee0..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairLinkedItemService.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -export declare class RagfairLinkedItemService { - protected databaseServer: DatabaseServer; - protected linkedItemsCache: Record>; - constructor(databaseServer: DatabaseServer); - getLinkedItems(linkedSearchId: string): Iterable; - protected buildLinkedItemTable(): void; - protected getFilters(item: ITemplateItem, slot: string): string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairOfferService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairOfferService.d.ts deleted file mode 100644 index 7398a8f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairOfferService.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairCategoriesService } from "./RagfairCategoriesService"; -export declare class RagfairOfferService { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairCategoriesService: RagfairCategoriesService; - protected profileHelper: ProfileHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected playerOffersLoaded: boolean; - protected toUpdate: Record; - protected expiredOffers: Item[]; - protected offers: IRagfairOffer[]; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, ragfairCategoriesService: RagfairCategoriesService, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); - /** - * Get all offers - * @returns IRagfairOffer array - */ - getOffers(): IRagfairOffer[]; - getOfferByOfferId(offerId: string): IRagfairOffer; - getOffersOfType(templateId: string): IRagfairOffer[]; - addOffer(offer: IRagfairOffer): void; - addOfferToExpired(staleOffer: IRagfairOffer): void; - setTraderUpdateStatus(traderId: string, shouldUpdate: boolean): void; - shouldTraderBeUpdated(traderID: string): boolean; - getExpiredOfferCount(): number; - /** - * Get an array of expired items not yet processed into new offers - * @returns items that need to be turned into offers - */ - getExpiredOffers(): Item[]; - resetExpiredOffers(): void; - /** - * Does the offer exist on the ragfair - * @param offerId offer id to check for - * @returns offer exists - true - */ - doesOfferExist(offerId: string): boolean; - getTraders(): Record; - flagTraderForUpdate(expiredOfferUserId: string): void; - removeOfferById(offerId: string): void; - removeOfferStack(offerID: string, amount: number): void; - removeAllOffersByTrader(traderId: string): void; - addTradersToUpdateList(): void; - addPlayerOffers(): void; - expireStaleOffers(): void; - /** - * Get an array of stale offers that are still shown to player - * @returns IRagfairOffer array - */ - protected getStaleOffers(): IRagfairOffer[]; - protected isStale(offer: IRagfairOffer, time: number): boolean; - protected processStaleOffer(staleOffer: IRagfairOffer): void; - protected returnPlayerOffer(offer: IRagfairOffer): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairPriceService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairPriceService.d.ts deleted file mode 100644 index 679fe1d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairPriceService.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { Preset } from "../models/eft/common/IGlobals"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "../models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RagfairPriceService { - protected handbookHelper: HandbookHelper; - protected databaseServer: DatabaseServer; - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected prices: IRagfairServerPrices; - constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, randomUtil: RandomUtil, configServer: ConfigServer); - generateStaticPrices(): void; - generateDynamicPrices(): void; - hasDynamicPrices(): boolean; - getDynamicPrice(itemTpl: string): number; - getAllFleaPrices(): Record; - getFleaPriceForItem(tplId: string): number; - getStaticPriceForItem(tplId: string): number; - getBarterPrice(barterScheme: IBarterScheme[]): number; - getDynamicOfferPrice(items: Item[], desiredCurrency: string): number; - /** - * Multiply the price by a randomised curve where n = 2, shift = 2 - * @param existingPrice price to alter - * @param isPreset is the item we're multiplying a preset - * @returns multiplied price - */ - protected randomisePrice(existingPrice: number, isPreset: boolean): number; - /** - * Calculate the cost of a weapon preset by adding together the price of its mods + base price of default weapon preset - * @param item base weapon - * @param items weapon plus mods - * @param existingPrice price of existing base weapon - * @returns - */ - getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; - /** - * Attempt to get the default preset for a weapon, failing that get the first preset in the array - * (assumes default = has encyclopedia entry) - * @param presets weapon presets to choose from - * @returns Default preset object - */ - protected getDefaultWeaponPreset(presets: Preset[], weapon: Item): Preset; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairRequiredItemsService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairRequiredItemsService.d.ts deleted file mode 100644 index b05fc65..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/RagfairRequiredItemsService.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairRequiredItemsService { - protected logger: ILogger; - protected paymentHelper: PaymentHelper; - protected ragfairOfferService: RagfairOfferService; - protected requiredItemsCache: {}; - constructor(logger: ILogger, paymentHelper: PaymentHelper, ragfairOfferService: RagfairOfferService); - getRequiredItems(searchId: string): any; - buildRequiredItemTable(): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/TraderAssortService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/TraderAssortService.d.ts deleted file mode 100644 index 5ba2d05..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/TraderAssortService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -export declare class TraderAssortService { - protected pristineTraderAssorts: Record; - getPristineTraderAssort(traderId: string): ITraderAssort; - setPristineTraderAssort(traderId: string, assort: ITraderAssort): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/CustomItemService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/CustomItemService.d.ts deleted file mode 100644 index 87bda40..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/CustomItemService.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { ITemplateItem, Props } from "../../models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "../../models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "../../models/spt/server/IDatabaseTables"; -import { ILogger } from "../../models/spt/utils/ILogger"; -import { DatabaseServer } from "../../servers/DatabaseServer"; -import { HashUtil } from "../../utils/HashUtil"; -import { JsonUtil } from "../../utils/JsonUtil"; -export declare class CustomItemService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected tables: IDatabaseTables; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Create a new item from a cloned item base - * WARNING - If no item id is supplied, an id will be generated, this id will be random every time you add an item and will not be the same on each subsequent server start - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Item details for the new item to be created - * @returns tplId of the new item created - */ - createItemFromClone(newItemDetails: NewItemFromCloneDetails): CreateItemResult; - /** - * Create a new item without using an existing item as a template - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Details on what the item to be created - * @returns CreateItemResult containing the completed items Id - */ - createItem(newItemDetails: NewItemDetails): CreateItemResult; - /** - * If the id provided is an empty string, return a randomly generated guid, otherwise return the newId parameter - * @param newId id supplied to code - * @returns item id - */ - protected getOrGenerateIdForItem(newId: string): string; - /** - * Iterates through supplied properties and updates the cloned items properties with them - * Complex objects cannot have overrides, they must be fully hydrated with values if they are to be used - * @param overrideProperties new properties to apply - * @param itemClone item to update - */ - protected updateBaseItemPropertiesWithOverrides(overrideProperties: Props, itemClone: ITemplateItem): void; - /** - * Addd a new item object to the in-memory representation of items.json - * @param newItemId id of the item to add to items.json - * @param itemToAdd Item to add against the new id - */ - protected addToItemsDb(newItemId: string, itemToAdd: ITemplateItem): void; - /** - * Add a handbook price for an item - * @param newItemId id of the item being added - * @param parentId parent id of the item being added - * @param priceRoubles price of the item being added - */ - protected addToHandbookDb(newItemId: string, parentId: string, priceRoubles: number): void; - /** - * Iterate through the passed in locale data and add to each locale in turn - * If data is not provided for each langauge eft uses, the first object will be used in its place - * e.g. - * en[0] - * fr[1] - * - * No jp provided, so english will be used as a substitute - * @param localeDetails key is language, value are the new locale details - * @param newItemId id of the item being created - */ - protected addToLocaleDbs(localeDetails: Record, newItemId: string): void; - /** - * Add a price to the in-memory representation of prices.json, used to inform the flea of an items price on the market - * @param newItemId id of the new item - * @param fleaPriceRoubles Price of the new item - */ - protected addToFleaPriceDb(newItemId: string, fleaPriceRoubles: number): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts deleted file mode 100644 index abfe237..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter, RouteAction } from "../../../di/Router"; -export declare class DynamicRouterMod extends DynamicRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts deleted file mode 100644 index 6742fc6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class DynamicRouterModService { - private container; - constructor(container: DependencyContainer); - registerDynamicRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/image/imageRouteService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/image/imageRouteService.d.ts deleted file mode 100644 index 29569b2..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/image/imageRouteService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare class ImageRouteService { - protected routes: Record; - addRoute(urlKey: string, route: string): void; - getByKey(urlKey: string): string; - existsByKey(urlKey: string): boolean; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onLoad/OnLoadMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onLoad/OnLoadMod.d.ts deleted file mode 100644 index 53fb062..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onLoad/OnLoadMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnLoad } from "../../../di/OnLoad"; -export declare class OnLoadMod extends OnLoad { - private onLoadOverride; - private getRouteOverride; - constructor(onLoadOverride: () => void, getRouteOverride: () => string); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onLoad/OnLoadModService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onLoad/OnLoadModService.d.ts deleted file mode 100644 index f402103..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onLoad/OnLoadModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnLoadModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnLoad(name: string, onLoad: () => void, getRoute: () => string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onUpdate/OnUpdateMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onUpdate/OnUpdateMod.d.ts deleted file mode 100644 index ee89043..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnUpdate } from "../../../di/OnUpdate"; -export declare class OnUpdateMod extends OnUpdate { - private onUpdateOverride; - private getRouteOverride; - constructor(onUpdateOverride: (timeSinceLastRun: number) => boolean, getRouteOverride: () => string); - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onUpdate/OnUpdateModService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onUpdate/OnUpdateModService.d.ts deleted file mode 100644 index 05d735b..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/onUpdate/OnUpdateModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnUpdateModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnUpdate(name: string, onUpdate: (timeSinceLastRun: number) => boolean, getRoute: () => string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/staticRouter/StaticRouterMod.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/staticRouter/StaticRouterMod.d.ts deleted file mode 100644 index 1e62747..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RouteAction, StaticRouter } from "../../../di/Router"; -export declare class StaticRouterMod extends StaticRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/staticRouter/StaticRouterModService.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/staticRouter/StaticRouterModService.d.ts deleted file mode 100644 index f28fd45..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class StaticRouterModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerStaticRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/App.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/App.d.ts deleted file mode 100644 index dcc2669..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/App.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { TimeUtil } from "./TimeUtil"; -import { OnLoad } from "../di/OnLoad"; -import { OnUpdate } from "../di/OnUpdate"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class App { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected onLoadComponents: OnLoad[]; - protected onUpdateComponents: OnUpdate[]; - protected onUpdateLastRun: {}; - constructor(logger: ILogger, timeUtil: TimeUtil, onLoadComponents: OnLoad[], onUpdateComponents: OnUpdate[]); - load(): void; - protected update(onUpdateComponents: OnUpdate[]): void; - protected logUpdateException(err: any, updateable: OnUpdate): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/AyncQueue.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/AyncQueue.d.ts deleted file mode 100644 index da6ab18..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/AyncQueue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ICommand } from "../models/spt/utils/ICommand"; -export declare class AsyncQueue implements IAsyncQueue { - protected commandsQueue: ICommand[]; - constructor(); - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/DatabaseImporter.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/DatabaseImporter.d.ts deleted file mode 100644 index 483e135..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/DatabaseImporter.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ImageRouter } from "../routers/ImageRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "./JsonUtil"; -import { VFS } from "./VFS"; -export declare class DatabaseImporter extends OnLoad { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected imageRouter: ImageRouter; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, imageRouter: ImageRouter); - onLoad(): void; - /** - * Read all json files in database folder and map into a json object - * @param filepath path to database folder - */ - protected hydrateDatabase(filepath: string): void; - getRoute(): string; - loadRecursive(filepath: string): IDatabaseTables; - loadImages(filepath: string): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/HashUtil.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/HashUtil.d.ts deleted file mode 100644 index bacbf2a..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/HashUtil.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -import crypto from "crypto"; -import { TimeUtil } from "./TimeUtil"; -export declare class HashUtil { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - generate(): string; - generateMd5ForData(data: string): string; - generateSha1ForData(data: string): string; - generateHashForData(algorithm: string, data: crypto.BinaryLike): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/HttpResponseUtil.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/HttpResponseUtil.d.ts deleted file mode 100644 index 29502be..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/HttpResponseUtil.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { JsonUtil } from "./JsonUtil"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class HttpResponseUtil { - protected jsonUtil: JsonUtil; - constructor(jsonUtil: JsonUtil); - protected clearString(s: string): any; - noBody(data: any): any; - getBody(data: T, err?: number, errmsg?: any): IGetBodyResponseData; - getUnclearedBody(data: any, err?: number, errmsg?: any): string; - emptyResponse(): IGetBodyResponseData; - nullResponse(): INullResponseData; - emptyArrayResponse(): IGetBodyResponseData; - appendErrorToOutput(output: IItemEventRouterResponse, message?: string, title?: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/JsonUtil.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/JsonUtil.d.ts deleted file mode 100644 index 71e95f6..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/JsonUtil.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "./HashUtil"; -import { VFS } from "./VFS"; -export declare class JsonUtil { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected fileHashes: any; - constructor(vfs: VFS, hashUtil: HashUtil, logger: ILogger); - /** - * From object to string - * @param data object to turn into JSON - * @param prettify Should output be prettified? - * @returns string - */ - serialize(data: any, prettify?: boolean): string; - /** - * From string to object - * @param jsonString json string to turn into object - * @returns object - */ - deserialize(jsonString: string): any; - deserializeWithCacheCheck(jsonString: string, filePath: string): string; - clone(data: T): T; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/Logger.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/Logger.d.ts deleted file mode 100644 index 3d9013f..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/Logger.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -/// -import fs from "fs"; -import winston from "winston"; -import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "../models/spt/logging/LogTextColor"; -import { SptLogger } from "../models/spt/logging/SptLogger"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class WinstonLogger implements ILogger { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - protected showDebugInConsole: boolean; - protected folderPath: string; - protected file: string; - protected filePath: string; - protected logLevels: { - levels: { - error: number; - warn: number; - succ: number; - info: number; - custom: number; - debug: number; - }; - colors: { - error: string; - warn: string; - succ: string; - info: string; - custom: string; - debug: string; - }; - bgColors: { - default: string; - blackBG: string; - redBG: string; - greenBG: string; - yellowBG: string; - blueBG: string; - magentaBG: string; - cyanBG: string; - whiteBG: string; - }; - }; - protected logger: winston.Logger & SptLogger; - protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - writeToLogFile(data: string | Daum): Promise; - log(data: string | Error | Record, color: string, backgroundColor?: string): Promise; - error(data: string | Record): Promise; - warning(data: string | Record): Promise; - success(data: string | Record): Promise; - info(data: string | Record): Promise; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): Promise; - debug(data: string | Record, onlyShowInConsole?: boolean): Promise; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/MathUtil.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/MathUtil.d.ts deleted file mode 100644 index ea5fd69..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/MathUtil.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -export declare class MathUtil { - /** - * Helper to create the sum of all array elements - * @param {array} values The array with numbers of which to calculate the sum - * @return {number} sum(values) - */ - arraySum(values: number[]): number; - /** - * Helper to create the cumulative sum of all array elements - * arrayCumsum([1, 2, 3, 4]) = [1, 3, 6, 10] - * @param {array} values The array with numbers of which to calculate the cumulative sum - * @return {array} cumsum(values) - */ - arrayCumsum(values: number[]): number[]; - /** - * Helper to create the product of each element times factor - * @param {array} values The array of numbers which shall be multiplied by the factor - * @return {array} array times factor - */ - arrayProd(values: number[], factor: number): number[]; - /** - * Helper to add a constant to all array elements - * @param {array} values The array of numbers to which the summand should be added - * @return {array} array plus summand - */ - arrayAdd(values: number[], summand: number): number[]; - /** - * Map a value from an input range to an output range linearly - * - * Example: - * a_min = 0; a_max=1; - * b_min = 1; b_max=3; - * MathUtil.mapToRange(0.5, a_min, a_max, b_min, b_max) // returns 2 - * - * @param {number} x The value from input range to be mapped to output range - * @param {number} minIn min of input range - * @param {number} maxIn max of input range - * @param {number} minOut min of output range - * @param {number} maxOut max of outout range - * @return {number} the result of the mapping - */ - mapToRange(x: number, minIn: number, maxIn: number, minOut: number, maxOut: number): number; - /** - * Linear interpolation - * e.g. used to do a continuous integration for quest rewards which are defined for specific support centers of pmcLevel - * - * @param {string} xp the point of x at which to interpolate - * @param {array} x support points in x (of same length as y) - * @param {array} y support points in y (of same length as x) - * @return {number} y(xp) - */ - interp1(xp: number, x: number[], y: number[]): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/ObjectId.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/ObjectId.d.ts deleted file mode 100644 index 03aae56..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/ObjectId.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/// -import { TimeUtil } from "./TimeUtil"; -export declare class ObjectId { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - protected randomBytes: Buffer; - protected constglobalCounter: number; - protected consttime: number; - protected globalCounter: number; - protected time: number; - incGlobalCounter(): number; - toHexString(byteArray: string | any[] | Buffer): string; - generate(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/RandomUtil.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/RandomUtil.d.ts deleted file mode 100644 index c24dd60..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/RandomUtil.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { JsonUtil } from "./JsonUtil"; -import { MathUtil } from "./MathUtil"; -/** - * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects - * based on the relative probability of each of its elements. - * The probabilities of the contained element is not required to be normalized. - * - * Example: - * po = new ProbabilityObjectArray( - * new ProbabilityObject("a", 5), - * new ProbabilityObject("b", 1), - * new ProbabilityObject("c", 1) - * ); - * res = po.draw(10000); - * // count the elements which should be distributed according to the relative probabilities - * res.filter(x => x==="b").reduce((sum, x) => sum + 1 , 0) - */ -export declare class ProbabilityObjectArray extends Array> { - private mathUtil; - constructor(mathUtil: MathUtil, ...items: ProbabilityObject[]); - filter(callbackfn: (value: ProbabilityObject, index: number, array: ProbabilityObject[]) => any): ProbabilityObjectArray; - /** - * Calculates the normalized cumulative probability of the ProbabilityObjectArray's elements normalized to 1 - * @param {array} probValues The relative probability values of which to calculate the normalized cumulative sum - * @returns {array} Cumulative Sum normalized to 1 - */ - cumulativeProbability(probValues: number[]): number[]; - /** - * Clone this ProbabilitObjectArray - * @returns {ProbabilityObjectArray} Deep Copy of this ProbabilityObjectArray - */ - clone(): ProbabilityObjectArray; - /** - * Drop an element from the ProbabilityObjectArray - * - * @param {string} key The key of the element to drop - * @returns {ProbabilityObjectArray} ProbabilityObjectArray without the dropped element - */ - drop(key: K): ProbabilityObjectArray; - /** - * Return the data field of a element of the ProbabilityObjectArray - * @param {string} key The key of the element whose data shall be retrieved - * @returns {object} The data object - */ - data(key: K): V; - /** - * Get the relative probability of an element by its key - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @param {string} key The key of the element whose relative probability shall be retrieved - * @return {number} The relative probability - */ - probability(key: K): number; - /** - * Get the maximum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @return {number} the maximum value of all relative probabilities in this ProbabilityObjectArray - */ - maxProbability(): number; - /** - * Get the minimum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.minProbability() // returns 1 - * - * @return {number} the minimum value of all relative probabilities in this ProbabilityObjectArray - */ - minProbability(): number; - /** - * Draw random element of the ProbabilityObject N times to return an array of N keys. - * Drawing can be with or without replacement - * - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with or without replacement from the input dict - * @param {array} locklist list keys which shall be replaced even if drawing without replacement - * @return {array} Array consisting of N random keys for this ProbabilityObjectArray - */ - draw(count?: number, replacement?: boolean, locklist?: Array): K[]; -} -/** - * A ProbabilityObject which is use as an element to the ProbabilityObjectArray array - * It contains a key, the relative probability as well as optional data. - */ -export declare class ProbabilityObject { - key: K; - relativeProbability: number; - data: V; - /** - * Constructor for the ProbabilityObject - * @param {string} key The key of the element - * @param {number} relativeProbability The relative probability of this element - * @param {any} data Optional data attached to the element - */ - constructor(key: K, relativeProbability: number, data?: V); -} -export declare class RandomUtil { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - constructor(jsonUtil: JsonUtil, logger: ILogger); - getInt(min: number, max: number): number; - getIntEx(max: number): number; - getFloat(min: number, max: number): number; - getBool(): boolean; - getStringArrayValue(arr: string[]): string; - getArrayValue(arr: T[]): T; - getKey(node: any): string; - getKeyValue(node: { - [x: string]: any; - }): any; - /** - * Draw from normal distribution - * @param {number} mu Mean of the normal distribution - * @param {number} sigma Standard deviation of the normal distribution - * @returns {number} The value drawn - */ - randn(mu: number, sigma: number): number; - /** - * Draw Random integer low inclusive, high exclusive - * if high is not set we draw from 0 to low (exclusive) - * @param {integer} low Lower bound inclusive, when high is not set, this is high - * @param {integer} high Higher bound exclusive - * @returns {integer} The random integer in [low, high) - */ - randInt(low: number, high?: number): number; - /** - * Draw a random element of the provided list N times to return an array of N random elements - * Drawing can be with or without replacement - * @param {array} list The array we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input array - * @return {array} Array consisting of N random elements - */ - drawRandomFromList(list: Array, count?: number, replacement?: boolean): Array; - /** - * Draw a random (top level) element of the provided dictionary N times to return an array of N random dictionary keys - * Drawing can be with or without replacement - * @param {any} dict The dictionary we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input dict - * @return {array} Array consisting of N random keys of the dictionary - */ - drawRandomFromDict(dict: any, count?: number, replacement?: boolean): any[]; - getBiasedRandomNumber(min: number, max: number, shift: number, n: number): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/TimeUtil.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/TimeUtil.d.ts deleted file mode 100644 index eed4e6d..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/TimeUtil.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export declare class TimeUtil { - static readonly oneHourAsSeconds = 3600; - formatTime(date: Date): string; - formatDate(date: Date): string; - getDate(): string; - getTime(): string; - getTimestamp(): number; - /** - * mail in eft requires time be in a specific format - * @returns current time in format: 00:00 (hh:mm) - */ - getTimeMailFormat(): string; - /** - * Mail in eft requires date be in a specific format - * @returns current date in format: 00.00.0000 (dd.mm.yyyy) - */ - getDateMailFormat(): string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/UUidGenerator.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/UUidGenerator.d.ts deleted file mode 100644 index 000b719..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/UUidGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class UUidGenerator implements IUUidGenerator { - generate: () => string; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/VFS.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/VFS.d.ts deleted file mode 100644 index e5eaf02..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/VFS.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -/// -/// -import "reflect-metadata"; -import fs from "fs"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class VFS { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; - copyFilePromisify: (src: fs.PathLike, dst: fs.PathLike, flags?: number) => Promise; - mkdirPromisify: (path: fs.PathLike, options: fs.MakeDirectoryOptions & { - recursive: true; - }) => Promise; - readFilePromisify: (path: fs.PathLike) => Promise; - writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - readdirPromisify: (path: fs.PathLike, options?: BufferEncoding | { - encoding: BufferEncoding; - withFileTypes?: false; - }) => Promise; - statPromisify: (path: fs.PathLike, options?: fs.StatOptions & { - bigint?: false; - }) => Promise; - unlinkPromisify: (path: fs.PathLike) => Promise; - rmdirPromisify: (path: fs.PathLike) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - exists(filepath: fs.PathLike): boolean; - existsAsync(filepath: fs.PathLike): Promise; - copyFile(filepath: fs.PathLike, target: fs.PathLike): void; - copyAsync(filepath: fs.PathLike, target: fs.PathLike): Promise; - createDir(filepath: string): void; - createDirAsync(filepath: string): Promise; - copyDir(filepath: string, target: string, fileExtensions?: string | string[]): void; - copyDirAsync(filepath: string, target: string, fileExtensions: string | string[]): Promise; - readFile(filepath: string): any; - readFileAsync(filepath: string): Promise; - writeFile(filepath: any, data?: string, append?: boolean, atomic?: boolean): void; - writeFileAsync(filepath: any, data?: string, append?: boolean, atomic?: boolean): Promise; - getFiles(filepath: string): string[]; - getFilesAsync(filepath: string): Promise; - getDirs(filepath: string): string[]; - getDirsAsync(filepath: string): Promise; - removeFile(filepath: string): void; - removeFileAsync(filepath: string): Promise; - removeDir(filepath: string): void; - removeDirAsync(filepath: string): Promise; - private lockFileSync; - private checkFileSync; - private unlockFileSync; - getFileExtension(filepath: string): string; - stripExtension(filepath: string): string; - minifyAllJsonInDirRecursive(filepath: string): Promise; - minifyAllJsonInDirRecursiveAsync(filepath: string): Promise; - getFilesOfType(directory: string, fileType: string, files?: string[]): string[]; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/Watermark.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/Watermark.d.ts deleted file mode 100644 index c6dc120..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/Watermark.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WatermarkLocale { - protected locales: { - "en-US": { - description: string[]; - warning: string[]; - modding: string[]; - }; - "zh-CN": { - description: string[]; - warning: string[]; - modding: string[]; - }; - }; - getLocale(): string; - getDescription(): string[]; - getWarning(): string[]; - getModding(): string[]; -} -export declare class Watermark { - protected logger: ILogger; - protected configServer: ConfigServer; - protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, configServer: ConfigServer, watermarkLocale?: WatermarkLocale); - protected text: string[]; - protected versionLabel: string; - initialize(): void; - /** - * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) - * @param withEftVersion Include the eft version this spt version was made for - * @returns string - */ - getVersionTag(withEftVersion?: boolean): string; - getVersionLabel(): string; - /** Set window title */ - setTitle(): void; - /** Reset console cursor to top */ - resetCursor(): void; - /** Draw the watermark */ - draw(): void; - /** Caculate text length */ - protected textLength(s: string): number; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/collections/lists/LinkedList.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/collections/lists/LinkedList.d.ts deleted file mode 100644 index aca0659..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/collections/lists/LinkedList.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -export declare class LinkedList { - private head; - private tail; - add(t: T): void; - addRange(list: T[]): void; - getHead(): LinkedListNode; - getTail(): LinkedListNode; - isEmpty(): boolean; - getSize(): number; - removeFirst(): LinkedListNode; - removeLast(): LinkedListNode; - indexOf(func: (t: T) => boolean): number; - contains(func: (t: T) => boolean): boolean; - forEachNode(func: (t: LinkedListNode) => void): void; - forEachValue(func: (t: T) => void): void; - findFirstNode(func: (t: LinkedListNode) => boolean): LinkedListNode; - findFirstValue(func: (t: T) => boolean): T; - toList(): T[]; -} -export declare class LinkedListNode { - private previous; - private value; - private next; - constructor(value: T, previous?: LinkedListNode, next?: LinkedListNode); - getValue(): T; - getNextNode(): LinkedListNode; - setNextNode(node: LinkedListNode): void; - getPreviousNode(): LinkedListNode; - setPreviousNode(node: LinkedListNode): void; -} diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/decorators/Singleton.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/decorators/Singleton.d.ts deleted file mode 100644 index 7e89026..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/decorators/Singleton.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type constructor from "./constructor"; -import { InjectionToken } from "tsyringe"; -declare function singleton(token?: InjectionToken): (target: constructor) => void; -export default singleton; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/decorators/constructor.d.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/decorators/constructor.d.ts deleted file mode 100644 index 416f354..0000000 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/types/utils/decorators/constructor.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare type constructor = { - new (...args: any[]): T; -}; -export default constructor; diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/bepInEx/plugins/CWX-DeSharpener.dll b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/bepInEx/plugins/CWX-DeSharpener.dll similarity index 68% rename from Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/bepInEx/plugins/CWX-DeSharpener.dll rename to Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/bepInEx/plugins/CWX-DeSharpener.dll index 246db22..efc8b64 100644 Binary files a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/bepInEx/plugins/CWX-DeSharpener.dll and b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/bepInEx/plugins/CWX-DeSharpener.dll differ diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/LICENSE.txt b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/LICENSE.txt similarity index 100% rename from Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/LICENSE.txt rename to Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/LICENSE.txt diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/package.json b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/package.json similarity index 95% rename from Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/package.json rename to Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/package.json index f36dcfa..4dd9752 100644 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/package.json +++ b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/package.json @@ -1,10 +1,10 @@ { "name": "DeSharpener", "author": "CWX", - "version": "1.4.1", + "version": "1.4.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/src/mod.ts b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/src/mod.ts similarity index 83% rename from Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/src/mod.ts rename to Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/src/mod.ts index c829f2f..359b215 100644 --- a/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.1/user/mods/CWX-DeSharpener 1.4.1/src/mod.ts +++ b/Live/CWX_DeSharpener/CWX-DeSharpener 1.4.3/user/mods/CWX-DeSharpener 1.4.3/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_Desharpner implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_DeSharpener/server/dist/package.json b/Live/CWX_DeSharpener/server/dist/package.json index f36dcfa..4dd9752 100644 --- a/Live/CWX_DeSharpener/server/dist/package.json +++ b/Live/CWX_DeSharpener/server/dist/package.json @@ -1,10 +1,10 @@ { "name": "DeSharpener", "author": "CWX", - "version": "1.4.1", + "version": "1.4.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_DeSharpener/server/dist/src/mod.ts b/Live/CWX_DeSharpener/server/dist/src/mod.ts index c829f2f..359b215 100644 --- a/Live/CWX_DeSharpener/server/dist/src/mod.ts +++ b/Live/CWX_DeSharpener/server/dist/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_Desharpner implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_DeSharpener/server/dist/types/Utils.d.ts b/Live/CWX_DeSharpener/server/dist/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_DeSharpener/server/dist/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_DeSharpener/server/dist/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_DeSharpener/server/dist/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_DeSharpener/server/dist/types/loaders/DelayedModLoader.d.ts b/Live/CWX_DeSharpener/server/dist/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 2a05604..0000000 --- a/Live/CWX_DeSharpener/server/dist/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected initialModLoader: InitialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_DeSharpener/server/dist/types/loaders/InitialModLoader.d.ts b/Live/CWX_DeSharpener/server/dist/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 68e47fe..0000000 --- a/Live/CWX_DeSharpener/server/dist/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt300Compatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(mod: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_DeSharpener/server/dist/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_DeSharpener/server/dist/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_DeSharpener/server/dist/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_DeSharpener/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_DeSharpener/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_DeSharpener/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_DeSharpener/server/dist/types/models/external/mod.d.ts b/Live/CWX_DeSharpener/server/dist/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_DeSharpener/server/dist/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_DeSharpener/server/dist/types/models/spt/helpers/Traders.d.ts b/Live/CWX_DeSharpener/server/dist/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_DeSharpener/server/dist/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_DeSharpener/server/package.json b/Live/CWX_DeSharpener/server/package.json index f36dcfa..4dd9752 100644 --- a/Live/CWX_DeSharpener/server/package.json +++ b/Live/CWX_DeSharpener/server/package.json @@ -1,10 +1,10 @@ { "name": "DeSharpener", "author": "CWX", - "version": "1.4.1", + "version": "1.4.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_DeSharpener/server/src/mod.ts b/Live/CWX_DeSharpener/server/src/mod.ts index c829f2f..359b215 100644 --- a/Live/CWX_DeSharpener/server/src/mod.ts +++ b/Live/CWX_DeSharpener/server/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_Desharpner implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/Program.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/Program.d.ts deleted file mode 100644 index d4b71b9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/Program.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class Program { - constructor(); - start(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/TYPES.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/TYPES.d.ts deleted file mode 100644 index 6407c3a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/TYPES.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const TYPES: { - [name: string]: symbol; -}; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/Utils.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/BotCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/BotCallbacks.d.ts deleted file mode 100644 index 2db60dc..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/BotCallbacks.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { BotController } from "../controllers/BotController"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BotCallbacks { - protected botController: BotController; - protected httpResponse: HttpResponseUtil; - constructor(botController: BotController, httpResponse: HttpResponseUtil); - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/BundleCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/BundleCallbacks.d.ts deleted file mode 100644 index b28abe1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/BundleCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { BundleLoader } from "../loaders/BundleLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BundleCallbacks { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, bundleLoader: BundleLoader, configServer: ConfigServer); - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/CustomizationCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/CustomizationCallbacks.d.ts deleted file mode 100644 index 3bab8c0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/CustomizationCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { CustomizationController } from "../controllers/CustomizationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class CustomizationCallbacks { - protected customizationController: CustomizationController; - protected saveServer: SaveServer; - protected httpResponse: HttpResponseUtil; - constructor(customizationController: CustomizationController, saveServer: SaveServer, httpResponse: HttpResponseUtil); - getSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<{ - _id: string; - suites: string[]; - }>; - getTraderSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/DataCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/DataCallbacks.d.ts deleted file mode 100644 index cfb1c16..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/DataCallbacks.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGlobals } from "../models/eft/common/IGlobals"; -import { ICustomizationItem } from "../models/eft/common/tables/ICustomizationItem"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IHideoutArea } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../models/spt/server/ILocaleBase"; -import { ISettingsBase } from "../models/spt/server/ISettingsBase"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DataCallbacks { - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, databaseServer: DatabaseServer); - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/DialogueCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/DialogueCallbacks.d.ts deleted file mode 100644 index 634f90b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/DialogueCallbacks.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { DialogueController } from "../controllers/DialogueController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "../models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "../models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "../models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "../models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "../models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "../models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "../models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "../models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "../models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class DialogueCallbacks extends OnUpdate { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected dialogueController: DialogueController; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, dialogueController: DialogueController); - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/GameCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/GameCallbacks.d.ts deleted file mode 100644 index 06da1b5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/GameCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { GameController } from "../controllers/GameController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "../models/eft/game/IGameEmptyCrcRequestData"; -import { IReportNicknameRequestData } from "../models/eft/game/IReportNicknameRequestData"; -import { IVersionValidateRequestData } from "../models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class GameCallbacks { - protected httpResponse: HttpResponseUtil; - protected watermark: Watermark; - protected gameController: GameController; - constructor(httpResponse: HttpResponseUtil, watermark: Watermark, gameController: GameController); - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; - reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; -} -export { GameCallbacks }; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HandbookCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HandbookCallbacks.d.ts deleted file mode 100644 index 891e375..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HandbookCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookController } from "../controllers/HandbookController"; -import { OnLoad } from "../di/OnLoad"; -export declare class HandbookCallbacks extends OnLoad { - protected handbookController: HandbookController; - constructor(handbookController: HandbookController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HealthCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HealthCallbacks.d.ts deleted file mode 100644 index 8672be7..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HealthCallbacks.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { HealthController } from "../controllers/HealthController"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class HealthCallbacks { - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected healthController: HealthController; - constructor(httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, healthController: HealthController); - /** - * Custom aki server request found in modules/HealthSynchronizer.cs - * @param url - * @param info HealthListener.Instance.CurrentHealth class - * @param sessionID session id - * @returns empty response, no data sent back to client - */ - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HideoutCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HideoutCallbacks.d.ts deleted file mode 100644 index 99ab4c9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HideoutCallbacks.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { HideoutController } from "../controllers/HideoutController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HideoutCallbacks extends OnUpdate { - protected hideoutController: HideoutController; - protected configServer: ConfigServer; - protected hideoutConfig: IHideoutConfig; - constructor(hideoutController: HideoutController, // TODO: delay needed - configServer: ConfigServer); - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HttpCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HttpCallbacks.d.ts deleted file mode 100644 index 94c97bd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/HttpCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class HttpCallbacks extends OnLoad { - protected httpServer: IHttpServer; - constructor(httpServer: IHttpServer); - onLoad(): void; - getRoute(): string; - getImage(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InraidCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InraidCallbacks.d.ts deleted file mode 100644 index 05bcce4..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InraidCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { InraidController } from "../controllers/InraidController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IAirdropConfig } from "../models/spt/config/IAirdropConfig"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InraidCallbacks { - protected inraidController: InraidController; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected airdropConfig: IAirdropConfig; - protected inraidConfig: IInRaidConfig; - constructor(inraidController: InraidController, httpResponse: HttpResponseUtil, configServer: ConfigServer); - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InsuranceCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InsuranceCallbacks.d.ts deleted file mode 100644 index 6819960..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InsuranceCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { InsuranceController } from "../controllers/InsuranceController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InsuranceCallbacks extends OnLoadOnUpdate { - protected insuranceController: InsuranceController; - protected insuranceService: InsuranceService; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(insuranceController: InsuranceController, insuranceService: InsuranceService, httpResponse: HttpResponseUtil, configServer: ConfigServer); - onLoad(): void; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(secondsSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InventoryCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InventoryCallbacks.d.ts deleted file mode 100644 index 9ab1486..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/InventoryCallbacks.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { InventoryController } from "../controllers/InventoryController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class InventoryCallbacks { - protected inventoryController: InventoryController; - constructor(inventoryController: InventoryController); - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ItemEventCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ItemEventCallbacks.d.ts deleted file mode 100644 index f4f04f9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ItemEventCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class ItemEventCallbacks { - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - constructor(httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter); - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/LauncherCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/LauncherCallbacks.d.ts deleted file mode 100644 index c022325..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/LauncherCallbacks.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { LauncherController } from "../controllers/LauncherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class LauncherCallbacks { - protected httpResponse: HttpResponseUtil; - protected launcherController: LauncherController; - protected saveServer: SaveServer; - protected watermark: Watermark; - constructor(httpResponse: HttpResponseUtil, launcherController: LauncherController, saveServer: SaveServer, watermark: Watermark); - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getServerVersion(): string; - ping(url: string, info: IEmptyRequestData, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} -export { LauncherCallbacks }; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/LocationCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/LocationCallbacks.d.ts deleted file mode 100644 index cc69369..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/LocationCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LocationController } from "../controllers/LocationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "../models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class LocationCallbacks { - protected httpResponse: HttpResponseUtil; - protected locationController: LocationController; - constructor(httpResponse: HttpResponseUtil, locationController: LocationController); - getLocationData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/MatchCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/MatchCallbacks.d.ts deleted file mode 100644 index 2a92ef5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/MatchCallbacks.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MatchController } from "../controllers/MatchController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IPutMetricsRequestData } from "../models/eft/match/IPutMetricsRequestData"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IUpdatePingRequestData } from "../models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class MatchCallbacks { - protected httpResponse: HttpResponseUtil; - protected jsonUtil: JsonUtil; - protected matchController: MatchController; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, matchController: MatchController, databaseServer: DatabaseServer); - updatePing(url: string, info: IUpdatePingRequestData, sessionID: string): INullResponseData; - exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; - getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ModCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ModCallbacks.d.ts deleted file mode 100644 index 58342dc..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ModCallbacks.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { PostAkiModLoader } from "../loaders/PostAkiModLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -declare class ModCallbacks extends OnLoad { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected postAkiModLoader: PostAkiModLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, postAkiModLoader: PostAkiModLoader, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} -export { ModCallbacks }; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/NoteCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/NoteCallbacks.d.ts deleted file mode 100644 index d39d400..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/NoteCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NoteController } from "../controllers/NoteController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "../models/eft/notes/INoteActionData"; -export declare class NoteCallbacks { - protected noteController: NoteController; - constructor(noteController: NoteController); - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/NotifierCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/NotifierCallbacks.d.ts deleted file mode 100644 index c42058f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/NotifierCallbacks.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { NotifierController } from "../controllers/NotifierController"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../models/eft/notifier/ISelectProfileRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class NotifierCallbacks { - protected httpServerHelper: HttpServerHelper; - protected httpResponse: HttpResponseUtil; - protected notifierController: NotifierController; - constructor(httpServerHelper: HttpServerHelper, httpResponse: HttpResponseUtil, notifierController: NotifierController); - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/PresetBuildCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/PresetBuildCallbacks.d.ts deleted file mode 100644 index 541715a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/PresetBuildCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { PresetBuildController } from "../controllers/PresetBuildController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PresetBuildCallbacks { - protected httpResponse: HttpResponseUtil; - protected presetBuildController: PresetBuildController; - constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/PresetCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/PresetCallbacks.d.ts deleted file mode 100644 index 4553f8f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/PresetCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetController } from "../controllers/PresetController"; -import { OnLoad } from "../di/OnLoad"; -export declare class PresetCallbacks extends OnLoad { - protected presetController: PresetController; - constructor(presetController: PresetController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ProfileCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ProfileCallbacks.d.ts deleted file mode 100644 index 6a86fc0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/ProfileCallbacks.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ProfileController } from "../controllers/ProfileController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileCallbacks { - protected httpResponse: HttpResponseUtil; - protected timeUtil: TimeUtil; - protected profileController: ProfileController; - constructor(httpResponse: HttpResponseUtil, timeUtil: TimeUtil, profileController: ProfileController); - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - /** - * Called when creating a character, when you choose a character face/voice - * @param url - * @param info response (empty) - * @param sessionID - * @returns - */ - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/QuestCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/QuestCallbacks.d.ts deleted file mode 100644 index 559c29e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/QuestCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { QuestController } from "../controllers/QuestController"; -import { RepeatableQuestController } from "../controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "../models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class QuestCallbacks { - protected httpResponse: HttpResponseUtil; - protected questController: QuestController; - protected repeatableQuestController: RepeatableQuestController; - constructor(httpResponse: HttpResponseUtil, questController: QuestController, repeatableQuestController: RepeatableQuestController); - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/RagfairCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/RagfairCallbacks.d.ts deleted file mode 100644 index 3a405c9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/RagfairCallbacks.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { RagfairController } from "../controllers/RagfairController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRemoveOfferRequestData } from "../models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "../models/eft/ragfair/ISendRagfairReportRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected ragfairServer: RagfairServer; - protected ragfairController: RagfairController; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(httpResponse: HttpResponseUtil, logger: ILogger, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - sendReport(url: string, info: ISendRagfairReportRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/RepairCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/RepairCallbacks.d.ts deleted file mode 100644 index 63733fa..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/RepairCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { RepairController } from "../controllers/RepairController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -export declare class RepairCallbacks { - protected repairController: RepairController; - constructor(repairController: RepairController); - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/SaveCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/SaveCallbacks.d.ts deleted file mode 100644 index bbb6e53..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/SaveCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { SaveServer } from "../servers/SaveServer"; -export declare class SaveCallbacks extends OnLoadOnUpdate { - protected saveServer: SaveServer; - constructor(saveServer: SaveServer); - onLoad(): void; - getRoute(): string; - onUpdate(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/TradeCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/TradeCallbacks.d.ts deleted file mode 100644 index 272ae46..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/TradeCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { TradeController } from "../controllers/TradeController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -export declare class TradeCallbacks { - protected tradeController: TradeController; - constructor(tradeController: TradeController); - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/TraderCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/TraderCallbacks.d.ts deleted file mode 100644 index 128d9b2..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/TraderCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { TraderController } from "../controllers/TraderController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class TraderCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected traderController: TraderController; - constructor(httpResponse: HttpResponseUtil, traderController: TraderController); - onLoad(): void; - getRoute(): string; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - onUpdate(): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/WeatherCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/WeatherCallbacks.d.ts deleted file mode 100644 index ae784c8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/WeatherCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WeatherController } from "../controllers/WeatherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class WeatherCallbacks { - protected httpResponse: HttpResponseUtil; - protected weatherController: WeatherController; - constructor(httpResponse: HttpResponseUtil, weatherController: WeatherController); - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/WishlistCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/WishlistCallbacks.d.ts deleted file mode 100644 index c2cc2a8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/callbacks/WishlistCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WishlistController } from "../controllers/WishlistController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -export declare class WishlistCallbacks { - protected wishlistController: WishlistController; - constructor(wishlistController: WishlistController); - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ApplicationContext.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ApplicationContext.d.ts deleted file mode 100644 index a155bcd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ApplicationContext.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ContextVariable } from "./ContextVariable"; -import { ContextVariableType } from "./ContextVariableType"; -export declare class ApplicationContext { - private variables; - private static holderMaxSize; - getLatestValue(type: ContextVariableType): ContextVariable; - getValues(type: ContextVariableType): ContextVariable[]; - addValue(type: ContextVariableType, value: any): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ContextVariable.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ContextVariable.d.ts deleted file mode 100644 index e438947..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ContextVariable.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ContextVariableType } from "./ContextVariableType"; -export declare class ContextVariable { - private value; - private timestamp; - private type; - constructor(value: any, type: ContextVariableType); - getValue(): any; - getTimestamp(): Date; - getType(): ContextVariableType; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ContextVariableType.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ContextVariableType.d.ts deleted file mode 100644 index 5fc1704..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/context/ContextVariableType.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare enum ContextVariableType { - SESSION_ID = 0, - MATCH_INFO = 1 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/BotController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/BotController.d.ts deleted file mode 100644 index 5e6f05d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/BotController.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { BotHelper } from "../helpers/BotHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IBotCore } from "../models/eft/common/tables/IBotCore"; -import { Difficulty } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class BotController { - protected databaseServer: DatabaseServer; - protected botGenerator: BotGenerator; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(databaseServer: DatabaseServer, botGenerator: BotGenerator, botHelper: BotHelper, configServer: ConfigServer); - /** - * Return the number of bot loadout varieties to be generated - * @param type bot Type we want the loadout gen count for - * @returns - */ - getBotPresetGenerationLimit(type: string): number; - getBotCoreDifficulty(): IBotCore; - /** - * Get bot difficulty settings - * adjust PMC settings to ensure they engage the correct bot types - * @param type what bot the server is requesting settings for - * @param difficulty difficulty level server requested settings for - * @returns Difficulty object - */ - getBotDifficulty(type: string, difficulty: string): Difficulty; - protected getPmcDifficultySettings(pmcType: "bear" | "usec", difficulty: string): Difficulty; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/CustomizationController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/CustomizationController.d.ts deleted file mode 100644 index a6c4730..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/CustomizationController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -export declare class CustomizationController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper); - getTraderSuits(traderID: string, sessionID: string): ISuit[]; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; - protected getAllTraderSuits(sessionID: string): ISuit[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/DialogueController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/DialogueController.d.ts deleted file mode 100644 index b15c4b6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/DialogueController.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { DialogueInfo, Message } from "../models/eft/profile/IAkiProfile"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DialogueController { - protected httpResponse: HttpResponseUtil; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - constructor(httpResponse: HttpResponseUtil, saveServer: SaveServer, dialogueHelper: DialogueHelper); - getFriendList(sessionID: string): IGetFriendListDataResponse; - generateDialogueList(sessionID: string): IGetBodyResponseData; - getDialogueInfo(dialogueID: string, sessionID: string): DialogueInfo; - generateDialogueView(dialogueID: string, sessionID: string): IGetMailDialogViewResponseData; - removeDialogue(dialogueID: string, sessionID: string): void; - setDialoguePin(dialogueID: string, shouldPin: boolean, sessionID: string): void; - setRead(dialogueIDs: string[], sessionID: string): void; - getAllAttachments(dialogueID: string, sessionID: string): IGetAllAttachmentsResponse; - protected messagesHaveUncollectedRewards(messages: Message[]): boolean; - protected removeExpiredItems(sessionID: string): void; - update(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/GameController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/GameController.d.ts deleted file mode 100644 index 85ec418..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/GameController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { LocaleService } from "../services/LocaleService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { Watermark } from "../utils/Watermark"; -export declare class GameController { - protected logger: ILogger; - protected watermark: Watermark; - protected httpServerHelper: HttpServerHelper; - protected localeService: LocaleService; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected coreConfig: ICoreConfig; - constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, localeService: LocaleService, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, configServer: ConfigServer); - gameStart(_url: string, _info: IEmptyRequestData, sessionID: string): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; - getGameConfig(sessionID: string): IGameConfigResponse; - getServer(): any[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HandbookController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HandbookController.d.ts deleted file mode 100644 index 52d2dd8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HandbookController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class HandbookController { - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - constructor(databaseServer: DatabaseServer, handbookHelper: HandbookHelper); - load(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HealthController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HealthController.d.ts deleted file mode 100644 index cc13603..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HealthController.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentService } from "../services/PaymentService"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class HealthController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected inventoryHelper: InventoryHelper; - protected healthHelper: HealthHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, healthHelper: HealthHelper); - /** - * stores in-raid player health - * @param pmcData Player profile - * @param info Request data - * @param sessionID - * @param addEffects Should effects found be added or removed from profile - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - /** - * When healing in menu - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Occurs on post-raid healing page - * @param pmcData player profile - * @param info Request data from client - * @param sessionID Session id - * @returns - */ - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HideoutController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HideoutController.d.ts deleted file mode 100644 index 3eefe1a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/HideoutController.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { ScavCaseRewardGenerator } from "../generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "../helpers/HideoutHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutArea, Product } from "../models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HideoutController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected inventoryHelper: InventoryHelper; - protected saveServer: SaveServer; - protected playerService: PlayerService; - protected presetHelper: PresetHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - 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; - upgradeComplete(pmcData: IPmcData, body: HideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Create item in hideout slot item array, remove item from player inventory - * @param pmcData Profile data - * @param addItemToHideoutRequest reqeust from client to place item in area slot - * @param sessionID Session id - * @returns IItemEventRouterResponse object - */ - putItemsInAreaSlots(pmcData: IPmcData, addItemToHideoutRequest: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Find resource item in hideout area, add copy to player inventory, remove Item from hideout slot - * @param sessionID Session id - * @param pmcData Profile to update - * @param removeResourceRequest client request - * @param output response to send to client - * @param hideoutArea Area fuel is being removed from - * @returns IItemEventRouterResponse response - */ - protected removeResourceFromArea(sessionID: string, pmcData: IPmcData, removeResourceRequest: IHideoutTakeItemOutRequestData, output: IItemEventRouterResponse, hideoutArea: HideoutArea): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles event after clicking 'start' on the scav case hideout page - * @param pmcData player profile - * @param body client request object - * @param sessionID session id - * @returns item event router response - */ - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Add generated scav case rewards to player profile - * @param pmcData player profile to add rewards to - * @param rewards reward items to add to profile - */ - protected addScavCaseRewardsToProfile(pmcData: IPmcData, rewards: Product[]): void; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - protected handleRecipie(sessionID: string, recipe: IHideoutProduction, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Handles giving rewards stored in player profile to player after clicking 'get rewards' - * @param sessionID - * @param pmcData - * @param body - * @param output - * @returns - */ - protected handleScavCase(sessionID: string, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - update(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InraidController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InraidController.d.ts deleted file mode 100644 index b899e7d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InraidController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { InRaidHelper } from "../helpers/InRaidHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InraidController { - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected playerScavGenerator: PlayerScavGenerator; - protected healthHelper: HealthHelper; - protected traderHelper: TraderHelper; - protected insuranceService: InsuranceService; - protected inRaidHelper: InRaidHelper; - protected configServer: ConfigServer; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, jsonUtil: JsonUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, configServer: ConfigServer); - addPlayer(sessionID: string, info: IRegisterPlayerRequestData): void; - saveProgress(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Mark inventory items as FiR if player survived raid, otherwise remove FiR from them - * @param offraidData Save Progress Request - * @param pmcData player profile - * @param isPlayerScav Was the player a pScav - */ - private markOrRemoveFoundInRaidItems; - private handlePostRaidPlayerScavProcess; - private handlePostRaidPlayerScavKarmaChanges; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InsuranceController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InsuranceController.d.ts deleted file mode 100644 index 6895383..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InsuranceController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { PaymentService } from "../services/PaymentService"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceController { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected itemEventRouter: ItemEventRouter; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected dialogueHelper: DialogueHelper; - protected paymentService: PaymentService; - protected insuranceService: InsuranceService; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, itemEventRouter: ItemEventRouter, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileHelper: ProfileHelper, dialogueHelper: DialogueHelper, paymentService: PaymentService, // TODO: delay required - insuranceService: InsuranceService, configServer: ConfigServer); - processReturn(): void; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Calculate insurance cost - * @param info request object - * @param sessionID session id - * @returns response object to send to client - */ - cost(info: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InventoryController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InventoryController.d.ts deleted file mode 100644 index f57f731..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/InventoryController.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class InventoryController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected fenceService: FenceService; - protected presetHelper: PresetHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairOfferService: RagfairOfferService; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); - /** - * Move Item - * change location of item with parentId and slotId - * transfers items from one profile to another if fromOwner/toOwner is set in the body. - * otherwise, move is contained within the same profile_f. - */ - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove Item from Profile - * Deep tree item deletion, also removes items from insurance list - */ - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Implements functionality "Discard" from Main menu (Stash etc.) - * Removes item from PMC Profile - */ - discardItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Split Item - * spliting 1 item-stack into 2 separate items ... - */ - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Merge Item - * merges 2 items into one, deletes item from `body.item` and adding number of stacks into `body.with` - */ - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Transfer item - * Used to take items from scav inventory into stash or to insert ammo into mags (shotgun ones) and reloading weapon by clicking "Reload" - */ - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Swap Item - * its used for "reload" if you have weapon in hands and magazine is somewhere else in rig or backpack in equipment - */ - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Give Item - * its used for "add" item like gifts etc. - */ - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - /** - * Handles folding of Weapons - */ - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Toggles "Toggleable" items like night vision goggles and face shields. - */ - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles Tagging of items (primary Containers). - */ - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles examining an item - * @param pmcData player profile - * @param body request object - * @param sessionID session id - * @returns response - */ - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Get the tplid of an item from the examine request object - * @param body response request - * @returns tplid - */ - protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles sorting of Inventory. - */ - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/LauncherController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/LauncherController.d.ts deleted file mode 100644 index 1af1f56..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/LauncherController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { Info } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class LauncherController { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected httpServerHelper: HttpServerHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected coreConfig: ICoreConfig; - constructor(hashUtil: HashUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - connect(): any; - find(sessionIdKey: string): Info; - login(info: ILoginRequestData): string; - register(info: IRegisterData): string; - protected createAccount(info: IRegisterData): string; - changeUsername(info: IChangeRequestData): string; - changePassword(info: IChangeRequestData): string; - wipe(info: IRegisterData): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/LocationController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/LocationController.d.ts deleted file mode 100644 index 90b6d7a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/LocationController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { LocationGenerator } from "../generators/LocationGenerator"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class LocationController { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected locationGenerator: LocationGenerator; - protected databaseServer: DatabaseServer; - protected timeUtil: TimeUtil; - constructor(jsonUtil: JsonUtil, logger: ILogger, locationGenerator: LocationGenerator, databaseServer: DatabaseServer, timeUtil: TimeUtil); - get(location: string): ILocationBase; - generate(name: string): ILocationBase; - generateAll(): ILocationsGenerateAllResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/MatchController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/MatchController.d.ts deleted file mode 100644 index 71cb7d3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/MatchController.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ApplicationContext } from "../context/ApplicationContext"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "../models/spt/config/IMatchConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { MatchLocationService } from "../services/MatchLocationService"; -export declare class MatchController { - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected matchLocationService: MatchLocationService; - protected traderHelper: TraderHelper; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - protected matchConfig: IMatchConfig; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer, applicationContext: ApplicationContext); - getEnabled(): boolean; - getProfile(info: IGetProfileRequestData): IPmcData[]; - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; - joinMatch(info: IJoinMatchRequestData, sessionID: string): IJoinMatchResult[]; - protected getMatch(location: string): any; - getGroupStatus(info: IGetGroupStatusRequestData): any; - startOfflineRaid(info: IStartOfflineRaidRequestData, sessionID: string): void; - endOfflineRaid(info: IEndOfflineRaidRequestData, sessionID: string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/NoteController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/NoteController.d.ts deleted file mode 100644 index ee70541..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/NoteController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -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"; -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; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/NotifierController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/NotifierController.d.ts deleted file mode 100644 index 31d7bfe..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/NotifierController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { NotificationService } from "../services/NotificationService"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -export declare class NotifierController { - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected notificationService: NotificationService; - protected pollInterval: number; - protected timeout: number; - constructor(notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, notificationService: NotificationService); - /** - * Resolve an array of session notifications. - * - * If no notifications are currently queued then intermittently check for new notifications until either - * one or more appear or when a timeout expires. - * If no notifications are available after the timeout, use a default message. - */ - notifyAsync(sessionID: string): Promise; - getServer(sessionID: string): string; - getChannel(sessionID: string): INotifierChannel; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/PresetBuildController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/PresetBuildController.d.ts deleted file mode 100644 index adf4084..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/PresetBuildController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class PresetBuildController { - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - constructor(hashUtil: HashUtil, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, saveServer: SaveServer); - getUserBuilds(sessionID: string): WeaponBuild[]; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/PresetController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/PresetController.d.ts deleted file mode 100644 index ca1af1a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/PresetController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetHelper } from "../helpers/PresetHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PresetController { - protected presetHelper: PresetHelper; - protected databaseServer: DatabaseServer; - constructor(presetHelper: PresetHelper, databaseServer: DatabaseServer); - initialize(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/ProfileController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/ProfileController.d.ts deleted file mode 100644 index 8c89a02..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/ProfileController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IMiniProfile } from "../models/eft/launcher/IMiniProfile"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileController { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileFixerService: ProfileFixerService; - protected playerScavGenerator: PlayerScavGenerator; - protected traderHelper: TraderHelper; - protected profileHelper: ProfileHelper; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, playerScavGenerator: PlayerScavGenerator, traderHelper: TraderHelper, profileHelper: ProfileHelper); - getMiniProfiles(): IMiniProfile[]; - getMiniProfile(sessionID: string): any; - getCompleteProfile(sessionID: string): IPmcData[]; - createProfile(info: IProfileCreateRequestData, sessionID: string): void; - /** - * Generate a player scav object - * pmc profile MUST exist first before pscav can be generated - * @param sessionID - * @returns IPmcData object - */ - generatePlayerScav(sessionID: string): IPmcData; - validateNickname(info: IValidateNicknameRequestData, sessionID: string): string; - changeNickname(info: IProfileChangeNicknameRequestData, sessionID: string): string; - changeVoice(info: IProfileChangeVoiceRequestData, sessionID: string): void; - getFriends(info: ISearchFriendRequestData, sessionID: string): ISearchFriendResponse[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/QuestController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/QuestController.d.ts deleted file mode 100644 index 2cbccfb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/QuestController.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestConditionHelper } from "../helpers/QuestConditionHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { PlayerService } from "../services/PlayerService"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class QuestController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected questHelper: QuestHelper; - protected questConditionHelper: QuestConditionHelper; - protected playerService: PlayerService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, configServer: ConfigServer); - /** - * Get all quests visible to player - * Exclude quests with incomplete preconditions (level/loyalty) - * @param sessionID session id - * @returns array of IQuest - */ - getClientQuests(sessionID: string): IQuest[]; - acceptQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - acceptRepeatableQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove completed quest from profile - * Add newly unlocked quests to profile - * Also recalculate thier level due to exp rewards - * @param pmcData Player profile - * @param body completed quest request - * @param sessionID session id - * @returns ItemEvent response - */ - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Send a popup to player on completion of a quest - * @param sessionID session id - * @param pmcData player profile - * @param completedQuestId completed quest id - * @param questRewards rewards given to player - */ - protected sendDialogMessageOnQuestComplete(sessionID: string, pmcData: IPmcData, completedQuestId: string, questRewards: Reward[]): void; - /** - * Returns a list of quests that should be failed when a quest is completed - * @param completedQuestId quest completed id - * @returns array of quests - */ - protected getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; - /** - * Fail the quests provided - * @param sessionID session id - * @param pmcData player profile - * @param questsToFail quests to fail - */ - protected failQuests(sessionID: string, pmcData: IPmcData, questsToFail: IQuest[]): void; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RagfairController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RagfairController.d.ts deleted file mode 100644 index c4ffc15..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RagfairController.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairHelper } from "../helpers/RagfairHelper"; -import { RagfairOfferHelper } from "../helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "../helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "../helpers/RagfairSortHelper"; -import { RagfairTaxHelper } from "../helpers/RagfairTaxHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PaymentService } from "../services/PaymentService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - protected ragfairServer: RagfairServer; - protected ragfairPriceService: RagfairPriceService; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - protected ragfairSellHelper: RagfairSellHelper; - protected ragfairTaxHelper: RagfairTaxHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairOfferHelper: RagfairOfferHelper; - protected profileHelper: ProfileHelper; - protected paymentService: PaymentService; - protected handbookHelper: HandbookHelper; - protected paymentHelper: PaymentHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxHelper: RagfairTaxHelper, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, configServer: ConfigServer); - getOffers(sessionID: string, info: ISearchRequestData): IGetOffersResult; - protected isLinkedSearch(info: ISearchRequestData): boolean; - protected isRequiredSearch(info: ISearchRequestData): boolean; - update(): void; - getItemPrice(info: IGetMarketPriceRequestData): IGetItemPriceResult; - addPlayerOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - createPlayerOffer(profile: IAkiProfile, requirements: Requirement[], items: Item[], sellInOnePiece: boolean, amountToSend: number): IRagfairOffer; - getAllFleaPrices(): Record; - removeOffer(offerId: string, sessionID: string): IItemEventRouterResponse; - extendOffer(info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RepairController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RepairController.d.ts deleted file mode 100644 index 0e78ef6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RepairController.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { QuestHelper } from "../helpers/QuestHelper"; -import { RepairHelper } from "../helpers/RepairHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -export declare class RepairController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected traderHelper: TraderHelper; - protected paymentService: PaymentService; - protected repairHelper: RepairHelper; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); - /** - * Repair with trader - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - /** - * Repair with repair kit - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - repairWithKit(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RepeatableQuestController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RepeatableQuestController.d.ts deleted file mode 100644 index 98d05dd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/RepeatableQuestController.d.ts +++ /dev/null @@ -1,220 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { Exit } from "../models/eft/common/ILocationBase"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { TraderInfo } from "../models/eft/common/tables/IBotBase"; -import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "../models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { ProbabilityObject, ProbabilityObjectArray, RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export interface IQuestTypePool { - types: string[]; - pool: IQuestPool; -} -export interface IQuestPool { - Exploration: IExplorationPool; - Elimination: IEliminationPool; -} -export interface IExplorationPool { - locations: Partial>; -} -export interface IEliminationPool { - targets: IEliminationTargetPool; -} -export interface IEliminationTargetPool { - Savage?: ITargetLocation; - AnyPmc?: ITargetLocation; - bossBully?: ITargetLocation; - bossGluhar?: ITargetLocation; - bossKilla?: ITargetLocation; - bossSanitar?: ITargetLocation; - bossTagilla?: ITargetLocation; - bossKojaniy?: ITargetLocation; -} -export interface ITargetLocation { - locations: string[]; -} -export declare class RepeatableQuestController { - protected timeUtil: TimeUtil; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected mathUtil: MathUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected ragfairServerHelper: RagfairServerHelper; - protected itemEventRouter: ItemEventRouter; - protected paymentService: PaymentService; - protected objectId: ObjectId; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); - /** - * This is the method reached by the /client/repeatalbeQuests/activityPeriods endpoint - * Returns an array of objects in the format of repeatable quests to the client. - * repeatableQuestObject = { - * id: Unique Id, - * name: "Daily", - * endTime: the time when the quests expire - * activeQuests: currently available quests in an array. Each element of quest type format (see assets/database/templates/repeatableQuests.json). - * inactiveQuests: the quests which were previously active (required by client to fail them if they are not completed) - * } - * - * The method checks if the player level requirement for repeatable quests (e.g. daily lvl5, weekly lvl15) is met and if the previously active quests - * are still valid. This ischecked by endTime persisted in profile accordning to the resetTime configured for each repeatable kind (daily, weekly) - * in QuestCondig.js - * - * If the condition is met, new repeatableQuests are created, old quests (which are persisted in the profile.RepeatableQuests[i].activeQuests) are - * moved to profile.RepeatableQuests[i].inactiveQuests. This memory is required to get rid of old repeatable quest data in the profile, otherwise - * they'll litter the profile's Quests field. - * (if the are on "Succeed" but not "Completed" we keep them, to allow the player to complete them and get the rewards) - * The new quests generated are again persisted in profile.RepeatableQuests - * - * - * @param {string} sessionId Player's session id - * @returns {array} array of "repeatableQuestObjects" as descibed above - */ - getClientRepeatableQuests(_info: IEmptyRequestData, sessionID: string): IPmcDataRepeatableQuest[]; - /** - * This method is called by GetClientRepeatableQuests and creates one element of quest type format (see assets/database/templates/repeatableQuests.json). - * It randomly draws a quest type (currently Elimination, Completion or Exploration) as well as a trader who is providing the quest - */ - generateRepeatableQuest(pmcLevel: number, pmcTraderInfo: Record, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; - /** - * Just for debug reasons. Draws dailies a random assort of dailies extracted from dumps - */ - generateDebugDailies(dailiesPool: any, factory: any, number: any): any; - /** - * Generates the base object of quest type format given as templates in assets/database/templates/repeatableQuests.json - * The templates include Elimination, Completion and Extraction quest types - * - * @param {string} type quest type: "Elimination", "Completion" or "Extraction" - * @param {string} traderId trader from which the quest will be provided - * @returns {object} a object which contains the base elements for repeatable quests of the requests type - * (needs to be filled with reward and conditions by called to make a valid quest) - */ - generateRepeatableTemplate(type: string, traderId: string): IRepeatableQuest; - /** - * Generates a valid Exploration quest - * - * @param {integer} pmcLevel player's level for reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Exploration" (see assets/database/templates/repeatableQuests.json) - */ - generateExplorationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IExploration; - /** - * Generates a valid Completion quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Completion" (see assets/database/templates/repeatableQuests.json) - */ - generateCompletionQuest(pmcLevel: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): ICompletion; - /** - * Generates a valid Elimination quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Elimination" (see assets/database/templates/repeatableQuests.json) - */ - generateEliminationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IElimination; - /** - * Exploration repeatable quests can specify a required extraction point. - * This method creates the according object which will be appended to the conditions array - * - * @param {string} exit The exit name to generate the condition for - * @returns {object} Exit condition - */ - generateExplorationExitCondition(exit: Exit): IExplorationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateCompletionQuest to create a completion condition (of which a completion quest theoretically can have many) - * - * @param {string} targetItemId id of the item to request - * @param {integer} value amount of items of this specific type to request - * @returns {object} object of "Completion"-condition - */ - generateCompletionAvailableForFinish(targetItemId: string, value: number): ICompletionAvailableFor; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a location condition. - * - * @param {string} location the location on which to fulfill the elimination quest - * @returns {object} object of "Elimination"-location-subcondition - */ - generateEliminationLocation(location: string[]): IEliminationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a kill condition. - * - * @param {string} target array of target npcs e.g. "AnyPmc", "Savage" - * @param {array} bodyParts array of body parts with which to kill e.g. ["stomach", "thorax"] - * @param {number} distance distance from which to kill (currently only >= supported) - * @returns {object} object of "Elimination"-kill-subcondition - */ - generateEliminationCondition(target: string, bodyPart: string[], distance: number): IEliminationCondition; - /** - * Used to create a quest pool during each cycle of repeatable quest generation. The pool will be subsequently - * narrowed down during quest generation to avoid duplicate quests. Like duplicate extractions or elimination quests - * where you have to e.g. kill scavs in same locations. - * - * @returns {object} the quest pool - */ - generateQuestPool(repeatableConfig: IRepeatableQuestConfig): IQuestTypePool; - /** - * Generate the reward for a mission. A reward can consist of - * - Experience - * - Money - * - Items - * - Trader Reputation - * - * The reward is dependent on the player level as given by the wiki. The exact mapping of pmcLevel to - * experience / money / items / trader reputation can be defined in QuestConfig.js - * - * There's also a random variation of the reward the spread of which can be also defined in the config. - * - * Additonaly, a scaling factor w.r.t. quest difficulty going from 0.2...1 can be used - * - * @param {integer} pmcLevel player's level - * @param {number} difficulty a reward scaling factor goint from 0.2 to 1 - * @param {string} traderId the trader for reputation gain (and possible in the future filtering of reward item type based on trader) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of "Reward"-type that can be given for a repeatable mission - */ - generateReward(pmcLevel: number, difficulty: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): IRewards; - /** - * Helper to create a reward item structured as required by the client - * - * @param {string} tpl itemId of the rewarded item - * @param {integer} value amount of items to give - * @param {integer} index all rewards will be appended to a list, for unkown reasons the client wants the index - * @returns {object} object of "Reward"-item-type - */ - generateRewardItem(tpl: string, value: number, index: number, preset?: any): IReward; - debugLogRepeatableQuestIds(pmcData: IPmcData): void; - probabilityObjectArray(configArrayInput: ProbabilityObject[]): ProbabilityObjectArray; - changeRepeatableQuest(pmcDataIn: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/TradeController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/TradeController.d.ts deleted file mode 100644 index c86745c..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/TradeController.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { RagfairServer } from "../servers/RagfairServer"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TradeHelper } from "../helpers/TradeHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -declare class TradeController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected tradeHelper: TradeHelper; - protected profileHelper: ProfileHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, tradeHelper: TradeHelper, profileHelper: ProfileHelper, ragfairServer: RagfairServer); - confirmTrading(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string, foundInRaid?: boolean, upd?: Upd): IItemEventRouterResponse; - confirmRagfairTrading(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} -export { TradeController }; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/TraderController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/TraderController.d.ts deleted file mode 100644 index 7bab158..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/TraderController.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderAssortHelper } from "../helpers/TraderAssortHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class TraderController { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected traderAssortHelper: TraderAssortHelper; - protected profileHelper: ProfileHelper; - protected traderHelper: TraderHelper; - protected timeUtil: TimeUtil; - protected traderAssortService: TraderAssortService; - protected jsonUtil: JsonUtil; - constructor(logger: ILogger, databaseServer: DatabaseServer, traderAssortHelper: TraderAssortHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, timeUtil: TimeUtil, traderAssortService: TraderAssortService, jsonUtil: JsonUtil); - load(): void; - getTrader(traderID: string, sessionID: string): ITraderBase; - getAllTraders(sessionID: string): ITraderBase[]; - updateTraders(): boolean; - getAssort(sessionId: string, traderId: string): ITraderAssort; - getPurchasesData(traderID: string, sessionID: string): Record; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/WeatherController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/WeatherController.d.ts deleted file mode 100644 index ca7f5eb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/WeatherController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WeatherGenerator } from "../generators/WeatherGenerator"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WeatherController { - protected weatherGenerator: WeatherGenerator; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weatherGenerator: WeatherGenerator, configServer: ConfigServer); - generate(): IWeatherData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/WishlistController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/WishlistController.d.ts deleted file mode 100644 index a96c522..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/controllers/WishlistController.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class WishlistController { - protected itemEvenRouter: ItemEventRouter; - constructor(itemEvenRouter: ItemEventRouter); - addToWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Container.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Container.d.ts deleted file mode 100644 index 17791b0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Container.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class Container { - static registerTypes(depContainer: DependencyContainer): void; - static registerListTypes(depContainer: DependencyContainer): void; - private static registerUtils; - private static registerRouters; - private static registerGenerators; - private static registerHelpers; - private static registerLoaders; - private static registerCallbacks; - private static registerServices; - private static registerServers; - private static registerControllers; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnLoad.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnLoad.d.ts deleted file mode 100644 index 064d07d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnLoad.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnLoad { - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnLoadOnUpdate.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnLoadOnUpdate.d.ts deleted file mode 100644 index 8bd3dc3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnLoadOnUpdate.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { OnLoad } from "./OnLoad"; -import { OnUpdate } from "./OnUpdate"; -export declare class OnLoadOnUpdate implements OnLoad, OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnUpdate.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnUpdate.d.ts deleted file mode 100644 index 7fbbe09..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/OnUpdate.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Router.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Router.d.ts deleted file mode 100644 index 2fb98e0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Router.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -export declare class Router { - private handledRoutes; - getTopLevelRoute(): string; - protected getHandledRoutes(): HandledRoute[]; - private getInternalHandledRoutes; - canHandle(url: string, partialMatch?: boolean): boolean; -} -export declare class StaticRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleStatic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class DynamicRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleDynamic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class ItemEventRouterDefinition extends Router { - constructor(); - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} -export declare class SaveLoadRouter extends Router { - constructor(); - handleLoad(profile: IAkiProfile): IAkiProfile; -} -export declare class HandledRoute { - route: string; - dynamic: boolean; - constructor(route: string, dynamic: boolean); -} -export declare class RouteAction { - url: string; - action: (url: string, info: any, sessionID: string, output: string) => any; - constructor(url: string, action: (url: string, info: any, sessionID: string, output: string) => any); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Serializer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Serializer.d.ts deleted file mode 100644 index 70aa7c5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/di/Serializer.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class Serializer { - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(something: string): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotGenerator.d.ts deleted file mode 100644 index a5fc0ad..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotGenerator.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { Health as PmcHealth, IBotBase, Skills } from "../models/eft/common/tables/IBotBase"; -import { Health, IBotType, Inventory } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotEquipmentFilterService } from "../services/BotEquipmentFilterService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotInventoryGenerator } from "./BotInventoryGenerator"; -declare namespace BotGenerator { - interface IRandomisedBotLevelResult { - level: number; - exp: number; - } -} -export declare class BotGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected databaseServer: DatabaseServer; - protected botInventoryGenerator: BotInventoryGenerator; - protected botEquipmentFilterService: BotEquipmentFilterService; - protected botHelper: BotHelper; - protected gameEventHelper: GameEventHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, jsonUtil: JsonUtil, profileHelper: ProfileHelper, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botEquipmentFilterService: BotEquipmentFilterService, botHelper: BotHelper, gameEventHelper: GameEventHelper, configServer: ConfigServer); - /** - * Generate a player scav bot object - * @param role e.g. assault / pmcbot - * @param difficulty easy/normal/hard/impossible - * @param botTemplate base bot template to use (e.g. assault/pmcbot) - * @returns - */ - generatePlayerScav(role: string, difficulty: string, botTemplate: IBotType): IBotBase; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - /** - * Choose if a bot should become a PMC by checking if bot type is allowed to become a Pmc in botConfig.convertFromChances and doing a random int check - * @param botRole the bot role to check if should be a pmc - * @returns true if should be a pmc - */ - protected shouldBotBePmc(botRole: string): boolean; - /** - * Get a randomised PMC side based on bot config value 'isUsec' - * @returns pmc side as string - */ - protected getRandomisedPmcSide(): string; - /** - * Get a clone of the database\bots\base.json file - * @returns IBotBase object - */ - protected getCloneOfBotBase(): IBotBase; - protected generateBot(bot: IBotBase, role: string, node: IBotType, isPmc: boolean, isPlayerScav?: boolean): IBotBase; - /** - * Log the number of PMCs generated to the debug console - */ - protected logPmcGeneratedCount(output: IBotBase[]): void; - protected generateRandomLevel(min: number, max: number): BotGenerator.IRandomisedBotLevelResult; - /** - * Converts health object to the required format - * @param healthObj health object from bot json - * @param playerScav Is a pscav bot being generated - * @returns PmcHealth object - */ - protected generateHealth(healthObj: Health, playerScav?: boolean): PmcHealth; - protected generateSkills(skillsObj: Skills): Skills; - /** - * Convert from pmc side (usec/bear) to the side as defined in the bot config (usecType/bearType) - * @param pmcSide eft side (usec/bear) - * @returns pmc side as defined in config - */ - protected getPmcRole(pmcSide: string): string; - /** - * Iterate through bots inventory and loot to find and remove christmas items (as defined in GameEventHelper) - * @param nodeInventory Bots inventory to iterate over - */ - protected removeChristmasItemsFromBotInventory(nodeInventory: Inventory): void; - protected generateId(bot: IBotBase): IBotBase; - protected generateInventoryID(profile: IBotBase): IBotBase; - protected getPMCDifficulty(requestedDifficulty: string): string; - /** - * Add a side-specific (usec/bear) dogtag item to a bots inventory - * @param bot bot to add dogtag to - * @returns Bot with dogtag added - */ - protected generateDogtag(bot: IBotBase): IBotBase; -} -export {}; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotInventoryGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotInventoryGenerator.d.ts deleted file mode 100644 index 35d1ee8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotInventoryGenerator.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation, Mods } from "../models/eft/common/tables/IBotType"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -import { BotLootGenerator } from "./BotLootGenerator"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -export declare class BotInventoryGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootGenerator: BotLootGenerator; - protected botGeneratorHelper: BotGeneratorHelper; - protected weightedRandomHelper: WeightedRandomHelper; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, botWeaponGenerator: BotWeaponGenerator, botLootGenerator: BotLootGenerator, botGeneratorHelper: BotGeneratorHelper, weightedRandomHelper: WeightedRandomHelper); - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; - protected generateEquipment(equipmentSlot: string, equipmentPool: Record, modPool: Mods, spawnChances: Chances, botRole: string, inventory: PmcInventory): void; - protected generateInventoryBase(): PmcInventory; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotLootGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotLootGenerator.d.ts deleted file mode 100644 index c6a3f29..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotLootGenerator.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Chances, Inventory, ItemMinMax, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -export declare class BotLootGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGenerator: BotWeaponGenerator, botLootCacheService: BotLootCacheService, configServer: ConfigServer); - generateLoot(templateInventory: Inventory, itemCounts: ItemMinMax, isPmc: boolean, botRole: string, botInventory: PmcInventory, equipmentChances: Chances): void; - protected getRandomisedCount(min: number, max: number, nValue: number): number; - /** - * Take random items from a pool and add to an inventory until totalItemCount or totalValueLimit is reached - * @param pool pool of items to pick from - * @param equipmentSlots What equality slot will the loot items be added to - * @param totalItemCount Max count of items to add - * @param inventoryToAddItemsTo bot inventory loot will be added to - * @param botRole role of the bot loot is being generated for (assault/pmcbot) - * @param useLimits should item limit counts be used as defined in config/bot.json - * @param totalValueLimitRub total value of loot allowed in roubles - * @param isPmc is the bot being generated for a pmc - */ - protected addLootFromPool(pool: ITemplateItem[], equipmentSlots: string[], totalItemCount: number, inventoryToAddItemsTo: PmcInventory, botRole: string, useLimits?: boolean, totalValueLimitRub?: number, isPmc?: boolean): void; - /** - * Add generated weapons to inventory as loot - * @param botInventory inventory to add preset to - * @param equipmentSlot slot to place the preset in (backpack) - * @param templateInventory bots template, assault.json - * @param modChances chances for mods to spawn on weapon - * @param botRole bots role, .e.g. pmcBot - * @param isPmc are we generating for a pmc - */ - protected addLooseWeaponsToInventorySlot(botInventory: PmcInventory, equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, botRole: string, isPmc: boolean): void; - /** - * Get a random item from the pool parameter using the biasedRandomNumber system - * @param pool pool of items to pick an item from - * @param isPmc is the bot being created a pmc - * @returns ITemplateItem object - */ - protected getRandomItemFromPool(pool: ITemplateItem[], isPmc: boolean): ITemplateItem; - /** - * Get the loot nvalue from botconfig - * @param isPmc if true the pmc nvalue is returned - * @returns nvalue as number - */ - protected getBotLootNValue(isPmc: boolean): number; - /** - * Update item limit array to contain items that have a limit - * All values are set to 0 - * @param isPmc is the bot a pmc - * @param botRole role the bot has - * @param limitCount - */ - protected initItemLimitArray(isPmc: boolean, botRole: string, limitCount: Record): void; - /** - * Check if an item has reached its bot-specific spawn limit - * @param itemTemplate Item we check to see if its reached spawn limit - * @param botRole Bot type - * @param isPmc Is bot we're working with a pmc - * @param limitCount spawn limits for items on bot - * @param itemSpawnLimits the limits this bot is allowed to have - * @returns true if item has reached spawn limit - */ - protected itemHasReachedSpawnLimit(itemTemplate: ITemplateItem, botRole: string, isPmc: boolean, limitCount: Record, itemSpawnLimits: Record): boolean; - /** - * Is the item an ammo box - * @param props props of the item to check - * @returns true if item is an ammo box - */ - protected isAmmoBox(props: Props): boolean; - /** - * Create an object that contains the ammo stack for an ammo box - * @param parentId ammo box id - * @param props ammo box props - * @returns Item object - */ - protected createAmmoForAmmoBox(parentId: string, props: Props): Item; - /** - * Randomise the stack size of a money object, uses different values for pmc or scavs - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param moneyItem Money stack to randomise - */ - protected randomiseMoneyStackSize(isPmc: boolean, itemTemplate: ITemplateItem, moneyItem: Item): void; - /** - * Randomise the size of an ammo stack - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param ammoItem Ammo stack to randomise - */ - protected randomiseAmmoStackSize(isPmc: boolean, itemTemplate: ITemplateItem, ammoItem: Item): void; - /** - * Get spawn limits for a specific bot type from bot.json config - * If no limit found for a non pmc bot, fall back to defaults - * @param isPmc is the bot we want limits for a pmc - * @param botRole what role does the bot have - * @returns dictionary of tplIds and limit - */ - protected getItemSpawnLimitsForBotType(isPmc: boolean, botRole: string): Record; - /** - * Get the parentId or tplId of item inside spawnLimits object if it exists - * @param itemTemplate item we want to look for in spawn limits - * @param spawnLimits Limits to check for item - * @returns id as string, otherwise undefined - */ - protected getMatchingIdFromSpawnLimits(itemTemplate: ITemplateItem, spawnLimits: Record): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotWeaponGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotWeaponGenerator.d.ts deleted file mode 100644 index 9215214..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/BotWeaponGenerator.d.ts +++ /dev/null @@ -1,173 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { MinMax } from "../models/common/MinMax"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "../models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotWeaponGenerator { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected hashUtil: HashUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected weightedRandomHelper: WeightedRandomHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected readonly modMagazineSlotId = "mod_magazine"; - protected botConfig: IBotConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil, configServer: ConfigServer); - /** - * Get a random weapon from a bots pool of weapons (weighted) - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @returns weapon tpl - */ - pickWeightedWeaponTplFromPool(equipmentSlot: string, botTemplateInventory: Inventory): string; - /** - * Generated a weapon based on the supplied weapon tpl - * @param weaponTpl weapon tpl to generate (use pickWeightedWeaponTplFromPool()) - * @param equipmentSlot slot to fit into, primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateWeaponByTpl(weaponTpl: string, equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Generate an entirely random weapon - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateRandomWeapon(equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Create array with weapon base as only element - * Add additional properties as required - * @param weaponTpl - * @param weaponParentId - * @param equipmentSlot - * @param weaponItemTemplate - * @param botRole for durability values - * @returns - */ - constructWeaponBaseArray(weaponTpl: string, weaponParentId: string, equipmentSlot: string, weaponItemTemplate: ITemplateItem, botRole: string): Item[]; - /** - * Add compatible magazines to an inventory based on a generated weapon - * @param weaponDetails - * @param magCounts - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - */ - addExtraMagazinesToInventory(weaponDetails: GenerateWeaponResult, magCounts: MinMax, inventory: PmcInventory, botRole: string): void; - /** - * Get the mods necessary to kit out a weapon to its preset level - * @param weaponTpl weapon to find preset for - * @param equipmentSlot the slot the weapon will be placed in - * @param weaponParentId Value used for the parentid - * @returns array of weapon mods - */ - protected getPresetWeaponMods(weaponTpl: string, equipmentSlot: string, weaponParentId: string, itemTemplate: ITemplateItem, botRole: string): Item[]; - /** Checks if all required slots are occupied on a weapon and all it's mods */ - protected isWeaponValid(weaponItemArray: Item[]): boolean; - /** - * Generates extra magazines or bullets (if magazine is internal) and adds them to TacticalVest and Pockets. - * Additionally, adds extra bullets to SecuredContainer - * @param weaponMods - * @param weaponTemplate - * @param magCounts - * @param ammoTpl - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - * @returns - */ - protected generateExtraMagazines(weaponMods: Item[], weaponTemplate: ITemplateItem, magCounts: MinMax, ammoTpl: string, inventory: PmcInventory, botRole: string): void; - /** - * Get a randomised number of bullets for a specific magazine - * @param magCounts min and max count of magazines - * @param magTemplate magazine to generate bullet count for - * @returns bullet count number - */ - protected getRandomisedBulletCount(magCounts: MinMax, magTemplate: ITemplateItem): number; - /** - * Get a randomised count of magazines - * @param magCounts min and max value returned value can be between - * @returns numberical value of magazine count - */ - protected getRandomisedMagazineCount(magCounts: MinMax): number; - /** - * Add ammo to the secure container - * @param stackCount How many stacks of ammo to add - * @param ammoTpl Ammo type to add - * @param stackSize Size of the ammo stack to add - * @param inventory Player inventory - */ - protected addAmmoToSecureContainer(stackCount: number, ammoTpl: string, stackSize: number, inventory: PmcInventory): void; - /** - * Get a weapons magazine tpl from a weapon template - * @param weaponMods mods from a weapon template - * @param weaponTemplate Weapon to get magazine tpl for - * @param botRole the bot type we are getting the magazine for - * @returns magazine tpl string - */ - protected getMagazineTplFromWeaponTemplate(weaponMods: Item[], weaponTemplate: ITemplateItem, botRole: string): string; - /** - * Get a weapons default magazine template id - * @param weaponTemplate weapon to get default magazine for - * @returns tpl of magazine - */ - protected getWeaponsDefaultMagazineTpl(weaponTemplate: ITemplateItem): string; - protected addBulletsToVestAndPockets(ammoTpl: string, bulletCount: number, inventory: PmcInventory): void; - /** - * Finds and return a compatible ammo tpl based on the bots ammo weightings (x.json/inventory/equipment/ammo) - * @param ammo a list of ammo tpls the weapon can use - * @param weaponTemplate the weapon we want to pick ammo for - * @param isPmc is the ammo being gathered for a pmc (runs pmc ammo filtering) - * @returns an ammo tpl that works with the desired gun - */ - protected getCompatibleAmmo(ammo: Record>, weaponTemplate: ITemplateItem, isPmc: boolean): string; - /** - * Get a weapons compatible cartridge caliber - * @param weaponTemplate Weapon to look up caliber of - * @returns caliber as string - */ - protected getWeaponCaliber(weaponTemplate: ITemplateItem): string; - /** - * Fill existing magazines to full, while replacing their contents with specified ammo - * @param weaponMods - * @param magazine - * @param ammoTpl - */ - protected fillExistingMagazines(weaponMods: Item[], magazine: Item, ammoTpl: string): void; - /** - * Add cartridge item to weapon Item array, if it already exists, update - * @param weaponMods Weapon items array to amend - * @param magazine magazine item details we're adding cartridges to - * @param chosenAmmo cartridge to put into the magazine - * @param newStackSize how many cartridges should go into the magazine - */ - protected addOrUpdateMagazinesChildWithAmmo(weaponMods: Item[], magazine: Item, chosenAmmo: string, newStackSize: number): void; - /** - * Fill each Camora with a bullet - * @param weaponMods Weapon mods to find and update camora mod(s) from - * @param magazineId magazine id to find and add to - * @param ammoTpl ammo template id to hydate with - */ - protected fillCamorasWithAmmo(weaponMods: Item[], magazineId: string, ammoTpl: string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/LocationGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/LocationGenerator.d.ts deleted file mode 100644 index bd368b5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/LocationGenerator.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ContainerHelper } from "../helpers/ContainerHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILocationConfig } from "../models/spt/config/ILocationConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { RandomUtil } from "../utils/RandomUtil"; -export interface IContainerItem { - items: Item[]; - width: number; - height: number; -} -export declare class LocationGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected objectId: ObjectId; - protected randomUtil: RandomUtil; - protected ragfairServerHelper: RagfairServerHelper; - protected itemHelper: ItemHelper; - protected mathUtil: MathUtil; - protected gameEventHelper: GameEventHelper; - protected containerHelper: ContainerHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected locationConfig: ILocationConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, objectId: ObjectId, randomUtil: RandomUtil, ragfairServerHelper: RagfairServerHelper, itemHelper: ItemHelper, mathUtil: MathUtil, gameEventHelper: GameEventHelper, containerHelper: ContainerHelper, presetHelper: PresetHelper, configServer: ConfigServer); - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - protected getLooseLootMultiplerForLocation(location: string): number; - protected getStaticLootMultiplerForLocation(location: string): number; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; - protected createItem(tpl: string, staticAmmoDist: Record, parentId?: string): IContainerItem; - protected getRandomCompatibleCaliberTemplateId(item: ITemplateItem): string; - protected getRandomValidCaliber(magTemplate: ITemplateItem): string; - protected drawAmmoTpl(caliber: string, staticAmmoDist: Record): string; - protected createRandomMagCartridges(magTemplate: ITemplateItem, parentId: string, staticAmmoDist: Record, caliber?: string): Item; - protected createCartidges(parentId: string, ammoTpl: string, stackCount: number): Item; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/PMCLootGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/PMCLootGenerator.d.ts deleted file mode 100644 index 64e6f7f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/PMCLootGenerator.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -export declare class PMCLootGenerator { - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected pocketLootPool: string[]; - protected backpackLootPool: string[]; - protected botConfig: IBotConfig; - constructor(itemHelper: ItemHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/PlayerScavGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/PlayerScavGenerator.d.ts deleted file mode 100644 index bb2c730..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/PlayerScavGenerator.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Skills, Stats } from "../models/eft/common/tables/IBotBase"; -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "../models/spt/config/IPlayerScavConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { BotGenerator } from "./BotGenerator"; -export declare class PlayerScavGenerator { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected botHelper: BotHelper; - protected jsonUtil: JsonUtil; - protected fenceService: FenceService; - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - protected configServer: ConfigServer; - protected playerScavConfig: IPlayerScavConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, botHelper: BotHelper, jsonUtil: JsonUtil, fenceService: FenceService, botLootCacheService: BotLootCacheService, botGenerator: BotGenerator, configServer: ConfigServer); - /** - * Update a player profile to include a new player scav profile - * @param sessionID session id to specify what profile is updated - * @returns profile object - */ - generate(sessionID: string): IPmcData; - /** - * Get the scav karama level for a profile - * Is also the fence trader rep level - * @param pmcData pmc profile - * @returns karma level - */ - protected getScavKarmaLevel(pmcData: IPmcData): number; - /** - * Get a baseBot template - * If the parameter doesnt match "assault", take parts from the loot type and apply to the return bot template - * @param botTypeForLoot bot type to use for inventory/chances - * @returns IBotType object - */ - protected constructBotBaseTemplate(botTypeForLoot: string): IBotType; - /** - * Adjust equipment/mod/item generation values based on scav karma levels - * @param karmaSettings Values to modify the bot template with - * @param baseBotNode bot template to modify according to karama level settings - */ - protected adjustBotTemplateWithKarmaSpecificSettings(karmaSettings: KarmaLevel, baseBotNode: IBotType): void; - protected getScavSkills(scavProfile: IPmcData): Skills; - protected getDefaultScavSkills(): Skills; - protected getScavStats(scavProfile: IPmcData): Stats; - protected getScavLevel(scavProfile: IPmcData): number; - protected getScavExperience(scavProfile: IPmcData): number; - /** - * Set cooldown till pscav is playable - * take into account scav cooldown bonus - * @param scavData scav profile - * @param pmcData pmc profile - * @returns - */ - protected setScavCooldownTimer(scavData: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/RagfairAssortGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/RagfairAssortGenerator.d.ts deleted file mode 100644 index cbdd7f2..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/RagfairAssortGenerator.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairAssortGenerator { - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected generatedAssortItems: Item[]; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer); - /** - * Get an array of unique items that can be sold on the flea - * @returns array of unique items - */ - getAssortItems(): Item[]; - protected assortsAreGenerated(): boolean; - /** - * Generate an array of items the flea can sell - * @returns array of unique items - */ - protected generateRagfairAssortItems(): Item[]; - protected createRagfairAssortItem(tplId: string, id?: string): Item; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/RagfairOfferGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/RagfairOfferGenerator.d.ts deleted file mode 100644 index 3e7f4cc..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/RagfairOfferGenerator.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairAssortGenerator } from "./RagfairAssortGenerator"; -export declare class RagfairOfferGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected ragfairServerHelper: RagfairServerHelper; - protected saveServer: SaveServer; - protected presetHelper: PresetHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairPriceService: RagfairPriceService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected fenceService: FenceService; - protected itemHelper: ItemHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, ragfairCategoriesService: RagfairCategoriesService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; - protected getTraderId(userID: string): string; - protected getRating(userID: string): number; - protected getRatingGrowing(userID: string): boolean; - protected getOfferEndTime(userID: string, time: number): number; - /** - * Create multiple offers for items by using a unique list of items we've generated previously - * @param expiredOffers - */ - generateDynamicOffers(expiredOffers?: Item[]): void; - generateTraderOffers(traderID: string): void; - protected getItemCondition(userID: string, items: Item[], itemDetails: ITemplateItem): Item[]; - protected addMissingCondition(item: Item): Item; - protected getOfferRequirements(items: Item[]): { - count: number; - _tpl: string; - }[]; - /** - * Create a flea offer and store it in the Ragfair server offers array - */ - createFleaOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/ScavCaseRewardGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/ScavCaseRewardGenerator.d.ts deleted file mode 100644 index c7d6ab7..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/ScavCaseRewardGenerator.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Product } from "../models/eft/common/tables/IBotBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IScavCaseConfig } from "../models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "../models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ScavCaseRewardGenerator { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected configServer: ConfigServer; - protected scavCaseConfig: IScavCaseConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, configServer: ConfigServer); - /** - * Create an array of rewards that will be given to the player upon completing their scav case build - * @param body client request - * @returns Product array - */ - generate(body: IHideoutScavCaseStartRequestData): Product[]; - /** - * Get all db items that are not blacklisted in scavcase config - * @returns filtered array of db items - */ - protected getDbItems(): ITemplateItem[]; - /** - * Check if a template id has a blacklisted parent id - * @param tplid template id to check - * @returns true if item is blacklisted - */ - protected itemHasBlacklistedParent(tplid: string): boolean; - /** - * Pick a number of items to be rewards, the count is defined by the values in - * @param items item pool to pick rewards from - * @param itemFilters how the rewards should be filtered down (by item count) - * @returns - */ - protected pickRandomRewards(items: ITemplateItem[], itemFilters: RewardCountAndPriceDetails, rarity: string): ITemplateItem[]; - /** - * Choose if money should be a reward based on the moneyRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be money - */ - protected rewardShouldBeMoney(): boolean; - /** - * Choose if ammo should be a reward based on the ammoRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be ammo - */ - protected rewardShouldBeAmmo(): boolean; - /** - * Choose from rouble/dollar/euro at random - */ - protected getRandomMoney(): ITemplateItem; - /** - * Get a random ammo from items.json that is not in the ammo blacklist AND inside the price rage defined in scavcase.json config - * @param rarity The rarity this ammo reward is for - * @returns random ammo item from items.json - */ - protected getRandomAmmo(rarity: string): ITemplateItem; - /** - * Take all the rewards picked create the Product object array ready to return to calling code - * Also add a stack count to ammo and money - * @param rewardItems items to convert - * @returns Product array - */ - protected randomiseContainerItemRewards(rewardItems: ITemplateItem[], rarity: string): Product[]; - /** - * Add a randomised stack count to ammo or money items - * @param item money or ammo item - * @param resultItem money or ammo item with a randomise stack size - */ - protected addStackCountToAmmoAndMoney(item: ITemplateItem, resultItem: { - _id: string; - _tpl: string; - upd: any; - }, rarity: string): void; - /** - * - * @param dbItems all items from the items.json - * @param itemFilters controls how the dbItems will be filtered and returned (handbook price) - * @returns filtered dbItems array - */ - protected getFilteredItemsByPrice(dbItems: ITemplateItem[], itemFilters: RewardCountAndPriceDetails): ITemplateItem[]; - /** - * Gathers the reward options from config and scavcase.json into a single object - * @param scavCaseDetails scavcase.json values - * @returns ScavCaseRewardCountsAndPrices object - */ - protected getScavCaseRewardCountsAndPrices(scavCaseDetails: IHideoutScavCase): ScavCaseRewardCountsAndPrices; - /** - * Randomises the size of ammo and money stacks - * @param itemToCalculate ammo or money item - * @param rarity rarity (common/rare/superrare) - * @returns value to set stack count to - */ - protected getRandomAmountRewardForScavCase(itemToCalculate: ITemplateItem, rarity: string): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/WeatherGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/WeatherGenerator.d.ts deleted file mode 100644 index 44cecbb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/generators/WeatherGenerator.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class WeatherGenerator { - protected weightedRandomHelper: WeightedRandomHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weightedRandomHelper: WeightedRandomHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateTime(data: IWeatherData): IWeatherData; - /** - * Get server uptime seconds multiplied by a multiplier and add to current time as seconds - * Format to BSGs requirements - * @param computedDate current date - * @returns formatted time - */ - protected getAcceleratedTime(computedDate: Date): string; - /** - * Get current time formatted to fit BSGs requirement - * @param computedDate - * @returns - */ - protected getNormalTime(computedDate: Date): string; - generateWeather(data: IWeatherData): IWeatherData; - protected getWeightedFog(): string; - protected getWeightedRain(): number; - protected getRandomFloat(node: string): number; - protected getRandomInt(node: string): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/AssortHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/AssortHelper.d.ts deleted file mode 100644 index 15586b9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/AssortHelper.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ItemHelper } from "./ItemHelper"; -import { QuestHelper } from "./QuestHelper"; -export declare class AssortHelper { - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - constructor(logger: ILogger, itemHelper: ItemHelper, databaseServer: DatabaseServer, questHelper: QuestHelper); - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort assort items from a trader - * @returns assort items minus locked quest assorts - */ - stripLockedQuestAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort traders assorts - * @returns traders assorts minus locked loyality assorts - */ - stripLockedLoyaltyAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove an item from an assort - * @param assort assort to modify - * @param itemID item id to remove from asort - * @returns Modified assort - */ - removeItemFromAssort(assort: ITraderAssort, itemID: string): ITraderAssort; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/BotGeneratorHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/BotGeneratorHelper.d.ts deleted file mode 100644 index 3cd7256..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/BotGeneratorHelper.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { DurabilityLimitsHelper } from "../helpers/DurabilityLimitsHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Mods, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item, Repairable, Upd } from "../models/eft/common/tables/IItem"; -import { Grid, ITemplateItem, Slot } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { InventoryHelper } from "./InventoryHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProbabilityHelper } from "./ProbabilityHelper"; -export declare class BotGeneratorHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected probabilityHelper: ProbabilityHelper; - protected databaseServer: DatabaseServer; - protected durabilityLimitsHelper: DurabilityLimitsHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected containerHelper: ContainerHelper; - 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): Item[]; - /** - * Is this magazine cylinder related (revolvers and grenade launchers) - * @param magazineParentName the name of the magazines parent - * @returns true if it is cylinder related - */ - magazineIsCylinderRelated(magazineParentName: string): boolean; - /** - * randomly choose if a mod should be spawned, 100% for required mods OR mod is ammo slot - * never return true for an item that has 0% spawn chance - * @param itemSlot slot the item sits in - * @param modSlot slot the mod sits in - * @param modSpawnChances Chances for various mod spawns - * @returns boolean true if it should spawn - */ - protected shouldModBeSpawned(itemSlot: Slot, modSlot: string, modSpawnChances: ModsChances): boolean; - /** - * Get a list of containers that hold ammo - * e.g. mod_magazine - * @returns string array - */ - protected getAmmoContainers(): string[]; - /** - * Get the slot details for an item (chamber/cartridge/slot) - * @param modSlot e.g patron_in_weapon - * @param parentTemplate item template - * @returns - */ - protected getModItemSlot(modSlot: string, parentTemplate: ITemplateItem): Slot; - /** - * With the shotgun revolver (60db29ce99594040e04c4a27) 12.12 introduced CylinderMagazines. - * Those magazines (e.g. 60dc519adf4c47305f6d410d) have a "Cartridges" entry with a _max_count=0. - * Ammo is not put into the magazine directly but assigned to the magazine's slots: The "camora_xxx" slots. - * This function is a helper called by generateModsForItem for mods with parent type "CylinderMagazine" - * - * @param {object} items The items where the CylinderMagazine's camora are appended to - * @param {object} modPool modPool which should include available cartrigdes - * @param {string} parentId The CylinderMagazine's UID - * @param {object} parentTemplate The CylinderMagazine's template - */ - protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; - /** - * Take a record of camoras and merge the compatable shells into one array - * @param camorasWithShells camoras we want to merge into one array - * @returns string array of shells fro luitple camora sources - */ - protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; - generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { - upd?: Upd; - }; - /** - * Create a repairable object for a weapon that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateWeaponRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - /** - * Create a repairable object for an armor that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateArmorRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - protected getModTplFromItemDb(modTpl: string, parentSlot: Slot, modSlot: string, items: Item[]): string; - /** - * Sort by spawn chance, highest to lowest, higher is more common - * @param unsortedModArray String array to sort - * @returns Sorted string array - */ - protected sortModArray(unsortedModArray: string[]): string[]; - /** - * Can an item be added to an item without issue - * @param items - * @param tplToCheck - * @param equipmentSlot - * @returns true if possible - */ - isItemIncompatibleWithCurrentItems(items: Item[], tplToCheck: string, equipmentSlot: string): boolean; - /** - * Adds an item with all its childern into specified equipmentSlots, wherever it fits. - * @param equipmentSlots - * @param parentId - * @param parentTpl - * @param itemWithChildren - * @param inventory - * @returns a `boolean` indicating item was added - */ - addItemWithChildrenToEquipmentSlot(equipmentSlots: string[], parentId: string, parentTpl: string, itemWithChildren: Item[], inventory: PmcInventory): boolean; - protected itemAllowedInContainer(slot: Grid, itemTpl: string): boolean; -} -export declare class ExhaustableArray { - private itemPool; - private randomUtil; - private jsonUtil; - private pool; - constructor(itemPool: T[], randomUtil: RandomUtil, jsonUtil: JsonUtil); - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/BotHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/BotHelper.d.ts deleted file mode 100644 index 9b89481..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/BotHelper.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Difficulty, IBotType } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, configServer: ConfigServer); - getBotDifficultySettings(type: string, difficulty: string): Difficulty; - getBotTemplate(role: string): IBotType; - getPmcDifficultySettings(type: string, difficulty: string): Difficulty; - /** - * Randomise the chance the PMC will attack their own side - * @param difficultySettings pmc difficulty settings - */ - randomisePmcHostility(difficultySettings: Difficulty): void; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - /** - * Add a bot to the FRIENDLY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typeToAdd bot type to add to friendly list - */ - addBotToFriendlyList(difficultySettings: Difficulty, typeToAdd: string): void; - /** - * Add a bot to the ENEMY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to enemy list - */ - addBotToEnemyList(difficultySettings: Difficulty, typesToAdd: string[], typeBeingEdited: string): void; - /** - * Add a bot to the REVENGE_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to revenge list - */ - addBotToRevengeList(difficultySettings: Difficulty, typesToAdd: string[]): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ContainerHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ContainerHelper.d.ts deleted file mode 100644 index 3c2ee93..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ContainerHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export declare class FindSlotResult { - success: boolean; - x: any; - y: any; - rotation: boolean; - constructor(success?: boolean, x?: any, y?: any, rotation?: boolean); -} -export declare class ContainerHelper { - protected locateSlot(container2D: number[][], containerX: number, containerY: number, x: number, y: number, itemW: number, itemH: number): boolean; - findSlotForItem(container2D: number[][], itemWidth: number, itemHeight: number): FindSlotResult; - fillContainerMapWithItem(container2D: number[][], x: number, y: number, itemW: number, itemH: number, rotate: boolean): any; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/DialogueHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/DialogueHelper.d.ts deleted file mode 100644 index e3e2bda..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/DialogueHelper.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { Dialogue, MessageContent, MessagePreview } from "../models/eft/profile/IAkiProfile"; -import { MessageType } from "../models/enums/MessageType"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -import { ItemHelper } from "./ItemHelper"; -import { NotificationSendHelper } from "./NotificationSendHelper"; -import { NotifierHelper } from "./NotifierHelper"; -export declare class DialogueHelper { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected notificationSendHelper: NotificationSendHelper; - protected itemHelper: ItemHelper; - constructor(hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, notificationSendHelper: NotificationSendHelper, itemHelper: ItemHelper); - createMessageContext(templateId: string, messageType: MessageType, maxStoreTime: number): MessageContent; - /** - * Add a templated message to the dialogue. - * @param dialogueID - * @param messageContent - * @param sessionID - * @param rewards - */ - addDialogueMessage(dialogueID: string, messageContent: MessageContent, sessionID: string, rewards?: any[]): void; - /** - * Get the preview contents of the last message in a dialogue. - * @param dialogue - * @returns - */ - getMessagePreview(dialogue: Dialogue): MessagePreview; - /** - * Get the item contents for a particular message. - * @param messageID - * @param sessionID - * @returns - */ - getMessageItemContents(messageID: string, sessionID: string): Item[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/DurabilityLimitsHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/DurabilityLimitsHelper.d.ts deleted file mode 100644 index 07a5db1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/DurabilityLimitsHelper.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotHelper } from "./BotHelper"; -export declare class DurabilityLimitsHelper { - protected randomUtil: RandomUtil; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(randomUtil: RandomUtil, botHelper: BotHelper, configServer: ConfigServer); - getRandomisedMaxWeaponDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedMaxArmorDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedWeaponDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - getRandomisedArmorDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - protected generateMaxWeaponDurability(botRole: string): number; - protected generateMaxPmcArmorDurability(itemMaxDurability: number): number; - protected getLowestMaxWeaponFromConfig(botRole: string): number; - protected getHighestMaxWeaponDurabilityFromConfig(botRole: string): number; - protected generateWeaponDurability(botRole: string, maxDurability: number): number; - protected generateArmorDurability(botRole: string, maxDurability: number): number; - protected getMinWeaponDeltaFromConfig(botRole: string): number; - protected getMaxWeaponDeltaFromConfig(botRole: string): number; - protected getMinArmorDeltaFromConfig(botRole: string): number; - protected getMaxArmorDeltaFromConfig(botRole: string): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/GameEventHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/GameEventHelper.d.ts deleted file mode 100644 index 7613053..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/GameEventHelper.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class GameEventHelper { - protected databaseServer: DatabaseServer; - constructor(databaseServer: DatabaseServer); - get events(): Record; - get christmasEventItems(): string[]; - itemIsChristmasRelated(itemId: string): boolean; - christmasEventEnabled(): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HandbookHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HandbookHelper.d.ts deleted file mode 100644 index b47d466..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HandbookHelper.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare class LookupItem { - byId: Record; - byParent: Record; - constructor(); -} -export declare class LookupCollection { - items: LookupItem; - categories: LookupItem; - constructor(); -} -export declare class HandbookHelper { - protected lookup: LookupCollection; - hydrateLookup(lookup: LookupCollection): void; - getTemplatePrice(x: string): number; - templatesWithParent(x: string): string[]; - isCategory(x: string): boolean; - childrenCategories(x: string): string[]; - /** - * Gets Currency to Ruble conversion Value - * @param {number} value - * @param {string} currencyFrom - * @returns number - */ - inRUB(value: number, currencyFrom: string): number; - /** - * Gets Ruble to Currency conversion Value - * @param {number} value - * @param {string} currencyTo - * @returns number - */ - fromRUB(value: number, currencyTo: string): number; -} -export {}; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HealthHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HealthHelper.d.ts deleted file mode 100644 index 3116c9c..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HealthHelper.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "../models/spt/config/IHealthConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HealthHelper { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected configServer: ConfigServer; - protected healthConfig: IHealthConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); - /** - * Resets the profiles vitality/healh and vitality/effects properties to their defaults - * @param sessionID Session Id - * @returns updated profile - */ - resetVitality(sessionID: string): IAkiProfile; - /** - * Update player profile with changes from request object - * @param pmcData Player profile - * @param info Request object - * @param sessionID Session id - * @param addEffects Should effects be added or removed (default - add) - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - protected saveHealth(pmcData: IPmcData, sessionID: string): void; - /** - * Save effects to profile - * Works by removing all effects and adding them back from profile - * Remoces empty 'Effects' objects if found - * @param pmcData Player profile - * @param sessionID Session id - * @param addEffects Should effects be added back to profile - * @returns - */ - protected saveEffects(pmcData: IPmcData, sessionID: string, addEffects: boolean): void; - /** - * Add effect to body part in profile - * @param pmcData Player profile - * @param effectBodyPart body part to edit - * @param effectType Effect to add to body part - */ - protected addEffect(pmcData: IPmcData, effectBodyPart: string, effectType: string): void; - protected isEmpty(map: any): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HideoutHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HideoutHelper.d.ts deleted file mode 100644 index 36e4009..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HideoutHelper.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Common, HideoutArea, Production, Productive } from "../models/eft/common/tables/IBotBase"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { StageBonus } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class HideoutHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected inventoryHelper: InventoryHelper; - protected playerService: PlayerService; - protected configServer: ConfigServer; - 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; - /** - * This convinience function intialies new Production Object - * with all the constants. - */ - initProduction(recipeId: string, productionTime: number): Production; - isProductionType(productive: Productive): productive is Production; - applyPlayerUpgradesBonuses(pmcData: IPmcData, bonus: StageBonus): void; - protected applySkillXPBoost(pmcData: IPmcData, bonus: StageBonus): void; - updatePlayerHideout(sessionID: string): void; - protected updateWaterCollector(sessionId: string, pmcData: IPmcData, area: HideoutArea, isGeneratorOn: boolean): void; - protected doesWaterCollectorHaveFilter(waterCollector: HideoutArea): boolean; - protected updateFuel(generatorArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateWaterFilters(waterFilterArea: HideoutArea, pwProd: Production, isGeneratorOn: boolean, pmcData: IPmcData): HideoutArea; - protected getAreaUpdObject(stackCount: number, resourceValue: number, resourceUnitsConsumed: number): Upd; - protected updateAirFilters(airFilterArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateBitcoinFarm(pmcData: IPmcData, btcFarmCGs: number, isGeneratorOn: boolean): Production; - protected getBTCSlots(pmcData: IPmcData): number; - protected getManagementSkillsSlots(): number; - protected hasManagementSkillSlots(pmcData: IPmcData): boolean; - protected getHideoutManagementSkill(pmcData: IPmcData): Common; - protected getHideoutManagementConsumptionBonus(pmcData: IPmcData): number; - isProduction(productive: Productive): productive is Production; - getBTC(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HttpServerHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HttpServerHelper.d.ts deleted file mode 100644 index c6e5296..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/HttpServerHelper.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HttpServerHelper { - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected mime: { - css: string; - bin: string; - html: string; - jpg: string; - js: string; - json: string; - png: string; - svg: string; - txt: string; - }; - constructor(configServer: ConfigServer); - getMimeText(key: string): string; - buildUrl(): string; - getBackendUrl(): string; - getWebsocketUrl(): string; - sendTextJson(resp: any, output: any): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/InRaidHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/InRaidHelper.d.ts deleted file mode 100644 index c3cbfbb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/InRaidHelper.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Victim } from "../models/eft/common/tables/IBotBase"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { PaymentHelper } from "./PaymentHelper"; -export declare class InRaidHelper { - protected logger: ILogger; - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, saveServer: SaveServer, jsonUtil: JsonUtil, databaseServer: DatabaseServer, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Reset the SPT inraid property stored in a profile to 'none' - * @param sessionID Session id - */ - protected removePlayer(sessionID: string): void; - /** - * Some maps have one-time-use keys (e.g. Labs - * Remove the relevant key from an inventory based on the post-raid request data passed in - * @param offraidData post-raid data - * @param sessionID Session id - */ - protected removeMapAccessKey(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Check an array of items and add an upd object to money items with a stack count of 1 - * Single stack money items have no upd object and thus no StackObjectsCount, causing issues - * @param items Items array to check - */ - addUpdToMoneyFromRaid(items: Item[]): void; - /** - * Add karma changes up and return the new value - * @param existingFenceStanding Current fence standing level - * @param victims Array of kills player performed - * @returns adjusted karma level after kills are taken into account - */ - calculateFenceStandingChangeFromKills(existingFenceStanding: number, victims: Victim[]): number; - /** - * Reset a profile to a baseline, used post-raid - * Reset points earned during session property - * Increment exp - * Remove Labs keycard - * @param profileData Profile to update - * @param saveProgressRequest post raid save data request data - * @param sessionID Sessino id - * @returns Reset profile object - */ - updateProfileBaseStats(profileData: IPmcData, saveProgressRequest: ISaveProgressRequestData, sessionID: string): IPmcData; - /** - * Adds SpawnedInSession property to items found in a raid - * Removes SpawnedInSession for non-scav players if item was taken into raid with SpawnedInSession = true - * @param preRaidProfile profile to update - * @param postRaidProfile profile to upate inventory contents of - * @param isPlayerScav Was this a p scav raid - * @returns - */ - addSpawnedInSessionPropertyToItems(preRaidProfile: IPmcData, postRaidProfile: IPmcData, isPlayerScav: boolean): IPmcData; - /** - * Iterate over inventory items and remove the property that defines an item as Found in Raid - * Only removes property if item had FiR when entering raid - * @param postRaidProfile profile to update items for - * @returns Updated profile with SpawnedInSession removed - */ - removeSpawnedInSessionPropertyFromItems(postRaidProfile: IPmcData): IPmcData; - /** - * Update a players inventory post-raid - * Remove equipped items from pre-raid - * Add new items found in raid to profile - * Store insurance items in profile - * @param sessionID - * @param pmcData Profile to update - * @param postRaidProfile Profile returned by client after a raid - * @returns Updated profile - */ - setInventory(sessionID: string, pmcData: IPmcData, postRaidProfile: IPmcData): IPmcData; - /** - * Clear pmc inventory of all items except those that are exempt - * Used post-raid to remove items after death - * @param pmcData Player profile - * @param sessionID Session id - * @returns Player profile with pmc inventory cleared - */ - deleteInventory(pmcData: IPmcData, sessionID: string): IPmcData; - /** - * Does the provided items slotId mean its kept on the player after death - * @param slotId slotid of item to check - * @returns true if item is kept after death - */ - isItemKeptAfterDeath(slotId: string): boolean; - getPlayerGear(items: Item[]): Item[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/InventoryHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/InventoryHelper.d.ts deleted file mode 100644 index dc7cbca..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/InventoryHelper.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig } from "../models/spt/config/IInventoryConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class InventoryHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected httpResponse: HttpResponseUtil; - protected fenceService: FenceService; - protected databaseServer: DatabaseServer; - protected paymentHelper: PaymentHelper; - protected traderAssortHelper: TraderAssortHelper; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected containerHelper: ContainerHelper; - protected profileHelper: ProfileHelper; - protected configServer: ConfigServer; - protected inventoryConfig: IInventoryConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, httpResponse: HttpResponseUtil, fenceService: FenceService, databaseServer: DatabaseServer, paymentHelper: PaymentHelper, traderAssortHelper: TraderAssortHelper, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, containerHelper: ContainerHelper, profileHelper: ProfileHelper, configServer: ConfigServer); - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - getItemSize(itemTpl: string, itemID: string, inventoryItem: Item[]): Record; - protected getSizeByInventoryItemHash(itemTpl: string, itemID: string, inventoryItemHash: InventoryHelper.InventoryItemHash): Record; - protected getInventoryItemHash(inventoryItem: Item[]): InventoryHelper.InventoryItemHash; - getContainerMap(containerW: number, containerH: number, itemList: Item[], containerId: string): number[][]; - /** - * Based on the item action, determine whose inventories we should be looking at for from and to. - */ - getOwnerInventoryItems(body: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData, sessionID: string): OwnerInventoryItems; - /** - * Made a 2d array table with 0 - free slot and 1 - used slot - * @param {Object} pmcData - * @param {string} sessionID - * @returns Array - */ - protected getStashSlotMap(pmcData: IPmcData, sessionID: string): number[][]; - protected getStashType(sessionID: string): string; - protected getPlayerStashSize(sessionID: string): Record; - /** - * Internal helper function to transfer an item from one profile to another. - * fromProfileData: Profile of the source. - * toProfileData: Profile of the destination. - * body: Move request - */ - moveItemToProfile(fromItems: Item[], toItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to move item within the same profile_f. - */ - moveItemInternal(inventoryItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to handle cartridges in inventory if any of them exist. - */ - protected handleCartridges(items: Item[], body: IInventoryMoveRequestData): void; -} -declare namespace InventoryHelper { - interface InventoryItemHash { - byItemId: Record; - byParentId: Record; - } -} -export {}; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ItemHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ItemHelper.d.ts deleted file mode 100644 index 1701c62..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ItemHelper.d.ts +++ /dev/null @@ -1,206 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { InsuredItem } from "../models/eft/common/tables/IBotBase"; -import { Item, Repairable } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -declare class ItemHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Checks if a id is a valid item. Valid meaning that it's an item that be stored in stash - * @param {string} tpl the template id / tpl - * @returns boolean; true for items that may be in player posession and not quest items - */ - isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; - /** - * Checks if an id is a valid item. Valid meaning that it's an item that may be a reward - * or content of bot loot. Items that are tested as valid may be in a player backpack or stash. - * @param {*} tpl template id of item to check - * @returns boolean: true if item is valid reward - */ - isValidRewardItem(tpl: string): boolean; - /** - * Picks rewardable items from items.json. This means they need to fit into the inventory and they shouldn't be keys (debatable) - * @returns a list of rewardable items [[_tpl, itemTemplate],...] - */ - getRewardableItems(): [string, ITemplateItem][]; - /** - * Check if the tpl / template Id provided is a descendent of the baseclass - * - * @param {string} tpl the item template id to check - * @param {string} baseclassTpl the baseclass to check for - * @return {boolean} is the tpl a descendent? - */ - isOfBaseclass(tpl: string, baseclassTpl: string): boolean; - /** - * Returns the item price based on the handbook or as a fallback from the prices.json if the item is not - * found in the handbook. If the price can't be found at all return 0 - * - * @param {string} tpl the item template to check - * @returns {integer} The price of the item or 0 if not found - */ - getItemPrice(tpl: string): number; - fixItemStackCount(item: Item): Item; - /** - * AmmoBoxes contain StackSlots which need to be filled for the AmmoBox to have content. - * Here's what a filled AmmoBox looks like: - * { - * "_id": "b1bbe982daa00ac841d4ae4d", - * "_tpl": "57372c89245977685d4159b1", - * "parentId": "5fe49a0e2694b0755a504876", - * "slotId": "hideout", - * "location": { - * "x": 3, - * "y": 4, - * "r": 0 - * }, - * "upd": { - * "StackObjectsCount": 1 - * } - * }, - * { - * "_id": "b997b4117199033afd274a06", - * "_tpl": "56dff061d2720bb5668b4567", - * "parentId": "b1bbe982daa00ac841d4ae4d", - * "slotId": "cartridges", - * "location": 0, - * "upd": { - * "StackObjectsCount": 30 - * } - * } - * Given the AmmoBox Item (first object) this function generates the StackSlot (second object) and returns it. - * StackSlots are only used for AmmoBoxes which only have one element in StackSlots. However, it seems to be generic - * to possibly also have more than one StackSlot. As good as possible, without seeing items having more than one - * StackSlot, this function takes account of this and creates and returns an array of StackSlotItems - * - * @param {object} item The item template of the AmmoBox as given in items.json - * @param {string} parentId The id of the AmmoBox instance these StackSlotItems should be children of - * @returns {array} The array of StackSlotItems - */ - generateItemsFromStackSlot(item: ITemplateItem, parentId: string): Item[]; - /** - * Gets item data from items.json - * @param tpl items template id to look up - * @returns bool - is valid + template item object as array - */ - getItem(tpl: string): [boolean, ITemplateItem]; - /** - * get normalized value (0-1) based on item condition - * @param item - * @returns number between 0 and 1 - */ - getItemQualityModifier(item: Item): number; - /** - * Get a quality value based on a repairable items (weapon/armor) current state between current and max durability - * @param itemDetails - * @param repairable repairable object - * @param item - * @returns a number between 0 and 1 - */ - protected getRepairableItemQualityValue(itemDetails: ITemplateItem, repairable: Repairable, item: Item): number; - /** - * Recursive function that looks at every item from parameter and gets their childrens Ids - * @param items - * @param itemID - * @returns an array of strings - */ - findAndReturnChildrenByItems(items: Item[], itemID: string): string[]; - /** - * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. - * @param items - * @param baseItemId - * @returns An array of Item objects - */ - findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; - /** - * Find children of the item in a given assort (weapons parts for example, need recursive loop function) - * @param itemIdToFind Template id of item to check for - * @param assort Array of items to check in - * @returns Array of children of requested item - */ - findAndReturnChildrenByAssort(itemIdToFind: string, assort: Item[]): Item[]; - /** - * Check if the passed in item has buy count restrictions - * @param itemToCheck Item to check - * @returns true if it has buy restrictions - */ - hasBuyRestrictions(itemToCheck: Item): boolean; - /** - * is the passed in template id a dog tag - * @param tpl Template id to check - * @returns true if it is a dogtag - */ - isDogtag(tpl: string): boolean; - /** - * Can the item passed in be sold to a trader because it is raw money - * @param tpl Item template id to check - * @returns true if unsellable - */ - isNotSellable(tpl: string): boolean; - /** - * Gets the identifier for a child using slotId, locationX and locationY. - * @param item - * @returns "slotId OR slotid,locationX,locationY" - */ - getChildId(item: Item): string; - /** - * Can the pased in item be stacked - * @param tpl item to check - * @returns true if it can be stacked - */ - isItemTplStackable(tpl: string): boolean; - /** - * split item stack if it exceeds StackMaxSize - */ - splitStack(item: Item): Item[]; - /** - * Find Barter items in the inventory - * @param {string} by - * @param {Object} pmcData - * @param {string} barterItemId - * @returns Array of Item objects - */ - findBarterItems(by: string, pmcData: IPmcData, barterItemId: string): Item[]; - /** - * - * @param pmcData - * @param items - * @param insuredItems insured items to not replace ids for - * @param fastPanel - * @returns - */ - replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): any[]; - /** - * Recursivly loop down through an items hierarchy to see if any of the ids match the supplied list, return true if any do - * @param {string} tpl - * @param {Array} tplsToCheck - * @returns boolean - */ - doesItemOrParentsIdMatch(tpl: string, tplsToCheck: string[]): boolean; - /** - * Return true if item is a quest item - * @param {string} tpl - * @returns boolean - */ - isQuestItem(tpl: string): boolean; - /** - * Get the inventory size of an item - * @param items - * @param rootItemId - * @returns ItemSize object (width and height) - */ - getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize; -} -declare namespace ItemHelper { - interface ItemSize { - width: number; - height: number; - } -} -export { ItemHelper }; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/NotificationSendHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/NotificationSendHelper.d.ts deleted file mode 100644 index 34e62d9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/NotificationSendHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { NotificationService } from "../services/NotificationService"; -export declare class NotificationSendHelper { - protected httpServer: IHttpServer; - protected notificationService: NotificationService; - constructor(httpServer: IHttpServer, notificationService: NotificationService); - /** - * Send notification message to the appropiate channel - */ - sendMessage(sessionID: string, notificationMessage: INotification): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/NotifierHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/NotifierHelper.d.ts deleted file mode 100644 index 738b69a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/NotifierHelper.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { Message, MessageContentRagfair } from "../models/eft/profile/IAkiProfile"; -import { HttpServerHelper } from "./HttpServerHelper"; -export declare class NotifierHelper { - protected httpServerHelper: HttpServerHelper; - /** - * The default notification sent when waiting times out. - */ - protected defaultNotification: INotification; - constructor(httpServerHelper: HttpServerHelper); - getDefaultNotification(): INotification; - /** Creates a new notification that displays the "Your offer was sold!" prompt and removes sold offer from "My Offers" on clientside */ - createRagfairOfferSoldNotification(dialogueMessage: Message, ragfairData: MessageContentRagfair): INotification; - /** Creates a new notification with the specified dialogueMessage object. */ - createNewMessageNotification(dialogueMessage: Message): INotification; - getWebSocketServer(sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/PaymentHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/PaymentHelper.d.ts deleted file mode 100644 index 2d068a4..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/PaymentHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export declare class PaymentHelper { - /** - * Check whether tpl is Money - * @param {string} tpl - * @returns void - */ - isMoneyTpl(tpl: string): boolean; - /** - * Gets currency TPL from TAG - * @param {string} currency - * @returns string - */ - getCurrency(currency: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/PresetHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/PresetHelper.d.ts deleted file mode 100644 index a469582..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/PresetHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Preset } from "../models/eft/common/IGlobals"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class PresetHelper { - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected lookup: Record; - constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); - hydratePresetStore(input: Record): void; - isPreset(id: string): boolean; - hasPreset(templateId: string): boolean; - getPreset(id: string): Preset; - getPresets(templateId: string): Preset[]; - getDefaultPreset(templateId: string): Preset; - getBaseItemTpl(presetId: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ProbabilityHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ProbabilityHelper.d.ts deleted file mode 100644 index 7a0676c..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ProbabilityHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ProbabilityHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - constructor(logger: ILogger, randomUtil: RandomUtil); - /** - * Chance to roll a number out of 100 - * @param chance Percentage chance roll should success - * @param scale scale of chance to allow support of numbers > 1-100 - * @returns true if success - */ - rollChance(chance: number, scale?: number): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ProfileHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ProfileHelper.d.ts deleted file mode 100644 index 6c150c8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/ProfileHelper.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Stats } from "../models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -export declare class ProfileHelper { - protected jsonUtil: JsonUtil; - protected watermark: Watermark; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected fenceService: FenceService; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, fenceService: FenceService); - resetProfileQuestCondition(sessionID: string, conditionId: string): void; - getCompleteProfile(sessionID: string): IPmcData[]; - isNicknameTaken(info: IValidateNicknameRequestData, sessionID: string): boolean; - /** - * Add experience to a PMC inside the players profile - * @param sessionID Session id - * @param experienceToAdd Experiecne to add to PMC character - */ - addExperienceToPmc(sessionID: string, experienceToAdd: number): void; - getProfileByPmcId(pmcId: string): IPmcData; - getExperience(level: number): number; - getMaxLevel(): number; - getDefaultAkiDataObject(): any; - getFullProfile(sessionID: string): IAkiProfile; - getPmcProfile(sessionID: string): IPmcData; - getScavProfile(sessionID: string): IPmcData; - getDefaultCounters(): Stats; - protected isWiped(sessionID: string): boolean; - protected getServerVersion(): string; - /** - * Iterate over player profile inventory items and find the secure container and remove it - * @param profile Profile to remove secure container from - * @returns profile without secure container - */ - removeSecureContainer(profile: IPmcData): IPmcData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/QuestConditionHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/QuestConditionHelper.d.ts deleted file mode 100644 index 90ee560..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/QuestConditionHelper.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { AvailableForConditions } from "../models/eft/common/tables/IQuest"; -export declare class QuestConditionHelper { - getQuestConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLevelConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLoyaltyConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - protected filterConditions(q: AvailableForConditions[], questType: string, furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/QuestHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/QuestHelper.d.ts deleted file mode 100644 index 0f68cd5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/QuestHelper.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { AvailableForConditions, AvailableForProps, IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { QuestStatus } from "../models/enums/QuestStatus"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { TraderHelper } from "./TraderHelper"; -export declare class QuestHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - protected ragfairServerHelper: RagfairServerHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected traderHelper: TraderHelper; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); - questStatus(pmcData: IPmcData, questID: string): QuestStatus; - /** - * returns true is the condition is satisfied - */ - evaluateLevel(pmcProfile: IPmcData, cond: AvailableForConditions): boolean; - getDeltaQuests(before: IQuest[], after: IQuest[]): IQuest[]; - rewardSkillPoints(sessionID: string, pmcData: IPmcData, output: IItemEventRouterResponse, skillName: string, progress: number): void; - getQuestLocale(questId: string): any; - /** - * Debug Routine for showing some information on the - * quest list in question. - */ - dumpQuests(quests: any): void; - loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; - protected processReward(reward: Reward): any[]; - getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; - /** - * Add quest with new state value to pmc profile - * @param pmcData profile to add quest to - * @param newState state the new quest should be in when added - * @param acceptedQuest Details of quest being added - */ - addQuestToPMCData(pmcData: IPmcData, newState: QuestStatus, acceptedQuest: IAcceptQuestRequestData): void; - acceptedUnlocked(acceptedQuestId: string, sessionID: string): IQuest[]; - failedUnlocked(failedQuestId: string, sessionID: string): IQuest[]; - applyMoneyBoost(quest: IQuest, moneyBoost: number): IQuest; - changeItemStack(pmcData: IPmcData, id: string, value: number, sessionID: string, output: any): void; - /** - * Get List of All Quests as an array - * @returns Array of IQuest objects - */ - questValues(): IQuest[]; - /** - * Reest AvailableForStart conditions for quests - * @param quests queststo clean - * @returns quest array without conditions - */ - protected cleanQuestList(quests: IQuest[]): IQuest[]; - /** - * Reset AvailableForStart conditions on a quest - * @param quest quest to clean - * @returns reset IQuest object - */ - cleanQuestConditions(quest: IQuest): IQuest; - failQuest(pmcData: IPmcData, body: any, sessionID: string): any; - /** - * Get quest by id from database - * @param questId questid to look for - * @param pmcData player profile - * @returns IQuest object - */ - getQuestFromDb(questId: string, pmcData: IPmcData): IQuest; - getQuestLocaleIdFromDb(messageId: string): string; - /** - * Alter a quests state + Add a record to tis status timers object - * @param pmcData Profile to update - * @param newQuestState new state the qeust should be in - * @param questId id of the quest to alter the status of - */ - updateQuestState(pmcData: IPmcData, newQuestState: QuestStatus, questId: string): void; - /** - * Give player quest rewards - Skills/exp/trader standing/items/assort unlocks - * @param pmcData Player profile - * @param body complete quest request - * @param state State of the quest now its complete - * @param sessionID Seession id - * @returns array of reward objects - */ - applyQuestReward(pmcData: IPmcData, body: ICompleteQuestRequestData, state: QuestStatus, sessionID: string): Reward[]; - /** - * Get the intel center bonus a player has - * @param pmcData player profile - * @returns bonus in percent - */ - protected getIntelCenterRewardBonus(pmcData: IPmcData): number; - getFindItemIdForQuestItem(itemTpl: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairHelper.d.ts deleted file mode 100644 index 2c8dbb5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairHelper.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairLinkedItemService } from "../services/RagfairLinkedItemService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -import { UtilityHelper } from "./UtilityHelper"; -export declare class RagfairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected traderAssortHelper: TraderAssortHelper; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected ragfairLinkedItemService: RagfairLinkedItemService; - protected utilityHelper: UtilityHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, traderAssortHelper: TraderAssortHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, ragfairLinkedItemService: RagfairLinkedItemService, utilityHelper: UtilityHelper, configServer: ConfigServer); - /** - * Gets currency TAG from TPL - * @param {string} currency - * @returns string - */ - getCurrencyTag(currency: string): string; - filterCategories(sessionID: string, info: ISearchRequestData): string[]; - getDisplayableAssorts(sessionID: string): Record; - protected getCategoryList(handbookId: string): string[]; - countCategories(result: IGetOffersResult): void; - /** - * Merges Root Items - * Ragfair allows abnormally large stacks. - */ - mergeStackable(items: Item[]): Item[]; - getCurrencySymbol(currencyTpl: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairOfferHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairOfferHelper.d.ts deleted file mode 100644 index 8d03bee..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairOfferHelper.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { PresetHelper } from "./PresetHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairHelper } from "./RagfairHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { RagfairSortHelper } from "./RagfairSortHelper"; -export declare class RagfairOfferHelper { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected paymentHelper: PaymentHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - 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); - getValidOffers(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - getOffersForBuild(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - processOffers(sessionID: string): boolean; - protected getProfileOffers(sessionID: string): IRagfairOffer[]; - protected deleteOfferByOfferId(sessionID: string, offerId: string): void; - protected completeOffer(sessionID: string, offer: IRagfairOffer, boughtAmount: number): IItemEventRouterResponse; - isDisplayableOffer(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, offer: IRagfairOffer, pmcProfile: IPmcData): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairSellHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairSellHelper.d.ts deleted file mode 100644 index 6ec004a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairSellHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { SellResult } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairSellHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateSellChance(baseChance: number, offerPrice: number, requirementsPriceInRub: number): number; - rollForSale(sellChance: number, count: number): SellResult[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairServerHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairServerHelper.d.ts deleted file mode 100644 index e4939d1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairServerHelper.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "../models/enums/MemberCategory"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class RagfairServerHelper { - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected itemHelper: ItemHelper; - protected localeService: LocaleService; - protected dialogueHelper: DialogueHelper; - protected jsonUtil: JsonUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected questConfig: IQuestConfig; - protected static 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 - * @param itemDetails - * @returns boolean - */ - isItemValidRagfairItem(itemDetails: [boolean, ITemplateItem]): boolean; - protected isItemBlacklisted(itemTemplateId: string): boolean; - isTrader(userID: string): boolean; - isPlayer(userID: string): boolean; - returnItems(sessionID: string, items: any[]): void; - calculateDynamicStackCount(tplId: string, isWeaponPreset: boolean): number; - getDynamicOfferCurrency(): string; - getMemberType(userID: string): MemberCategory; - getNickname(userID: string): string; - getPresetItems(item: any): Item[]; - getPresetItemsByTpl(item: Item): Item[]; - reparentPresets(item: Item, preset: Item[]): Item[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairSortHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairSortHelper.d.ts deleted file mode 100644 index d20e10c..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairSortHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -export declare class RagfairSortHelper { - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - constructor(databaseServer: DatabaseServer, localeService: LocaleService); - sortOffers(offers: IRagfairOffer[], type: number, direction?: number): IRagfairOffer[]; - protected sortOffersByID(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByRating(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByName(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByPrice(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByExpiry(a: IRagfairOffer, b: IRagfairOffer): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairTaxHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairTaxHelper.d.ts deleted file mode 100644 index 820facb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RagfairTaxHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { ItemHelper } from "./ItemHelper"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairTaxHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected itemHelper: ItemHelper; - constructor(logger: ILogger, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, itemHelper: ItemHelper); - calculateTax(item: Item, pmcData: IPmcData, requirementsValue: number, offerItemCount: number, sellInOnePiece: boolean): number; - protected calculateItemWorth(item: Item, itemTemplate: ITemplateItem, itemCount: number, pmcData: IPmcData, isRootItem?: boolean): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RepairHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RepairHelper.d.ts deleted file mode 100644 index 9a3ab29..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/RepairHelper.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RepairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, configServer: ConfigServer); - updateItemDurability(itemToRepair: Item, itemToRepairDetails: ITemplateItem, isArmor: boolean, amountToRepair: number, useRepairKit?: boolean, applyRandomDegradation?: boolean): Item; - protected getRandomisedArmorRepairDegredationValue(armorMaterial: string, isRepairKit: boolean, armorMax: number): number; - protected getRandomisedWeaponRepairDegredationValue(itemProps: Props, isRepairKit: boolean, armorMax: number): number; - isWeaponTemplate(tpl: string): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/SecureContainerHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/SecureContainerHelper.d.ts deleted file mode 100644 index 9e2bc32..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/SecureContainerHelper.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ItemHelper } from "./ItemHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class SecureContainerHelper { - protected itemHelper: ItemHelper; - constructor(itemHelper: ItemHelper); - getSecureContainerItems(items: Item[]): string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TradeHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TradeHelper.d.ts deleted file mode 100644 index 975062b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TradeHelper.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item, Upd } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { RagfairServer } from "../servers/RagfairServer"; -import { FenceService } from "../services/FenceService"; -import { PaymentService } from "../services/PaymentService"; -export declare class TradeHelper { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected fenceService: FenceService; - protected inventoryHelper: InventoryHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, traderHelper: TraderHelper, itemHelper: ItemHelper, paymentService: PaymentService, fenceService: FenceService, inventoryHelper: InventoryHelper, ragfairServer: RagfairServer); - /** - * Buy item from flea or trader - * @param pmcData - * @param buyRequestData data from client - * @param sessionID - * @param foundInRaid - * @param upd optional item details used when buying from flea - * @returns - */ - buyItem(pmcData: IPmcData, buyRequestData: IProcessBuyTradeRequestData, sessionID: string, foundInRaid: boolean, upd: Upd): IItemEventRouterResponse; - /** - * Sell item to trader - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - sellItem(pmcData: IPmcData, body: IProcessSellTradeRequestData, sessionID: string): IItemEventRouterResponse; - protected incrementAssortBuyCount(assortBeingPurchased: Item, itemsPurchasedCount: number): void; - protected checkPurchaseIsWithinTraderItemLimit(assortBeingPurchased: Item, assortId: string, count: number): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TraderAssortHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TraderAssortHelper.d.ts deleted file mode 100644 index 91ba6b9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TraderAssortHelper.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { RagfairAssortGenerator } from "../generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { AssortHelper } from "./AssortHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderAssortHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected mathUtil: MathUtil; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected assortHelper: AssortHelper; - protected paymentHelper: PaymentHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected traderAssortService: TraderAssortService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService, configServer: ConfigServer); - /** - * Get a traders assorts - * Can be used for returning ragfair / fence assorts - * @param sessionId session id - * @param traderId trader id - * @returns a traders assorts - */ - getAssort(sessionId: string, traderId: string): ITraderAssort; - /** - * Iterate over all assorts barter_scheme values, find barters selling for money and multiply by multipler in config - * @param traderAssort Assorts to multiple price of - */ - protected multiplyItemPricesByConfigMultipler(traderAssort: ITraderAssort): void; - /** - * Get an array of pristine trader items prior to any alteration by player (as they were on server start) - * @param traderId trader id - * @returns array of Items - */ - protected getPristineTraderAssorts(traderId: string): Item[]; - /** - * Returns generated ragfair offers in a trader assort format - * @returns Trader assort object - */ - protected getRagfairDataAsTraderAssort(): ITraderAssort; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TraderHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TraderHelper.d.ts deleted file mode 100644 index b2e9d38..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/TraderHelper.d.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { PlayerService } from "../services/PlayerService"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemHelper: ItemHelper; - protected handbookHelper: HandbookHelper; - protected playerService: PlayerService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemHelper: ItemHelper, handbookHelper: HandbookHelper, playerService: PlayerService, fenceService: FenceService, configServer: ConfigServer); - getTrader(traderID: string, sessionID: string): ITraderBase; - getTraderAssortsById(traderId: string): ITraderAssort; - /** - * Reset a profiles trader data back to its initial state as seen by a level 1 player - * Does NOT take into account different profile levels - * @param sessionID session id - * @param traderID trader id to reset - */ - resetTrader(sessionID: string, traderID: string): void; - /** - * Alter a traders unlocked status - * @param traderID Trader to alter - * @param status New status to use - * @param sessionID Session id - */ - setTraderUnlockedState(traderID: string, status: boolean, sessionID: string): void; - /** - * Get a list of items and their prices from player inventory that can be sold to a trader - * @param traderID trader id being traded with - * @param sessionID session id - * @returns IBarterScheme[][] - */ - getPurchasesData(traderID: string, sessionID: string): Record; - /** - * Should item be skipped when selling to trader according to its sell categories and other checks - * @param pmcData - * @param item - * @param sellCategory - * @returns true if should NOT be sold to trader - */ - protected isItemUnSellableToTrader(pmcData: IPmcData, item: Item, sellCategory: string[]): boolean; - /** - * Can this weapon be sold to a trader with its current durabiltiy level - * @param traderID - * @param item - * @returns boolean - */ - protected isWeaponAndBelowTraderBuyDurability(traderID: string, item: Item): boolean; - /** - * Get the price of an item and all of its attached children - * Take into account bonuses/adjsutments e.g. discounts - * @param pmcData profile data - * @param item item to calculate price of - * @param buyPriceCoefficient - * @param fenceInfo fence data - * @param traderBase trader details - * @param currencyTpl Currency to get price as - * @returns price of item + children - */ - protected getAdjustedItemPrice(pmcData: IPmcData, item: Item, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderBase: ITraderBase, currencyTpl: string): number; - /** - * Get the raw price of item+child items from handbook without any modification - * @param pmcData profile data - * @param item item to calculate price of - * @returns price as number - */ - protected getRawItemPrice(pmcData: IPmcData, item: Item): number; - protected getTraderDiscount(trader: ITraderBase, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderID: string): number; - /** - * Add standing to a trader and level them up if exp goes over level threshold - * @param sessionID Session id - * @param traderId traders id - * @param standingToAdd Standing value to add to trader - */ - addStandingToTrader(sessionID: string, traderId: string, standingToAdd: number): void; - /** - * Calculate traders level based on exp amount and increments level if over threshold - * @param traderID trader to process - * @param sessionID session id - */ - lvlUp(traderID: string, sessionID: string): void; - getTraderUpdateSeconds(traderId: string): number; - /** - * check if an item is allowed to be sold to a trader - * @param traderFilters array of allowed categories - * @param tplToCheck itemTpl of inventory - * @returns boolean - */ - traderFilter(traderFilters: string[], tplToCheck: string): boolean; - getLoyaltyLevel(traderID: string, pmcData: IPmcData): LoyaltyLevel; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/UtilityHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/UtilityHelper.d.ts deleted file mode 100644 index 5d9f482..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/UtilityHelper.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare class UtilityHelper { - arrayIntersect(a: T[], b: T[]): T[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/WeightedRandomHelper.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/WeightedRandomHelper.d.ts deleted file mode 100644 index 9aa0d29..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/helpers/WeightedRandomHelper.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -export declare class WeightedRandomHelper { - /** - * Gets a tplId from a weighted dictionary - * @param {tplId: weighting[]} itemArray - * @returns tplId - */ - getWeightedInventoryItem(itemArray: { - [tplId: string]: unknown; - } | ArrayLike): string; - /** - * Picks the random item based on its weight. - * The items with higher weight will be picked more often (with a higher probability). - * - * For example: - * - items = ['banana', 'orange', 'apple'] - * - weights = [0, 0.2, 0.8] - * - weightedRandom(items, weights) in 80% of cases will return 'apple', in 20% of cases will return - * 'orange' and it will never return 'banana' (because probability of picking the banana is 0%) - * - * @param {any[]} items - * @param {number[]} weights - * @returns {{item: any, index: number}} - */ - weightedRandom(items: string | any[], weights: string | any[]): { - item: any; - index: number; - }; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/BleedingEdgeEntry.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/BleedingEdgeEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/BleedingEdgeEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/Compiler.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/Compiler.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/Compiler.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/DebugEntry.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/DebugEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/DebugEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/ReleaseEntry.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/ReleaseEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/ReleaseEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/TestEntry.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/TestEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/ide/TestEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/BundleLoader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/BundleLoader.d.ts deleted file mode 100644 index 06ad698..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/BundleLoader.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -declare class BundleInfo { - modPath: string; - key: string; - path: string; - filepath: string; - dependencyKeys: string[]; - constructor(modpath: string, bundle: any, bundlePath: string, bundleFilepath: string); -} -export declare class BundleLoader { - protected httpServerHelper: HttpServerHelper; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected bundles: Record; - constructor(httpServerHelper: HttpServerHelper, vfs: VFS, jsonUtil: JsonUtil); - getBundles(local: boolean): BundleInfo[]; - getBundle(key: string, local: boolean): BundleInfo; - addBundles(modpath: string): void; -} -export {}; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/DelayedModLoader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 7d0009f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - private bundleLoader; - private handbookController; - private vfs; - private modCompilerService; - private initialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getImportedModsNames(): string[]; - getModPath(mod: string): string; - load(): void; - private executeMods; - private addBundles; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/InitialModLoader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 5957d35..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - private logger; - private vfs; - private jsonUtil; - private modCompilerService; - private bundleLoader; - private configServer; - private static container; - private readonly basepath; - private imported; - private onLoad; - private akiConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getImportedModsNames(): string[]; - getModPath(mod: string): string; - private importClass; - private importMods; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - private getBrokenMods; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - private getModsPackageData; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - private isModSpt300Compatible; - private isModCombatibleWithAki; - private executeMods; - private sortModsLoadOrder; - private addMod; - private areModDependenciesFulfilled; - private isModCompatible; - private validMod; - private getLoadOrderRecursive; - private getLoadOrder; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PostAkiModLoader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index edc6e5d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostAkiModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected preAkiModLoader: PreAkiModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, preAkiModLoader: PreAkiModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PostDBModLoader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PostDBModLoader.d.ts deleted file mode 100644 index 5101b7b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PostDBModLoader.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "../di/OnLoad"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostDBModLoader implements OnLoad { - protected preAkiModLoader: PreAkiModLoader; - constructor(preAkiModLoader: PreAkiModLoader); - onLoad(): void; - getRoute(): string; - getModPath(mod: string): string; - protected executeMods(container: DependencyContainer): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PreAkiModLoader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 6ded3c6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt3XXCompatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/common/MinMax.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/common/MinMax.d.ts deleted file mode 100644 index bc118a8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/common/MinMax.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface MinMax { - max: number; - min: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/bot/IGenerateBotsRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/bot/IGenerateBotsRequestData.d.ts deleted file mode 100644 index c49cef7..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/bot/IGenerateBotsRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface IGenerateBotsRequestData { - conditions: Condition[]; -} -export interface Condition { - Role: string; - Limit: number; - Difficulty: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IEmptyRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IEmptyRequestData.d.ts deleted file mode 100644 index 284d16e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IEmptyRequestData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export interface IEmptyRequestData { -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IGlobals.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IGlobals.d.ts deleted file mode 100644 index 9d28dbc..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IGlobals.d.ts +++ /dev/null @@ -1,1179 +0,0 @@ -import { Item } from "./tables/IItem"; -export interface IGlobals { - time: number; - config: Config; - bot_presets: BotPreset[]; - BotWeaponScatterings: BotWeaponScattering[]; - ItemPresets: Record; -} -export interface Config { - content: Content; - AimPunchMagnitude: number; - WeaponSkillProgressRate: number; - SkillAtrophy: boolean; - exp: Exp; - t_base_looting: number; - t_base_lockpicking: number; - armor: Armor; - SessionsToShowHotKeys: number; - MaxBotsAliveOnMap: number; - SavagePlayCooldown: number; - SavagePlayCooldownNdaFree: number; - MarksmanAccuracy: number; - SavagePlayCooldownDevelop: number; - TODSkyDate: string; - Mastering: Mastering[]; - GlobalItemPriceModifier: number; - TradingUnlimitedItems: boolean; - MaxLoyaltyLevelForAll: boolean; - GlobalLootChanceModifier: number; - TimeBeforeDeploy: number; - TimeBeforeDeployLocal: number; - LoadTimeSpeedProgress: number; - BaseLoadTime: number; - BaseUnloadTime: number; - BaseCheckTime: number; - Customization: Customization; - UncheckOnShot: boolean; - BotsEnabled: boolean; - ArmorMaterials: ArmorMaterials; - LegsOverdamage: number; - HandsOverdamage: number; - StomachOverdamage: number; - Health: Health; - rating: Rating; - tournament: Tournament; - RagFair: RagFair; - handbook: Handbook; - FractureCausedByFalling: Probability; - FractureCausedByBulletHit: Probability; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - Stamina: Stamina; - StaminaRestoration: StaminaRestoration; - StaminaDrain: StaminaDrain; - RequirementReferences: RequirementReferences; - RepairKitSettings: RepairKitSettings; - RestrictionsInRaid: RestrictionsInRaid[]; - SkillMinEffectiveness: number; - SkillFatiguePerPoint: number; - SkillFreshEffectiveness: number; - SkillFreshPoints: number; - SkillPointsBeforeFatigue: number; - SkillFatigueReset: number; - DiscardLimitsEnabled: boolean; - EventType: string[]; - WalkSpeed: xyz; - SprintSpeed: xyz; - SkillEnduranceWeightThreshold: number; - TeamSearchingTimeout: number; - Insurance: Insurance; - SkillExpPerLevel: number; - GameSearchingTimeout: number; - WallContusionAbsorption: xyz; - SkillsSettings: SkillsSettings; - AzimuthPanelShowsPlayerOrientation: boolean; - Aiming: Aiming; - Malfunction: Malfunction; - Overheat: Overheat; - FenceSettings: FenceSettings; - TestValue: number; - Inertia: Inertia; - Ballistic: Ballistic; -} -export interface Content { - ip: string; - port: number; - root: string; -} -export interface Exp { - heal: Heal; - match_end: MatchEnd; - kill: Kill; - level: Level; - loot_attempts: LootAttempt[]; - expForLockedDoorOpen: number; - expForLockedDoorBreach: number; - triggerMult: number; -} -export interface Heal { - expForHeal: number; - expForHydration: number; - expForEnergy: number; -} -export interface MatchEnd { - README: string; - survived_exp_requirement: number; - survived_seconds_requirement: number; - survived_exp_reward: number; - mia_exp_reward: number; - runner_exp_reward: number; - leftMult: number; - miaMult: number; - survivedMult: number; - runnerMult: number; - killedMult: number; -} -export interface Kill { - combo: Combo[]; - victimLevelExp: number; - headShotMult: number; - expOnDamageAllHealth: number; - longShotDistance: number; - bloodLossToLitre: number; - victimBotLevelExp: number; -} -export interface Combo { - percent: number; -} -export interface Level { - exp_table: ExpTable[]; - trade_level: number; - savage_level: number; - clan_level: number; - mastering1: number; - mastering2: number; -} -export interface ExpTable { - exp: number; -} -export interface LootAttempt { - k_exp: number; -} -export interface Armor { - class: Class[]; -} -export interface Class { - resistance: number; -} -export interface Mastering { - Name: string; - Templates: string[]; - Level2: number; - Level3: number; -} -export interface Customization { - SavageHead: SavageHead; - SavageBody: SavageBody; - SavageFeet: SavageFeet; - CustomizationVoice: CustomizationVoice[]; - BodyParts: BodyParts; -} -export interface SavageHead { - wild_head_1: WildHead; - wild_head_2: WildHead; - wild_head_3: WildHead; - Wild_Dealmaker_head: WildHead; - Wild_Killa_head: WildHead; - bear_head: WildHead; - bear_head_1: WildHead; - usec_head_1: WildHead; - Head_BOSS_Glukhar: WildHead; - Wild_Head_nonMesh: WildHead; - Head_BOSS_Sanitar: WildHead; - wild_head_drozd: WildHead; - wild_head_misha: WildHead; - head_cultist_01: WildHead; - head_cultist_02: WildHead; - head_cultist_03: WildHead; - DefaultUsecHead: WildHead; - usec_head_3: WildHead; - usec_head_4: WildHead; - usec_head_5: WildHead; -} -export interface WildHead { - head: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface SavageBody { - wild_body: WildBody; - wild_body_1: WildBody; - wild_body_2: WildBody; - wild_body_3: WildBody; - Wild_Dealmaker_body: WildBody; - wild_security_body_1: WildBody; - wild_security_body_2: WildBody; - wild_Killa_body: WildBody; - wild_pmcBot_body: WildBody; - wild_Shturman_body: WildBody; - wild_Gluhar_body: WildBody; - Tshirt_security_TshirtTatu_01: WildBody; - Tshirt_security_TshirtTatu_02: WildBody; - Top_security_Husky: WildBody; - Top_security_Gorka4: WildBody; - scav_kit_upper_meteor: WildBody; - wild_body_russia1: WildBody; - Top_BOSS_Sanitar: WildBody; - wild_body_motocross: WildBody; - top_cultist_01: WildBody; - top_cultist_02: WildBody; - wild_body_rainparka: WildBody; - wild_body_underarmour: WildBody; - top_boss_tagilla: WildBody; - DefaultUsecBody: WildBody; - usec_upper_acu: WildBody; - usec_upper_commando: WildBody; - usec_upper_aggressor: WildBody; - usec_upper_hoody: WildBody; - usec_upper_pcuironsight: WildBody; - usec_top_beltstaff: WildBody; - usec_upper_flexion: WildBody; - usec_upper_tier3: WildBody; - usec_upper_pcsmulticam: WildBody; - usec_upper_tier_2: WildBody; - usec_upper_infiltrator: WildBody; - user_upper_NightPatrol: WildBody; - wild_body_bomber: WildBody; - wild_top_yellowcoat: WildBody; -} -export interface WildBody { - body: string; - hands: string; - isNotRandom: boolean; -} -export interface SavageFeet { - wild_feet: WildFeet; - wild_feet_1: WildFeet; - wild_feet_2: WildFeet; - Wild_Dealmaker_feet: WildFeet; - wild_security_feet_1: WildFeet; - Wild_Killa_feet: WildFeet; - wild_pmcBot_feet: WildFeet; - Pants_BOSS_Glukhar: WildFeet; - Pants_BOSS_Shturman: WildFeet; - Pants_security_Gorka4: WildFeet; - Pants_security_Flora: WildFeet; - scav_kit_lower_sklon: WildFeet; - Pants_BOSS_Sanitar: WildFeet; - wild_feet_sweatpants: WildFeet; - wild_feet_wasatch: WildFeet; - wild_feet_slimPants: WildFeet; - pants_cultist_01: WildFeet; - pants_cultist_02: WildFeet; - wild_feet_scavelite_taclite: WildFeet; - pants_boss_tagilla: WildFeet; - wild_feet_bomber: WildFeet; - wild_pants_yellowcoat: WildFeet; -} -export interface WildFeet { - feet: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface CustomizationVoice { - voice: string; - side: string[]; - isNotRandom: boolean; -} -export interface BodyParts { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface ArmorMaterials { - UHMWPE: ArmorType; - Aramid: ArmorType; - Combined: ArmorType; - Titan: ArmorType; - Aluminium: ArmorType; - ArmoredSteel: ArmorType; - Ceramic: ArmorType; - Glass: ArmorType; -} -export interface ArmorType { - Destructibility: number; - MinRepairDegradation: number; - MaxRepairDegradation: number; - ExplosionDestructibility: number; - MinRepairKitDegradation: number; - MaxRepairKitDegradation: number; -} -export interface Health { - Falling: Falling; - Effects: Effects; - HealPrice: HealPrice; - ProfileHealthSettings: ProfileHealthSettings; -} -export interface Falling { - DamagePerMeter: number; - SafeHeight: number; -} -export interface Effects { - Existence: Existence; - Dehydration: Dehydration; - BreakPart: BreakPart; - Contusion: Contusion; - Disorientation: Disorientation; - Exhaustion: Exhaustion; - LowEdgeHealth: LowEdgeHealth; - RadExposure: RadExposure; - Stun: Stun; - Intoxication: Intoxication; - Regeneration: Regeneration; - Wound: Wound; - Berserk: Berserk; - Flash: Flash; - MedEffect: MedEffect; - Pain: Pain; - PainKiller: PainKiller; - SandingScreen: SandingScreen; - Stimulator: Stimulator; - Tremor: Tremor; - ChronicStaminaFatigue: ChronicStaminaFatigue; - Fracture: Fracture2; - HeavyBleeding: HeavyBleeding2; - LightBleeding: LightBleeding2; - BodyTemperature: BodyTemperature; -} -export interface Existence { - EnergyLoopTime: number; - HydrationLoopTime: number; - EnergyDamage: number; - HydrationDamage: number; - DestroyedStomachEnergyTimeFactor: number; - DestroyedStomachHydrationTimeFactor: number; -} -export interface Dehydration { - DefaultDelay: number; - DefaultResidueTime: number; - BleedingHealth: number; - BleedingLoopTime: number; - BleedingLifeTime: number; - DamageOnStrongDehydration: number; - StrongDehydrationLoopTime: number; -} -export interface BreakPart { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface Contusion { - Dummy: number; -} -export interface Disorientation { - Dummy: number; -} -export interface Exhaustion { - DefaultDelay: number; - DefaultResidueTime: number; - Damage: number; - DamageLoopTime: number; -} -export interface LowEdgeHealth { - DefaultDelay: number; - DefaultResidueTime: number; - StartCommonHealth: number; -} -export interface RadExposure { - Damage: number; - DamageLoopTime: number; -} -export interface Stun { - Dummy: number; -} -export interface Intoxication { - DefaultDelay: number; - DefaultResidueTime: number; - DamageHealth: number; - HealthLoopTime: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovedAfterDeath: boolean; - HealExperience: number; - RemovePrice: number; -} -export interface Regeneration { - LoopTime: number; - MinimumHealthPercentage: number; - Energy: number; - Hydration: number; - BodyHealth: BodyHealth; - Influences: Influences; -} -export interface BodyHealth { - Head: BodyHealthValue; - Chest: BodyHealthValue; - Stomach: BodyHealthValue; - LeftArm: BodyHealthValue; - RightArm: BodyHealthValue; - LeftLeg: BodyHealthValue; - RightLeg: BodyHealthValue; -} -export interface BodyHealthValue { - Value: number; -} -export interface Influences { - LightBleeding: Influence; - HeavyBleeding: Influence; - Fracture: Influence; - RadExposure: Influence; - Intoxication: Influence; -} -export interface Influence { - HealthSlowDownPercentage: number; - EnergySlowDownPercentage: number; - HydrationSlowDownPercentage: number; -} -export interface Wound { - WorkingTime: number; - ThresholdMin: number; - ThresholdMax: number; -} -export interface Berserk { - DefaultDelay: number; - WorkingTime: number; - DefaultResidueTime: number; -} -export interface Flash { - Dummy: number; -} -export interface MedEffect { - LoopTime: number; - StartDelay: number; - DrinkStartDelay: number; - FoodStartDelay: number; - DrugsStartDelay: number; - MedKitStartDelay: number; - MedicalStartDelay: number; - StimulatorStartDelay: number; -} -export interface Pain { - TremorDelay: number; - HealExperience: number; -} -export interface PainKiller { - Dummy: number; -} -export interface SandingScreen { - Dummy: number; -} -export interface Stimulator { - BuffLoopTime: number; - Buffs: Buffs; -} -export interface Buffs { - BuffsSJ1TGLabs: Buff[]; - BuffsSJ6TGLabs: Buff[]; - BuffsPropital: Buff[]; - BuffsZagustin: Buff[]; - BuffseTGchange: Buff[]; - BuffsAdrenaline: Buff[]; - BuffsGoldenStarBalm: Buff[]; - Buffs_drink_aquamari: Buff[]; - Buffs_drink_maxenergy: Buff[]; - Buffs_drink_milk: Buff[]; - Buffs_drink_tarcola: Buff[]; - Buffs_drink_hotrod: Buff[]; - Buffs_drink_juice_army: Buff[]; - Buffs_drink_water: Buff[]; - Buffs_food_borodinskiye: Buff[]; - Buffs_food_condensed_milk: Buff[]; - Buffs_food_emelya: Buff[]; - Buffs_food_mayonez: Buff[]; - Buffs_food_mre: Buff[]; - Buffs_food_sugar: Buff[]; - Buffs_drink_vodka: Buff[]; - Buffs_drink_jack: Buff[]; - Buffs_drink_moonshine: Buff[]; - Buffs_drink_purewater: Buff[]; - Buffs_3bTG: Buff[]; - Buffs_AHF1M: Buff[]; - Buffs_L1: Buff[]; - Buffs_MULE: Buff[]; - Buffs_Meldonin: Buff[]; - Buffs_Obdolbos: Buff[]; - Buffs_P22: Buff[]; - Buffs_KultistsToxin: Buff[]; - Buffs_BodyTemperature: Buff[]; - Buffs_Antidote: Buff[]; - Buffs_melee_bleed: Buff[]; - Buffs_melee_blunt: Buff[]; - Buffs_hultafors: Buff[]; - Buffs_drink_vodka_BAD: Buff[]; - Buffs_food_alyonka: Buff[]; - Buffs_food_slippers: Buff[]; - Buffs_knife: Buff[]; -} -export interface Buff { - BuffType: string; - Chance: number; - Delay: number; - Duration: number; - Value: number; - AbsoluteValue: boolean; - SkillName: string; -} -export interface Tremor { - DefaultDelay: number; - DefaultResidueTime: number; -} -export interface ChronicStaminaFatigue { - EnergyRate: number; - WorkingTime: number; - TicksEvery: number; - EnergyRatePerStack: number; -} -export interface Fracture2 { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface HeavyBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface Probability { - FunctionType: string; - K: number; - B: number; - Threshold: number; -} -export interface LightBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface BodyTemperature { - DefaultBuildUpTime: number; - DefaultResidueTime: number; - LoopTime: number; -} -export interface HealPrice { - HealthPointPrice: number; - HydrationPointPrice: number; - EnergyPointPrice: number; - TrialLevels: number; - TrialRaids: number; -} -export interface ProfileHealthSettings { - BodyPartsSettings: BodyPartsSettings; - HealthFactorsSettings: HealthFactorsSettings; -} -export interface BodyPartsSettings { - Head: BodyPartsSetting; - Chest: BodyPartsSetting; - Stomach: BodyPartsSetting; - LeftArm: BodyPartsSetting; - RightArm: BodyPartsSetting; - LeftLeg: BodyPartsSetting; - RightLeg: BodyPartsSetting; -} -export interface BodyPartsSetting { - Minimum: number; - Maximum: number; - Default: number; - OverDamageReceivedMultiplier: number; -} -export interface HealthFactorsSettings { - Energy: HealthFactorSetting; - Hydration: HealthFactorSetting; - Temperature: HealthFactorSetting; - Poisoning: HealthFactorSetting; - Radiation: HealthFactorSetting; -} -export interface HealthFactorSetting { - Minimum: number; - Maximum: number; - Default: number; -} -export interface Rating { - levelRequired: number; - limit: number; - categories: Categories; -} -export interface Categories { - experience: boolean; - kd: boolean; - surviveRatio: boolean; - avgEarnings: boolean; - kills: boolean; - raidCount: boolean; - longestShot: boolean; - timeOnline: boolean; - inventoryFullCost: boolean; - ragFairStanding: boolean; -} -export interface Tournament { - categories: Categories2; - limit: number; - levelRequired: number; -} -export interface Categories2 { - dogtags: boolean; -} -export interface RagFair { - enabled: boolean; - priceStabilizerEnabled: boolean; - includePveTraderSales: boolean; - priceStabilizerStartIntervalInHours: number; - minUserLevel: number; - communityTax: number; - communityItemTax: number; - communityRequirementTax: number; - offerPriorityCost: number; - offerDurationTimeInHour: number; - offerDurationTimeInHourAfterRemove: number; - priorityTimeModifier: number; - maxRenewOfferTimeInHour: number; - renewPricePerHour: number; - maxActiveOfferCount: MaxActiveOfferCount[]; - balancerRemovePriceCoefficient: number; - balancerMinPriceCount: number; - balancerAveragePriceCoefficient: number; - delaySinceOfferAdd: number; - uniqueBuyerTimeoutInDays: number; - ratingSumForIncrease: number; - ratingIncreaseCount: number; - ratingSumForDecrease: number; - ratingDecreaseCount: number; - maxSumForIncreaseRatingPerOneSale: number; - maxSumForDecreaseRatingPerOneSale: number; - maxSumForRarity: MaxSumForRarity; - ChangePriceCoef: number; - balancerUserItemSaleCooldownEnabled: boolean; - balancerUserItemSaleCooldown: number; - youSellOfferMaxStorageTimeInHour: number; - yourOfferDidNotSellMaxStorageTimeInHour: number; - isOnlyFoundInRaidAllowed: boolean; - sellInOnePiece: number; -} -export interface MaxActiveOfferCount { - from: number; - to: number; - count: number; -} -export interface MaxSumForRarity { - Common: RarityMaxSum; - Rare: RarityMaxSum; - Superrare: RarityMaxSum; - Not_exist: RarityMaxSum; -} -export interface RarityMaxSum { - value: number; -} -export interface Handbook { - defaultCategory: string; -} -export interface Stamina { - Capacity: number; - SprintDrainRate: number; - BaseRestorationRate: number; - JumpConsumption: number; - GrenadeHighThrow: number; - GrenadeLowThrow: number; - AimDrainRate: number; - AimRangeFinderDrainRate: number; - OxygenCapacity: number; - OxygenRestoration: number; - WalkOverweightLimits: xyz; - BaseOverweightLimits: xyz; - SprintOverweightLimits: xyz; - WalkSpeedOverweightLimits: xyz; - CrouchConsumption: xyz; - WalkConsumption: xyz; - StandupConsumption: xyz; - TransitionSpeed: xyz; - SprintAccelerationLowerLimit: number; - SprintSpeedLowerLimit: number; - SprintSensitivityLowerLimit: number; - AimConsumptionByPose: xyz; - RestorationMultiplierByPose: xyz; - OverweightConsumptionByPose: xyz; - AimingSpeedMultiplier: number; - WalkVisualEffectMultiplier: number; - HandsCapacity: number; - HandsRestoration: number; - ProneConsumption: number; - BaseHoldBreathConsumption: number; - SoundRadius: xyz; - ExhaustedMeleeSpeed: number; - FatigueRestorationRate: number; - FatigueAmountToCreateEffect: number; - ExhaustedMeleeDamageMultiplier: number; - FallDamageMultiplier: number; - SafeHeightOverweight: number; - SitToStandConsumption: number; - StaminaExhaustionCausesJiggle: boolean; - StaminaExhaustionStartsBreathSound: boolean; - StaminaExhaustionRocksCamera: boolean; - HoldBreathStaminaMultiplier: xyz; - PoseLevelIncreaseSpeed: xyz; - PoseLevelDecreaseSpeed: xyz; - PoseLevelConsumptionPerNotch: xyz; -} -export interface StaminaRestoration { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface StaminaDrain { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface RequirementReferences { - Alpinist: Alpinist[]; -} -export interface Alpinist { - Requirement: string; - Id: string; - Count: number; - RequiredSlot: string; - RequirementTip: string; -} -export interface RestrictionsInRaid { - TemplateId: string; - Value: number; -} -export interface Insurance { - MaxStorageTimeInHour: number; -} -export interface SkillsSettings { - SkillProgressRate: number; - WeaponSkillProgressRate: number; - WeaponSkillRecoilBonusPerLevel: number; - HideoutManagement: HideoutManagement; - Crafting: Crafting; - Metabolism: Metabolism; - Immunity: Immunity; - Endurance: Endurance; - Strength: Strength; - Vitality: Vitality; - Health: Health2; - StressResistance: StressResistance; - Throwing: Throwing; - RecoilControl: RecoilControl; - Pistol: WeaponSkills; - Revolver: WeaponSkills; - SMG: any[]; - Assault: WeaponSkills; - Shotgun: WeaponSkills; - Sniper: WeaponSkills; - LMG: any[]; - HMG: any[]; - Launcher: any[]; - AttachedLauncher: any[]; - Melee: any[]; - DMR: WeaponSkills; - BearAssaultoperations: any[]; - BearAuthority: any[]; - BearAksystems: any[]; - BearHeavycaliber: any[]; - BearRawpower: any[]; - UsecArsystems: any[]; - UsecDeepweaponmodding_Settings: any[]; - UsecLongrangeoptics_Settings: any[]; - UsecNegotiations: any[]; - UsecTactics: any[]; - BotReload: any[]; - CovertMovement: CovertMovement; - FieldMedicine: any[]; - Search: Search; - Sniping: any[]; - ProneMovement: any[]; - FirstAid: any[]; - LightVests: ArmorSkills; - HeavyVests: ArmorSkills; - WeaponModding: any[]; - AdvancedModding: any[]; - NightOps: any[]; - SilentOps: any[]; - Lockpicking: any[]; - WeaponTreatment: WeaponTreatment; - MagDrills: MagDrills; - Freetrading: any[]; - Auctions: any[]; - Cleanoperations: any[]; - Barter: any[]; - Shadowconnections: any[]; - Taskperformance: any[]; - Perception: Perception; - Intellect: Intellect; - Attention: Attention; - Charisma: Charisma; - Memory: Memory; - Surgery: Surgery; - AimDrills: AimDrills; - BotSound: any[]; - TroubleShooting: TroubleShooting; -} -export interface ArmorSkills { - WearAmountRepairLVestsReducePerLevel: number; - WearChanceRepairLVestsReduceEliteLevel: number; -} -export interface HideoutManagement { - SkillPointsPerAreaUpgrade: number; - SkillPointsPerCraft: number; - ConsumptionReductionPerLevel: number; - SkillBoostPercent: number; - SkillPointsRate: SkillPointsRate; - EliteSlots: EliteSlots; -} -export interface SkillPointsRate { - Generator: Generator; - AirFilteringUnit: SkillPointRate; - WaterCollector: SkillPointRate; - SolarPower: SkillPointRate; -} -export interface SkillPointRate { - ResourceSpent: number; - PointsGained: number; -} -export interface EliteSlots { - Generator: EliteSlot; - AirFilteringUnit: EliteSlot; - WaterCollector: EliteSlot; - BitcoinFarm: EliteSlot; -} -export interface EliteSlot { - Slots: number; - Container: number; -} -export interface Crafting { - PointsPerCraftingCycle: number; - CraftingCycleHours: number; - PointsPerUniqueCraftCycle: number; - UniqueCraftsPerCycle: number; - CraftTimeReductionPerLevel: number; - ProductionTimeReductionPerLevel: number; - EliteExtraProductions: number; - CraftingPointsToInteligence: number; -} -export interface Metabolism { - HydrationRecoveryRate: number; - EnergyRecoveryRate: number; - IncreasePositiveEffectDurationRate: number; - DecreaseNegativeEffectDurationRate: number; - DecreasePoisonDurationRate: number; -} -export interface Immunity { - ImmunityMiscEffects: number; - ImmunityPoisonBuff: number; - ImmunityPainKiller: number; - HealthNegativeEffect: number; - StimulatorNegativeBuff: number; -} -export interface Endurance { - MovementAction: number; - SprintAction: number; - GainPerFatigueStack: number; -} -export interface Strength { - SprintActionMin: number; - SprintActionMax: number; - MovementActionMin: number; - MovementActionMax: number; - PushUpMin: number; - PushUpMax: number; - FistfightAction: number; - ThrowAction: number; -} -export interface Vitality { - DamageTakenAction: number; - HealthNegativeEffect: number; -} -export interface Health2 { - SkillProgress: number; -} -export interface StressResistance { - HealthNegativeEffect: number; - LowHPDuration: number; -} -export interface Throwing { - ThrowAction: number; -} -export interface RecoilControl { - RecoilAction: number; - RecoilBonusPerLevel: number; -} -export interface WeaponSkills { - WeaponReloadAction: number; - WeaponShotAction: number; - WeaponFixAction: number; - WeaponChamberAction: number; -} -export interface CovertMovement { - MovementAction: number; -} -export interface Search { - SearchAction: number; - FindAction: number; -} -export interface WeaponTreatment { - DurLossReducePerLevel: number; - SkillPointsPerRepair: number; - Filter: any[]; - WearAmountRepairGunsReducePerLevel: number; - WearChanceRepairGunsReduceEliteLevel: number; -} -export interface MagDrills { - RaidLoadedAmmoAction: number; - RaidUnloadedAmmoAction: number; - MagazineCheckAction: number; -} -export interface Perception { - OnlineAction: number; - UniqueLoot: number; -} -export interface Intellect { - ExamineAction: number; - SkillProgress: number; - RepairAction: number; - WearAmountReducePerLevel: number; - WearChanceReduceEliteLevel: number; - RepairPointsCostReduction: number; -} -export interface Attention { - ExamineWithInstruction: number; - FindActionFalse: number; - FindActionTrue: number; -} -export interface Charisma { - SkillProgressInt: number; - SkillProgressAtn: number; - SkillProgressPer: number; -} -export interface Memory { - AnySkillUp: number; - SkillProgress: number; -} -export interface Surgery { - SurgeryAction: number; - SkillProgress: number; -} -export interface AimDrills { - WeaponShotAction: number; -} -export interface TroubleShooting { - MalfRepairSpeedBonusPerLevel: number; - SkillPointsPerMalfFix: number; - EliteDurabilityChanceReduceMult: number; - EliteAmmoChanceReduceMult: number; - EliteMagChanceReduceMult: number; -} -export interface Aiming { - ProceduralIntensityByPose: xyz; - AimProceduralIntensity: number; - HeavyWeight: number; - LightWeight: number; - MaxTimeHeavy: number; - MinTimeHeavy: number; - MaxTimeLight: number; - MinTimeLight: number; - RecoilScaling: number; - RecoilDamping: number; - CameraSnapGlobalMult: number; - RecoilXIntensityByPose: xyz; - RecoilYIntensityByPose: xyz; - RecoilZIntensityByPose: xyz; - RecoilCrank: boolean; - RecoilHandDamping: number; - RecoilConvergenceMult: number; - RecoilVertBonus: number; - RecoilBackBonus: number; -} -export interface Malfunction { - AmmoMalfChanceMult: number; - MagazineMalfChanceMult: number; - MalfRepairHardSlideMult: number; - MalfRepairOneHandBrokenMult: number; - MalfRepairTwoHandsBrokenMult: number; - AllowMalfForBots: boolean; - ShowGlowAttemptsCount: number; - OutToIdleSpeedMultForPistol: number; - IdleToOutSpeedMultOnMalf: number; - TimeToQuickdrawPistol: number; - DurRangeToIgnoreMalfs: xyz; - DurFeedWt: number; - DurMisfireWt: number; - DurJamWt: number; - DurSoftSlideWt: number; - DurHardSlideMinWt: number; - DurHardSlideMaxWt: number; - AmmoMisfireWt: number; - AmmoFeedWt: number; - AmmoJamWt: number; - OverheatFeedWt: number; - OverheatJamWt: number; - OverheatSoftSlideWt: number; - OverheatHardSlideMinWt: number; - OverheatHardSlideMaxWt: number; -} -export interface Overheat { - MinOverheat: number; - MaxOverheat: number; - OverheatProblemsStart: number; - ModHeatFactor: number; - ModCoolFactor: number; - MinWearOnOverheat: number; - MaxWearOnOverheat: number; - MinWearOnMaxOverheat: number; - MaxWearOnMaxOverheat: number; - OverheatWearLimit: number; - MaxCOIIncreaseMult: number; - MinMalfChance: number; - MaxMalfChance: number; - DurReduceMinMult: number; - DurReduceMaxMult: number; - BarrelMoveRndDuration: number; - BarrelMoveMaxMult: number; - FireratePitchMult: number; - FirerateReduceMinMult: number; - FirerateReduceMaxMult: number; - FirerateOverheatBorder: number; - EnableSlideOnMaxOverheat: boolean; - StartSlideOverheat: number; - FixSlideOverheat: number; - AutoshotMinOverheat: number; - AutoshotChance: number; - AutoshotPossibilityDuration: number; - MaxOverheatCoolCoef: number; -} -export interface FenceSettings { - FenceId: string; - Levels: Record; - paidExitStandingNumerator: number; -} -export interface FenceLevel { - SavageCooldownModifier: number; - ScavCaseTimeModifier: number; - PaidExitCostModifier: number; - BotFollowChance: number; - ScavEquipmentSpawnChanceModifier: number; - PriceModifier: number; - HostileBosses: boolean; - HostileScavs: boolean; - ScavAttackSupport: boolean; - ExfiltrationPriceModifier: number; - AvailableExits: number; -} -export interface Inertia { - InertiaLimits: xyz; - InertiaLimitsStep: number; - ExitMovementStateSpeedThreshold: xyz; - WalkInertia: xyz; - FallThreshold: number; - SpeedLimitAfterFallMin: xyz; - SpeedLimitAfterFallMax: xyz; - SpeedLimitDurationMin: xyz; - SpeedLimitDurationMax: xyz; - SpeedInertiaAfterJump: xyz; - BaseJumpPenaltyDuration: number; - DurationPower: number; - BaseJumpPenalty: number; - PenaltyPower: number; - InertiaTiltCurveMin: xyz; - InertiaTiltCurveMax: xyz; - InertiaBackwardCoef: xyz; - TiltInertiaMaxSpeed: xyz; - TiltStartSideBackSpeed: xyz; - TiltMaxSideBackSpeed: xyz; - TiltAcceleration: xyz; - AverageRotationFrameSpan: number; - SprintSpeedInertiaCurveMin: xyz; - SprintSpeedInertiaCurveMax: xyz; - SprintBrakeInertia: xyz; - SprintTransitionMotionPreservation: xyz; - WeaponFlipSpeed: xyz; - PreSprintAccelerationLimits: xyz; - SprintAccelerationLimits: xyz; - SideTime: xyz; - DiagonalTime: xyz; - MaxTimeWithoutInput: xyz; - MinDirectionBlendTime: number; - MoveTimeRange: xyz; - ProneDirectionAccelerationRange: xyz; - ProneSpeedAccelerationRange: xyz; - MinMovementAccelerationRangeRight: xyz; - MaxMovementAccelerationRangeRight: xyz; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Ballistic { - GlobalDamageDegradationCoefficient: number; -} -export interface RepairKitSettings { - armorClassDivisor: number; - durabilityPointCostArmor: number; - durabilityPointCostGuns: number; -} -export interface BotPreset { - UseThis: boolean; - Role: string; - BotDifficulty: string; - VisibleAngle: number; - VisibleDistance: number; - ScatteringPerMeter: number; - HearingSense: number; - SCATTERING_DIST_MODIF: number; - MAX_AIMING_UPGRADE_BY_TIME: number; - FIRST_CONTACT_ADD_SEC: number; - COEF_IF_MOVE: number; -} -export interface BotWeaponScattering { - Name: string; - PriorityScatter1meter: number; - PriorityScatter10meter: number; - PriorityScatter100meter: number; -} -export interface Preset { - _id: string; - _type: string; - _changeWeaponName: boolean; - _name: string; - _parent: string; - _items: Item[]; - _encyclopedia?: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocation.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocation.d.ts deleted file mode 100644 index 42fac06..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocation.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ILocationBase } from "./ILocationBase"; -import { ILooseLoot } from "./ILooseLoot"; -export interface ILocation { - base: ILocationBase; - looseLoot: ILooseLoot; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocationBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocationBase.d.ts deleted file mode 100644 index b1dd448..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocationBase.d.ts +++ /dev/null @@ -1,205 +0,0 @@ -export interface ILocationBase { - AccessKeys: string[]; - AirdropParameters: AirdropParameter[]; - Area: number; - AveragePlayTime: number; - AveragePlayerLevel: number; - Banners: Banner[]; - BossLocationSpawn: BossLocationSpawn[]; - BotAssault: number; - BotEasy: number; - BotHard: number; - BotImpossible: number; - BotLocationModifier: BotLocationModifier; - BotMarksman: number; - BotMax: number; - BotMaxPlayer: number; - BotMaxTimePlayer: number; - BotNormal: number; - BotSpawnTimeOffMax: number; - BotSpawnTimeOffMin: number; - BotSpawnTimeOnMax: number; - BotSpawnTimeOnMin: number; - BotStart: number; - BotStop: number; - Description: string; - DisabledForScav: boolean; - DisabledScavExits: string; - Enabled: boolean; - EnableCoop: boolean; - GlobalLootChanceModifier: number; - IconX: number; - IconY: number; - Id: string; - Insurance: boolean; - IsSecret: boolean; - Locked: boolean; - Loot: any[]; - MaxBotPerZone: number; - MaxDistToFreePoint: number; - MaxPlayers: number; - MinDistToExitPoint: number; - MinDistToFreePoint: number; - MinMaxBots: MinMaxBot[]; - MinPlayers: number; - MaxCoopGroup: number; - Name: string; - NewSpawn: boolean; - OcculsionCullingEnabled: boolean; - OldSpawn: boolean; - OpenZones: string; - Preview: Preview; - RequiredPlayerLevel: number; - PmcMaxPlayersInGroup: number; - ScavMaxPlayersInGroup: number; - Rules: string; - SafeLocation: boolean; - Scene: Scene; - SpawnPointParams: SpawnPointParam[]; - UnixDateTime: number; - _Id: string; - doors: any[]; - EscapeTimeLimit: number; - EscapeTimeLimitCoop: number; - exit_access_time: number; - exit_count: number; - exit_time: number; - exits: Exit[]; - filter_ex: string[]; - limits: ILimit[]; - matching_min_seconds: number; - GenerateLocalLootCache: boolean; - maxItemCountInLocation: MaxItemCountInLocation[]; - sav_summon_seconds: number; - tmp_location_field_remove_me: number; - users_gather_seconds: number; - users_spawn_seconds_n: number; - users_spawn_seconds_n2: number; - users_summon_seconds: number; - waves: Wave[]; -} -export interface ILimit { - min: number; - max: number; - items: any[]; -} -export interface AirdropParameter { - AirdropPointDeactivateDistance: number; - MinPlayersCountToSpawnAirdrop: number; - PlaneAirdropChance: number; - PlaneAirdropCooldownMax: number; - PlaneAirdropCooldownMin: number; - PlaneAirdropEnd: number; - PlaneAirdropMax: number; - PlaneAirdropStartMax: number; - PlaneAirdropStartMin: number; - UnsuccessfulTryPenalty: number; -} -export interface Banner { - id: string; - pic: Pic; -} -export interface Pic { - path: string; - rcid: string; -} -export interface BossLocationSpawn { - BossChance: number; - BossDifficult: string; - BossEscortAmount: string; - BossEscortDifficult: string; - BossEscortType: string; - BossName: string; - BossPlayer: boolean; - BossZone: string; - RandomTimeSpawn: boolean; - Time: number; - TriggerId: string; - TriggerName: string; - Delay?: number; - Supports?: BossSupport[]; -} -export interface BossSupport { - BossEscortAmount: string; - BossEscortDifficult: string[]; - BossEscortType: string; -} -export interface BotLocationModifier { - AccuracySpeed: number; - DistToActivate: number; - DistToPersueAxemanCoef: number; - DistToSleep: number; - GainSight: number; - KhorovodChance: number; - MagnetPower: number; - MarksmanAccuratyCoef: number; - Scattering: number; - VisibleDistance: number; -} -export interface MinMaxBot { - WildSpawnType: string; - max: number; - min: number; -} -export interface Preview { - path: string; - rcid: string; -} -export interface Scene { - path: string; - rcid: string; -} -export interface SpawnPointParam { - BotZoneName: string; - Categories: string[]; - ColliderParams: ColliderParams; - DelayToCanSpawnSec: number; - Id: string; - Infiltration: string; - Position: xyz; - Rotation: number; - Sides: string[]; -} -export interface ColliderParams { - _parent: string; - _props: Props; -} -export interface Props { - Center: xyz; - Radius: number; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Exit { - Chance: number; - Count: number; - EntryPoints: string; - ExfiltrationTime: number; - ExfiltrationType: string; - Id: string; - MaxTime: number; - MinTime: number; - Name: string; - PassageRequirement: string; - PlayersCount: number; - RequirementTip: string; -} -export interface MaxItemCountInLocation { - TemplateId: string; - Value: number; -} -export interface Wave { - BotPreset: string; - BotSide: string; - SpawnPoints: string; - WildSpawnType: string; - isPlayers: boolean; - number: number; - slots_max: number; - slots_min: number; - time_max: number; - time_min: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocationsSourceDestinationBase.d.ts deleted file mode 100644 index 7f8d915..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ILocations } from "../../spt/server/ILocations"; -export interface ILocationsGenerateAllResponse { - locations: ILocations; - paths: Path[]; -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILooseLoot.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILooseLoot.d.ts deleted file mode 100644 index 14b795e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/ILooseLoot.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -export interface ILooseLoot { - spawnpointCount: SpawnpointCount; - spawnpointsForced: SpawnpointsForced[]; - spawnpoints: Spawnpoint[]; -} -export interface SpawnpointCount { - mean: number; - std: number; -} -export interface SpawnpointsForced { - locationId: string; - probability: number; - template: SpawnpointTemplate; -} -export interface SpawnpointTemplate { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: Item[]; -} -export interface Item { - _id: string; - _tpl?: string; -} -export interface Spawnpoint { - locationId: string; - probability: number; - template: SpawnpointTemplate; - itemDistribution: ItemDistribution[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IMetricsTableData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IMetricsTableData.d.ts deleted file mode 100644 index 873ef82..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IMetricsTableData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface IMetricsTableData { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IPmcData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IPmcData.d.ts deleted file mode 100644 index 5703e4b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/IPmcData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBotBase } from "./tables/IBotBase"; -export interface IPmcData extends IBotBase { -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/request/IBaseInteractionRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/request/IBaseInteractionRequestData.d.ts deleted file mode 100644 index 7303275..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/request/IBaseInteractionRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface IBaseInteractionRequestData { - Action: string; - fromOwner?: OwnerInfo; - toOwner?: OwnerInfo; -} -export interface OwnerInfo { - id: string; - type: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotBase.d.ts deleted file mode 100644 index 0ee468e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotBase.d.ts +++ /dev/null @@ -1,353 +0,0 @@ -import { HideoutAreas } from "../../../enums/HideoutAreas"; -import { MemberCategory } from "../../../enums/MemberCategory"; -import { QuestStatus } from "../../../enums/QuestStatus"; -import { IRagfairOffer } from "../../ragfair/IRagfairOffer"; -import { Item, Upd } from "./IItem"; -import { IPmcDataRepeatableQuest } from "./IRepeatableQuests"; -export interface IBotBase { - _id: string; - aid: string; - savage?: string; - Info: Info; - Customization: Customization; - Health: Health; - Inventory: Inventory; - Skills: Skills; - Stats: Stats; - Encyclopedia: Record; - ConditionCounters: ConditionCounters; - BackendCounters: Record; - InsuredItems: InsuredItem[]; - Hideout: Hideout; - Quests: Quest[]; - TradersInfo: Record; - RagfairInfo: RagfairInfo; - RepeatableQuests: IPmcDataRepeatableQuest[]; - Bonuses: Bonus[]; - Notes: Notes; - CarExtractCounts: CarExtractCounts; - SurvivorClass: SurvivorClass; - WishList: string[]; -} -export interface Info { - EntryPoint: string; - Nickname: string; - LowerNickname: string; - Side: string; - Voice: string; - Level: number; - Experience: number; - RegistrationDate: number; - GameVersion: string; - AccountType: number; - MemberCategory: MemberCategory; - lockedMoveCommands: boolean; - SavageLockTime: number; - LastTimePlayedAsSavage: number; - Settings: Settings; - NicknameChangeDate: number; - NeedWipeOptions: any[]; - lastCompletedWipe: LastCompleted; - Bans: IBan[]; - BannedState: boolean; - BannedUntil: number; - IsStreamerModeAvailable: boolean; - lastCompletedEvent?: LastCompleted; -} -export interface Settings { - Role: string; - BotDifficulty: string; - Experience: number; - StandingForKill: number; - AggressorBonus: number; -} -export interface IBan { - type: BanType; - dateTime: number; -} -export declare enum BanType { - Chat = 0, - RagFair = 1, - Voip = 2, - Trading = 3, - Online = 4, - Friends = 5, - ChangeNickname = 6 -} -export interface Customization { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface Health { - Hydration: CurrentMax; - Energy: CurrentMax; - Temperature: CurrentMax; - BodyParts: BodyPartsHealth; - UpdateTime: number; -} -export interface BodyPartsHealth { - Head: BodyPartHealth; - Chest: BodyPartHealth; - Stomach: BodyPartHealth; - LeftArm: BodyPartHealth; - RightArm: BodyPartHealth; - LeftLeg: BodyPartHealth; - RightLeg: BodyPartHealth; -} -export interface BodyPartHealth { - Health: CurrentMax; - Effects?: Record; -} -export interface CurrentMax { - Current: number; - Maximum: number; -} -export interface Inventory { - items: Item[]; - equipment: string; - stash: string; - sortingTable: string; - questRaidItems: string; - questStashItems: string; - fastPanel: FastPanel; -} -export interface FastPanel { -} -export interface Skills { - Common: Common[]; - Mastering: Mastering[]; - Bonuses?: any[]; - Points: number; -} -export interface Common { - Id: string; - Progress: number; - PointsEarnedDuringSession?: number; - LastAccess?: number; - max?: number; - min?: number; -} -export interface Mastering { - Id: string; - Progress: number; - max?: number; - min?: number; -} -export interface Stats { - CarriedQuestItems: string[]; - Victims: Victim[]; - TotalSessionExperience: number; - LastSessionDate: number; - SessionCounters: SessionCounters; - OverallCounters: OverallCounters; - SessionExperienceMult?: number; - ExperienceBonusMult?: number; - Aggressor?: Aggressor; - DroppedItems?: IDroppedItem[]; - FoundInRaidItems?: FoundInRaidItem[]; - DamageHistory?: DamageHistory; - DeathCause?: DeathCause; - LastPlayerState?: LastPlayerState; - TotalInGameTime: number; - SurvivorClass?: string; -} -export interface IDroppedItem { - QuestId: string; - ItemId: string; - ZoneId: string; -} -export interface FoundInRaidItem { - QuestId: string; - ItemId: string; -} -export interface Victim { - AccountId: string; - ProfileId: string; - Name: string; - Side: string; - BodyPart: string; - Time: string; - Distance: number; - Level: number; - Weapon: string; - Role: string; -} -export interface SessionCounters { - Items: CounterKeyValue[]; -} -export interface OverallCounters { - Items: CounterKeyValue[]; -} -export interface CounterKeyValue { - Key: string[]; - Value: number; -} -export interface ConditionCounters { - Counters: Counter[]; -} -export interface Counter { - id: string; - value: number; - qid: string; -} -export interface Aggressor { - AccountId: string; - ProfileId: string; - MainProfileNickname: string; - Name: string; - Side: string; - BodyPart: string; - HeadSegment: string; - WeaponName: string; - Category: string; -} -export interface DamageHistory { - LethalDamagePart: string; - LethalDamage: LethalDamage; - BodyParts: BodyPartsDamageHistory; -} -export interface LethalDamage { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface BodyPartsDamageHistory { - Head: DamageStats[]; - Chest: DamageStats[]; - Stomach: DamageStats[]; - LeftArm: DamageStats[]; - RightArm: DamageStats[]; - LeftLeg: DamageStats[]; - RightLeg: DamageStats[]; - Common: DamageStats[]; -} -export interface DamageStats { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface DeathCause { - DamageType: string; - Side: string; - Role: string; - WeaponId: string; -} -export interface LastPlayerState { - Info: LastPlayerStateInfo; - Customization: Record; - Equipment: any; -} -export interface LastPlayerStateInfo { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; -} -export interface BackendCounter { - id: string; - qid?: string; - value: number; -} -export interface InsuredItem { - tid: string; - itemId: string; -} -export interface Hideout { - Production: Record; - Areas: HideoutArea[]; -} -export interface Productive { - Products: Product[]; - Progress?: number; - inProgress?: boolean; - StartTimestamp?: number; -} -export interface Production extends Productive { - RecipeId: string; - SkipTime: number; - ProductionTime: number; -} -export interface ScavCase extends Productive { - RecipeId: string; -} -export interface Product { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface HideoutArea { - type: HideoutAreas; - level: number; - active: boolean; - passiveBonusesEnabled: boolean; - completeTime: number; - constructing: boolean; - slots: HideoutSlot[]; - lastRecipe: string; -} -export interface HideoutSlot { - /** SPT specific value to keep track of what index this slot is (0,1,2,3 etc) */ - locationIndex: number; - item?: HideoutItem[]; -} -export interface HideoutItem { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface LastCompleted { - $oid: string; -} -export interface Notes { - Notes: Note[]; -} -export interface CarExtractCounts { -} -export declare enum SurvivorClass { - Unknown = 0, - Neutralizer = 1, - Marauder = 2, - Paramedic = 3, - Survivor = 4 -} -export interface Quest { - qid: string; - startTime: number; - status: QuestStatus; - statusTimers?: Record; - /** SPT specific property */ - completedConditions?: string[]; -} -export interface TraderInfo { - loyaltyLevel: number; - salesSum: number; - standing: number; - nextResupply: number; - unlocked: boolean; -} -export interface RagfairInfo { - rating: number; - isRatingGrowing: boolean; - offers: IRagfairOffer[]; -} -export interface Bonus { - type: string; - templateId?: string; - passive?: boolean; - production?: boolean; - visible?: boolean; - value?: number; - icon?: string; -} -export interface Note { - Time: number; - Text: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotCore.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotCore.d.ts deleted file mode 100644 index 16a782d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotCore.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -export interface IBotCore { - SAVAGE_KILL_DIST: number; - SOUND_DOOR_BREACH_METERS: number; - SOUND_DOOR_OPEN_METERS: number; - STEP_NOISE_DELTA: number; - JUMP_NOISE_DELTA: number; - GUNSHOT_SPREAD: number; - GUNSHOT_SPREAD_SILENCE: number; - BASE_WALK_SPEREAD2: number; - MOVE_SPEED_COEF_MAX: number; - SPEED_SERV_SOUND_COEF_A: number; - SPEED_SERV_SOUND_COEF_B: number; - G: number; - STAY_COEF: number; - SIT_COEF: number; - LAY_COEF: number; - MAX_ITERATIONS: number; - START_DIST_TO_COV: number; - MAX_DIST_TO_COV: number; - STAY_HEIGHT: number; - CLOSE_POINTS: number; - COUNT_TURNS: number; - SIMPLE_POINT_LIFE_TIME_SEC: number; - DANGER_POINT_LIFE_TIME_SEC: number; - DANGER_POWER: number; - COVER_DIST_CLOSE: number; - GOOD_DIST_TO_POINT: number; - COVER_TOOFAR_FROM_BOSS: number; - COVER_TOOFAR_FROM_BOSS_SQRT: number; - MAX_Y_DIFF_TO_PROTECT: number; - FLARE_POWER: number; - MOVE_COEF: number; - PRONE_POSE: number; - LOWER_POSE: number; - MAX_POSE: number; - FLARE_TIME: number; - MAX_REQUESTS__PER_GROUP: number; - UPDATE_GOAL_TIMER_SEC: number; - DIST_NOT_TO_GROUP: number; - DIST_NOT_TO_GROUP_SQR: number; - LAST_SEEN_POS_LIFETIME: number; - DELTA_GRENADE_START_TIME: number; - DELTA_GRENADE_END_TIME: number; - DELTA_GRENADE_RUN_DIST: number; - DELTA_GRENADE_RUN_DIST_SQRT: number; - PATROL_MIN_LIGHT_DIST: number; - HOLD_MIN_LIGHT_DIST: number; - STANDART_BOT_PAUSE_DOOR: number; - ARMOR_CLASS_COEF: number; - SHOTGUN_POWER: number; - RIFLE_POWER: number; - PISTOL_POWER: number; - SMG_POWER: number; - SNIPE_POWER: number; - GESTUS_PERIOD_SEC: number; - GESTUS_AIMING_DELAY: number; - GESTUS_REQUEST_LIFETIME: number; - GESTUS_FIRST_STAGE_MAX_TIME: number; - GESTUS_SECOND_STAGE_MAX_TIME: number; - GESTUS_MAX_ANSWERS: number; - GESTUS_FUCK_TO_SHOOT: number; - GESTUS_DIST_ANSWERS: number; - GESTUS_DIST_ANSWERS_SQRT: number; - GESTUS_ANYWAY_CHANCE: number; - TALK_DELAY: number; - CAN_SHOOT_TO_HEAD: boolean; - CAN_TILT: boolean; - TILT_CHANCE: number; - MIN_BLOCK_DIST: number; - MIN_BLOCK_TIME: number; - COVER_SECONDS_AFTER_LOSE_VISION: number; - MIN_ARG_COEF: number; - MAX_ARG_COEF: number; - DEAD_AGR_DIST: number; - MAX_DANGER_CARE_DIST_SQRT: number; - MAX_DANGER_CARE_DIST: number; - MIN_MAX_PERSON_SEARCH: number; - PERCENT_PERSON_SEARCH: number; - LOOK_ANYSIDE_BY_WALL_SEC_OF_ENEMY: number; - CLOSE_TO_WALL_ROTATE_BY_WALL_SQRT: number; - SHOOT_TO_CHANGE_RND_PART_MIN: number; - SHOOT_TO_CHANGE_RND_PART_MAX: number; - SHOOT_TO_CHANGE_RND_PART_DELTA: number; - FORMUL_COEF_DELTA_DIST: number; - FORMUL_COEF_DELTA_SHOOT: number; - FORMUL_COEF_DELTA_FRIEND_COVER: number; - SUSPETION_POINT_DIST_CHECK: number; - MAX_BASE_REQUESTS_PER_PLAYER: number; - MAX_HOLD_REQUESTS_PER_PLAYER: number; - MAX_GO_TO_REQUESTS_PER_PLAYER: number; - MAX_COME_WITH_ME_REQUESTS_PER_PLAYER: number; - CORE_POINT_MAX_VALUE: number; - CORE_POINTS_MAX: number; - CORE_POINTS_MIN: number; - BORN_POISTS_FREE_ONLY_FAREST_BOT: boolean; - BORN_POINSTS_FREE_ONLY_FAREST_PLAYER: boolean; - SCAV_GROUPS_TOGETHER: boolean; - LAY_DOWN_ANG_SHOOT: number; - HOLD_REQUEST_TIME_SEC: number; - TRIGGERS_DOWN_TO_RUN_WHEN_MOVE: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING_OTHER_ENEMIS: number; - MIN_DIST_TO_STOP_RUN: number; - JUMP_SPREAD_DIST: number; - LOOK_TIMES_TO_KILL: number; - COME_INSIDE_TIMES: number; - TOTAL_TIME_KILL: number; - TOTAL_TIME_KILL_AFTER_WARN: number; - MOVING_AIM_COEF: number; - VERTICAL_DIST_TO_IGNORE_SOUND: number; - DEFENCE_LEVEL_SHIFT: number; - MIN_DIST_CLOSE_DEF: number; - USE_ID_PRIOR_WHO_GO: boolean; - SMOKE_GRENADE_RADIUS_COEF: number; - GRENADE_PRECISION: number; - MAX_WARNS_BEFORE_KILL: number; - CARE_ENEMY_ONLY_TIME: number; - MIDDLE_POINT_COEF: number; - MAIN_TACTIC_ONLY_ATTACK: boolean; - LAST_DAMAGE_ACTIVE: number; - SHALL_DIE_IF_NOT_INITED: boolean; - CHECK_BOT_INIT_TIME_SEC: number; - WEAPON_ROOT_Y_OFFSET: number; - DELTA_SUPRESS_DISTANCE_SQRT: number; - DELTA_SUPRESS_DISTANCE: number; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - WAVE_ONLY_AS_ONLINE: boolean; - LOCAL_BOTS_COUNT: number; - AXE_MAN_KILLS_END: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotType.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotType.d.ts deleted file mode 100644 index c1fe579..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IBotType.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { MinMax } from "../../../common/MinMax"; -import { Skills } from "./IBotBase"; -export interface IBotType { - appearance: Appearance; - chances: Chances; - difficulty: Difficulties; - experience: Experience; - firstName: string[]; - generation: Generation; - health: Health; - inventory: Inventory; - lastName: string[]; - skills: Skills; -} -export interface Appearance { - body: string[]; - feet: string[]; - hands: string[]; - head: string[]; - voice: string[]; -} -export interface Chances { - equipment: EquipmentChances; - mods: ModsChances; -} -export interface EquipmentChances { - ArmBand: number; - ArmorVest: number; - Backpack: number; - Earpiece: number; - Eyewear: number; - FaceCover: number; - FirstPrimaryWeapon: number; - Headwear: number; - Holster: number; - Pockets: number; - Scabbard: number; - SecondPrimaryWeapon: number; - SecuredContainer: number; - TacticalVest: number; -} -export interface ModsChances { - mod_charge: number; - mod_equipment: number; - mod_equipment_000: number; - mod_equipment_001: number; - mod_equipment_002: number; - mod_flashlight: number; - mod_foregrip: number; - mod_launcher: number; - mod_magazine: number; - mod_mount: number; - mod_mount_000: number; - mod_mount_001: number; - mod_muzzle: number; - mod_nvg: number; - mod_pistol_grip: number; - mod_reciever: number; - mod_scope: number; - mod_sight_front: number; - mod_sight_rear: number; - mod_stock: number; - mod_stock_000: number; - mod_stock_akms: number; - mod_tactical: number; - mod_tactical_000: number; - mod_tactical_001: number; - mod_tactical_002: number; - mod_tactical_003: number; -} -export interface Difficulties { - easy: Difficulty; - normal: Difficulty; - hard: Difficulty; - impossible: Difficulty; -} -export interface Difficulty { - Aiming: Record; - Boss: Record; - Change: Record; - Core: Record; - Cover: Record; - Grenade: Record; - Hearing: Record; - Lay: Record; - Look: Record; - Mind: Record; - Move: Record; - Patrol: Record; - Scattering: Record; - Shoot: Record; -} -export interface Experience { - aggressorBonus: number; - level: MinMax; - reward: MinMax; - standingForKill: number; -} -export interface Generation { - items: ItemMinMax; -} -export interface ItemMinMax { - grenades: MinMax; - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - specialItems: MinMax; -} -export interface Health { - BodyParts: BodyPart[]; - Energy: MinMax; - Hydration: MinMax; - Temperature: MinMax; -} -export interface BodyPart { - Chest: MinMax; - Head: MinMax; - LeftArm: MinMax; - LeftLeg: MinMax; - RightArm: MinMax; - RightLeg: MinMax; - Stomach: MinMax; -} -export interface Inventory { - equipment: Equipment; - Ammo: Record>; - items: Items; - mods: Mods; -} -export interface Equipment { - ArmBand: Record; - ArmorVest: Record; - Backpack: Record; - Earpiece: Record; - Eyewear: Record; - FaceCover: Record; - FirstPrimaryWeapon: Record; - Headwear: Record; - Holster: Record; - Pockets: Record; - Scabbard: Record; - SecondPrimaryWeapon: Record; - SecuredContainer: Record; - TacticalVest: Record; -} -export interface Items { - Backpack: string[]; - Pockets: string[]; - SecuredContainer: string[]; - SpecialLoot: string[]; - TacticalVest: string[]; -} -export declare type Mods = Record>; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ICustomizationItem.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ICustomizationItem.d.ts deleted file mode 100644 index 8bfeece..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ICustomizationItem.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export interface ICustomizationItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name: string; - ShortName: string; - Description: string; - Side: string[]; - BodyPart: string; - AvailableAsDefault?: boolean; - Body: string; - Hands: string; - Feet: string; - Prefab: Prefab; - WatchPrefab: Prefab; - IntegratedArmorVest: boolean; - WatchPosition: Xyz; - WatchRotation: Xyz; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Xyz { - x: number; - y: number; - z: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IHandbookBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IHandbookBase.d.ts deleted file mode 100644 index 7d7db07..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IHandbookBase.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface IHandbookBase { - Categories: Category[]; - Items: HandbookItem[]; -} -export interface Category { - Id: string; - ParentId?: string; - Icon: string; - Color: string; - Order: string; -} -export interface HandbookItem { - Id: string; - ParentId: string; - Price: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IItem.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IItem.d.ts deleted file mode 100644 index 2dd2c03..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IItem.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -export interface Item { - _id: string; - _tpl: string; - parentId?: string; - slotId?: string; - location?: Location | number; - upd?: Upd; -} -export interface Upd { - OriginalStackObjectsCount?: number; - Togglable?: Togglable; - Map?: Map; - Tag?: Tag; - sptPresetId?: string; - FaceShield?: FaceShield; - StackObjectsCount?: number; - UnlimitedCount?: boolean; - Repairable?: Repairable; - FireMode?: FireMode; - SpawnedInSession?: boolean; - Light?: Light; - Key?: Key; - Resource?: Resource; - Sight?: Sight; - MedKit?: MedKit; - FoodDrink?: FoodDrink; - Dogtag?: Dogtag; - BuyRestrictionMax?: number; - BuyRestrictionCurrent?: number; - Foldable?: Foldable; - SideEffect?: SideEffect; - RepairKit?: RepairKit; -} -export interface Togglable { - On: boolean; -} -export interface Map { - Markers: MapMarker[]; -} -export interface MapMarker { - X: number; - Y: number; -} -export interface Tag { - Color: number; - Name: string; -} -export interface FaceShield { - Hits: number; -} -export interface Repairable { - Durability: number; - MaxDurability: number; -} -export interface MedKit { - HpResource: number; -} -export interface Sight { - ScopesCurrentCalibPointIndexes: number[]; - ScopesSelectedModes: number[]; - SelectedScope: number; -} -export interface Foldable { - Folded: boolean; -} -export interface FireMode { - FireMode: string; -} -export interface FoodDrink { - HpPercent: number; -} -export interface Key { - NumberOfUsages: number; -} -export interface Resource { - Value: number; - UnitsConsumed: number; -} -export interface Light { - IsActive: boolean; - SelectedMode: number; -} -export interface Dogtag { - AccountId: string; - ProfileId: string; - Nickname: string; - Side: string; - Level: number; - Time: string; - Status: string; - KillerAccountId: string; - KillerProfileId: string; - KillerName: string; - WeaponName: string; -} -export interface Location { - x: number; - y: number; - r: string | number; - isSearched?: boolean; - rotation?: string; -} -export interface SideEffect { - Value: number; -} -export interface RepairKit { - Resource: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ILocationsBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ILocationsBase.d.ts deleted file mode 100644 index 2c96af3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ILocationsBase.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface ILocationsBase { - locations: Locations; - paths: Path[]; -} -export interface Locations { -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ILootBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ILootBase.d.ts deleted file mode 100644 index e4baac5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ILootBase.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Item } from "./IItem"; -export interface ILootBase { - staticAmmo: Record; - staticContainers: Record; - staticLoot: Record; -} -export interface IStaticAmmoDetails { - tpl: string; - relativeProbability: number; -} -export interface IStaticContainerDetails { - staticWeapons: IStaticWeaponProps[]; - staticContainers: IStaticContainerProps[]; - staticForced: IStaticForcedProps[]; -} -export interface IStaticWeaponProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: string; - Items: Item[]; -} -export interface IStaticContainerProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: StaticItem[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StaticItem { - _id: any; - _tpl: string; -} -export interface IStaticForcedProps { - containerId: string; - itemTpl: string; -} -export interface IStaticLootDetails { - itemcountDistribution: ItemCountDistribution[]; - itemDistribution: ItemDistribution[]; -} -export interface ItemCountDistribution { - count: number; - relativeProbability: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IMatch.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IMatch.d.ts deleted file mode 100644 index c30cb48..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IMatch.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IMatch { - metrics: Metrics; -} -export interface Metrics { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IProfileTemplate.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IProfileTemplate.d.ts deleted file mode 100644 index fbcd81a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IProfileTemplate.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Dialogue, WeaponBuild } from "../../profile/IAkiProfile"; -import { IPmcData } from "../IPmcData"; -export interface IProfileTemplates { - Standard: IProfileSides; - "Left Behind": IProfileSides; - "Prepare To Escape": IProfileSides; - "Edge Of Darkness": IProfileSides; -} -export interface IProfileSides { - usec: TemplateSide; - bear: TemplateSide; -} -export interface TemplateSide { - character: IPmcData; - suits: string[]; - dialogues: Record; - weaponbuilds: WeaponBuild[]; - trader: ProfileTraderTemplate; -} -export interface ProfileTraderTemplate { - initialLoyaltyLevel: number; - initialStanding: number; - initialSalesSum: number; - jaegerUnlocked: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IQuest.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IQuest.d.ts deleted file mode 100644 index a349a6d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IQuest.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { QuestRewardType } from "../../../enums/QuestRewardType"; -import { Item } from "./IItem"; -export interface IQuest { - QuestName: string; - _id: string; - canShowNotificationsInGame: boolean; - conditions: Conditions; - description: string; - failMessageText: string; - name: string; - note: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - startedMessageText: string; - successMessageText: string; - templateId: string; - rewards: Rewards; - status: string; - KeyQuest: boolean; - changeQuestMessageText: string; - side: string; -} -export interface Conditions { - Started: AvailableForConditions[]; - AvailableForFinish: AvailableForConditions[]; - AvailableForStart: AvailableForConditions[]; - Success: AvailableForConditions[]; - Fail: AvailableForConditions[]; -} -export interface AvailableForConditions { - _parent: string; - _props: AvailableForProps; - dynamicLocale: boolean; -} -export interface AvailableForProps { - id: string; - index: number; - parentId: string; - dynamicLocale: boolean; - value?: number; - compareMethod?: string; - visibilityConditions?: VisibilityCondition[]; - target?: string | string[]; - status?: number[]; - onlyFoundInRaid?: boolean; - oneSessionOnly?: boolean; - doNotResetIfCounterCompleted?: boolean; - dogtagLevel?: number; - maxDurability?: number; - minDurability?: number; - counter?: AvailableForCounter; - plantTime?: number; - zoneId?: string; - type?: boolean; - countInRaid?: boolean; -} -export interface AvailableForCounter { - id: string; - conditions: CounterCondition[]; -} -export interface CounterCondition { - _parent: string; - _props: CounterProps; -} -export interface CounterProps { - id: string; - target: string[] | string; - compareMethod?: string; - value?: string; - weapon?: string[]; - equipmentInclusive?: string[][]; - weaponModsInclusive?: string[][]; - status?: string[]; - bodyPart?: string[]; - daytime?: DaytimeCounter; -} -export interface DaytimeCounter { - from: number; - to: number; -} -export interface VisibilityCondition { - id: string; - value: number; - dynamicLocale: boolean; - oneSessionOnly: boolean; -} -export interface Rewards { - AvailableForStart: Reward[]; - AvailableForFinish: Reward[]; - Started: Reward[]; - Success: Reward[]; - Fail: Reward[]; - FailRestartable: Reward[]; - Expired: Reward[]; -} -export interface Reward { - value?: string | number; - id: string; - type: QuestRewardType; - index: number; - target?: string; - items?: Item[]; - loyaltyLevel?: number; - traderId?: string; - unknown?: boolean; - findInRaid?: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IRepeatableQuests.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IRepeatableQuests.d.ts deleted file mode 100644 index e23ec73..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/IRepeatableQuests.d.ts +++ /dev/null @@ -1,219 +0,0 @@ -import { Item } from "./IItem"; -export interface IReward { - index: number; - type: string; - value: number; - target?: string; - items?: Item[]; -} -export interface IRepeatableQuestDatabase { - templates: ITemplates; - rewards: IRewardOptions; - data: IOptions; - samples: ISampleQuests[]; -} -export interface ITemplates { - Elimination: IRepeatableQuest; - Completion: IRepeatableQuest; - Exploration: IRepeatableQuest; -} -export interface IPmcDataRepeatableQuest { - id?: string; - name: string; - activeQuests: IRepeatableQuest[]; - inactiveQuests: IRepeatableQuest[]; - endTime: number; - changeRequirement: TChangeRequirementRecord; -} -export declare type TChangeRequirementRecord = Record; -export interface IChangeRequirement { - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IChangeCost { - templateId: string; - count: number; -} -export interface IRepeatableQuest { - _id: any; - traderId: string; - location: any; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - changeQuestMessageText: string; - templateId: string; - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IRewards { - Started: IReward[]; - Success: IReward[]; - Fail: IReward[]; -} -export interface IConditions { - AvailableForStart: any[]; - AvailableForFinish: IAvailableFor[]; - Fail: any[]; -} -export interface IAvailableFor { - _props: IAvailableForProps; - _parent: string; - dynamicLocale: boolean; -} -export interface IAvailableForProps { - id: string; - parentId: string; - dynamicLocale: boolean; - index: number; - visibilityConditions: IVisibilityCondition[]; - value: number; -} -export interface IVisibilityCondition { - id: string; - oneSessionOnly: boolean; - value: number; - index: number; - dynamicLocale: boolean; -} -export interface IAvailableForPropsCounter extends IAvailableForProps { - type: string; - oneSessionOnly: boolean; - doNotResetIfCounterCompleted: boolean; - counter: ICounter; -} -export interface ICounter { - id: string; - conditions: ICondition[]; -} -export interface ICondition { - _props: IConditionProps; - _parent: string; -} -export interface IConditionProps { - id: string; - dynamicLocale: boolean; -} -export interface IElimination extends IRepeatableQuest { - conditions: IEliminationConditions; -} -export interface IEliminationConditions extends IConditions { - AvailableForFinish: IEliminationAvailableFor[]; -} -export interface IEliminationAvailableFor extends IAvailableFor { - _props: IEliminationAvailableForProps; -} -export interface IEliminationAvailableForProps extends IAvailableForPropsCounter { - counter: IEliminationCounter; -} -export interface IEliminationCounter extends ICounter { - conditions: IEliminationCondition[]; -} -export interface IEliminationCondition extends ICondition { - _props: ILocationConditionProps | IKillConditionProps; -} -export interface IExploration extends IRepeatableQuest { - conditions: IExplorationConditions; -} -export interface IExplorationConditions extends IConditions { - AvailableForFinish: IExplorationAvailableFor[]; -} -export interface IExplorationAvailableFor extends IAvailableFor { - _props: IExplorationAvailableForProps; -} -export interface IExplorationAvailableForProps extends IAvailableForPropsCounter { - counter: IExplorationCounter; -} -export interface IExplorationCounter extends ICounter { - conditions: IExplorationCondition[]; -} -export interface IExplorationCondition extends ICondition { - _props: ILocationConditionProps | IExitStatusConditionProps | IExitNameConditionProps; -} -export interface ICompletion extends IRepeatableQuest { - conditions: ICompletionConditions; -} -export interface ICompletionConditions extends IConditions { - AvailableForFinish: ICompletionAvailableFor[]; -} -export interface ICompletionAvailableFor extends IAvailableFor { - _props: ICompletionAvailableForProps; -} -export interface ICompletionAvailableForProps extends IAvailableForProps { - target: string[]; - minDurability: number; - maxDurability: number; - dogtagLevel: number; - onlyFoundInRaid: boolean; -} -export interface ILocationConditionProps extends IConditionProps { - target: string[]; -} -export interface IKillConditionProps extends IConditionProps { - target: string; - value: number; - savageRole?: string[]; - bodyPart?: string[]; - distance?: IDistanceCheck; -} -export interface IDistanceCheck { - compareMethod: string; - value: number; -} -export interface IExitStatusConditionProps extends IConditionProps { - status: string[]; -} -export interface IExitNameConditionProps extends IConditionProps { - exitName: string; -} -export interface IRewardOptions { - itemsBlacklist: string[]; -} -export interface IOptions { - Completion: ICompletionFilter; -} -export interface ICompletionFilter { - itemsBlacklist: ItemsBlacklist[]; - itemsWhitelist: ItemsWhitelist[]; -} -export interface ItemsBlacklist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ItemsWhitelist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ISampleQuests { - _id: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - templateId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ITemplateItem.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ITemplateItem.d.ts deleted file mode 100644 index 23a1a14..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ITemplateItem.d.ts +++ /dev/null @@ -1,455 +0,0 @@ -export interface ITemplateItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name?: string; - ShortName?: string; - Description?: string; - Weight?: number; - BackgroundColor?: string; - Width?: number; - Height?: number; - StackMaxSize?: number; - Rarity?: string; - SpawnChance?: number; - CreditsPrice?: number; - ItemSound?: string; - Prefab?: Prefab; - UsePrefab?: Prefab; - StackObjectsCount?: number; - NotShownInSlot?: boolean; - ExaminedByDefault?: boolean; - ExamineTime?: number; - IsUndiscardable?: boolean; - IsUnsaleable?: boolean; - IsUnbuyable?: boolean; - IsUngivable?: boolean; - IsLockedafterEquip?: boolean; - QuestItem?: boolean; - LootExperience?: number; - ExamineExperience?: number; - HideEntrails?: boolean; - RepairCost?: number; - RepairSpeed?: number; - ExtraSizeLeft?: number; - ExtraSizeRight?: number; - ExtraSizeUp?: number; - ExtraSizeDown?: number; - ExtraSizeForceAdd?: boolean; - MergesWithChildren?: boolean; - CanSellOnRagfair?: boolean; - CanRequireOnRagfair?: boolean; - ConflictingItems?: string[]; - Unlootable?: boolean; - UnlootableFromSlot?: string; - UnlootableFromSide?: string[]; - AnimationVariantsNumber?: number; - DiscardingBlock?: boolean; - DropSoundType?: string; - RagFairCommissionModifier?: number; - IsAlwaysAvailableForInsurance?: boolean; - DiscardLimit?: number; - MaxResource?: number; - Resource?: number; - DogTagQualities?: boolean; - Grids?: Grid[]; - Slots?: Slot[]; - CanPutIntoDuringTheRaid?: boolean; - CantRemoveFromSlotsDuringRaid?: string[]; - KeyIds?: string[]; - TagColor?: number; - TagName?: string; - Durability?: number; - Accuracy?: number; - Recoil?: number; - Loudness?: number; - EffectiveDistance?: number; - Ergonomics?: number; - Velocity?: number; - RaidModdable?: boolean; - ToolModdable?: boolean; - BlocksFolding?: boolean; - BlocksCollapsible?: boolean; - IsAnimated?: boolean; - HasShoulderContact?: boolean; - SightingRange?: number; - DoubleActionAccuracyPenaltyMult?: number; - ModesCount: any; - DurabilityBurnModificator?: number; - HeatFactor?: number; - CoolFactor?: number; - muzzleModType?: string; - CustomAimPlane?: string; - sightModType?: string; - aimingSensitivity?: number; - SightModesCount?: number; - OpticCalibrationDistances?: number[]; - ScopesCount?: number; - AimSensitivity?: number | number[][]; - Zooms?: number[][]; - CalibrationDistances?: number[][]; - Intensity?: number; - Mask?: string; - MaskSize?: number; - NoiseIntensity?: number; - NoiseScale?: number; - Color?: Color; - DiffuseIntensity?: number; - HasHinge?: boolean; - RampPalette?: string; - DepthFade?: number; - RoughnessCoef?: number; - SpecularCoef?: number; - MainTexColorCoef?: number; - MinimumTemperatureValue?: number; - RampShift?: number; - HeatMin?: number; - ColdMax?: number; - IsNoisy?: boolean; - IsFpsStuck?: boolean; - IsGlitch?: boolean; - IsMotionBlurred?: boolean; - IsPixelated?: boolean; - PixelationBlockCount?: number; - ShiftsAimCamera?: number; - magAnimationIndex?: number; - Cartridges?: Slot[]; - CanFast?: boolean; - CanHit?: boolean; - CanAdmin?: boolean; - LoadUnloadModifier?: number; - CheckTimeModifier?: number; - CheckOverride?: number; - ReloadMagType?: string; - VisibleAmmoRangesString?: string; - MalfunctionChance?: number; - IsShoulderContact?: boolean; - Foldable?: boolean; - Retractable?: boolean; - SizeReduceRight?: number; - CenterOfImpact?: number; - ShotgunDispersion?: number; - IsSilencer?: boolean; - DeviationCurve?: number; - DeviationMax?: number; - SearchSound?: string; - BlocksArmorVest?: boolean; - speedPenaltyPercent?: number; - GridLayoutName?: string; - SpawnFilter?: any[]; - containType?: any[]; - sizeWidth?: number; - sizeHeight?: number; - isSecured?: boolean; - spawnTypes?: string; - lootFilter?: any[]; - spawnRarity?: string; - minCountSpawn?: number; - maxCountSpawn?: number; - openedByKeyID?: any[]; - RigLayoutName?: string; - MaxDurability?: number; - armorZone?: string[]; - armorClass: any; - mousePenalty?: number; - weaponErgonomicPenalty?: number; - BluntThroughput?: number; - ArmorMaterial?: string; - weapClass?: string; - weapUseType?: string; - ammoCaliber?: string; - OperatingResource?: number; - RepairComplexity?: number; - durabSpawnMin?: number; - durabSpawnMax?: number; - isFastReload?: boolean; - RecoilForceUp?: number; - RecoilForceBack?: number; - Convergence?: number; - RecoilAngle?: number; - weapFireType?: string[]; - RecolDispersion?: number; - SingleFireRate?: number; - CanQueueSecondShot?: boolean; - bFirerate?: number; - bEffDist?: number; - bHearDist?: number; - isChamberLoad?: boolean; - chamberAmmoCount?: number; - isBoltCatch?: boolean; - defMagType?: string; - defAmmo?: string; - AdjustCollimatorsToTrajectory?: boolean; - shotgunDispersion?: number; - Chambers?: Slot[]; - CameraRecoil?: number; - CameraSnap?: number; - ReloadMode?: string; - AimPlane?: number; - TacticalReloadStiffnes?: Xyz; - TacticalReloadFixation?: number; - RecoilCenter?: Xyz; - RotationCenter?: Xyz; - RotationCenterNoStock?: Xyz; - FoldedSlot?: string; - CompactHandling?: boolean; - MinRepairDegradation?: number; - MaxRepairDegradation?: number; - IronSightRange?: number; - IsFlareGun?: boolean; - IsGrenadeLauncher?: boolean; - IsOneoff?: boolean; - MustBoltBeOpennedForExternalReload?: boolean; - MustBoltBeOpennedForInternalReload?: boolean; - BoltAction?: boolean; - HipAccuracyRestorationDelay?: number; - HipAccuracyRestorationSpeed?: number; - HipInnaccuracyGain?: number; - ManualBoltCatch?: boolean; - BurstShotsCount?: number; - BaseMalfunctionChance?: number; - AllowJam?: boolean; - AllowFeed?: boolean; - AllowMisfire?: boolean; - AllowSlide?: boolean; - DurabilityBurnRatio?: number; - HeatFactorGun?: number; - CoolFactorGun?: number; - CoolFactorGunMods?: number; - HeatFactorByShot?: number; - AllowOverheat?: boolean; - DoubleActionAccuracyPenalty?: number; - RecoilPosZMult?: number; - MinRepairKitDegradation?: number; - MaxRepairKitDegradation?: number; - BlocksEarpiece?: boolean; - BlocksEyewear?: boolean; - BlocksHeadwear?: boolean; - BlocksFaceCover?: boolean; - Indestructibility?: number; - headSegments?: string[]; - FaceShieldComponent?: boolean; - FaceShieldMask?: string; - MaterialType?: string; - RicochetParams?: Xyz; - DeafStrength?: string; - BlindnessProtection?: number; - Distortion?: number; - CompressorTreshold?: number; - CompressorAttack?: number; - CompressorRelease?: number; - CompressorGain?: number; - CutoffFreq?: number; - Resonance?: number; - CompressorVolume?: number; - AmbientVolume?: number; - DryVolume?: number; - foodUseTime?: number; - foodEffectType?: string; - StimulatorBuffs?: string; - effects_health: any; - effects_damage: any; - MaximumNumberOfUsage?: number; - knifeHitDelay?: number; - knifeHitSlashRate?: number; - knifeHitStabRate?: number; - knifeHitRadius?: number; - knifeHitSlashDam?: number; - knifeHitStabDam?: number; - knifeDurab?: number; - PrimaryDistance?: number; - SecondryDistance?: number; - SlashPenetration?: number; - StabPenetration?: number; - PrimaryConsumption?: number; - SecondryConsumption?: number; - DeflectionConsumption?: number; - AppliedTrunkRotation?: Xyz; - AppliedHeadRotation?: Xyz; - DisplayOnModel?: boolean; - AdditionalAnimationLayer?: number; - StaminaBurnRate?: number; - ColliderScaleMultiplier?: Xyz; - ConfigPathStr?: string; - MaxMarkersCount?: number; - scaleMin?: number; - scaleMax?: number; - medUseTime?: number; - medEffectType?: string; - MaxHpResource?: number; - hpResourceRate?: number; - apResource?: number; - krResource?: number; - MaxOpticZoom?: number; - MaxRepairResource?: number; - TargetItemFilter?: string[]; - RepairQuality?: number; - RepairType?: string; - StackMinRandom?: number; - StackMaxRandom?: number; - ammoType?: string; - InitialSpeed?: number; - BallisticCoeficient?: number; - BulletMassGram?: number; - BulletDiameterMilimeters?: number; - Damage?: number; - ammoAccr?: number; - ammoRec?: number; - ammoDist?: number; - buckshotBullets?: number; - PenetrationPower?: number; - PenetrationPowerDiviation?: number; - ammoHear?: number; - ammoSfx?: string; - MisfireChance?: number; - MinFragmentsCount?: number; - MaxFragmentsCount?: number; - ammoShiftChance?: number; - casingName?: string; - casingEjectPower?: number; - casingMass?: number; - casingSounds?: string; - ProjectileCount?: number; - PenetrationChance?: number; - RicochetChance?: number; - FragmentationChance?: number; - Deterioration?: number; - SpeedRetardation?: number; - Tracer?: boolean; - TracerColor?: string; - TracerDistance?: number; - ArmorDamage?: number; - Caliber?: string; - StaminaBurnPerDamage?: number; - HeavyBleedingDelta?: number; - LightBleedingDelta?: number; - ShowBullet?: boolean; - HasGrenaderComponent?: boolean; - FuzeArmTimeSec?: number; - ExplosionStrength?: number; - MinExplosionDistance?: number; - MaxExplosionDistance?: number; - FragmentsCount?: number; - FragmentType?: string; - ShowHitEffectOnExplode?: boolean; - ExplosionType?: string; - AmmoLifeTimeSec?: number; - Contusion?: Xyz; - ArmorDistanceDistanceDamage?: Xyz; - Blindness?: Xyz; - IsLightAndSoundShot?: boolean; - LightAndSoundShotAngle?: number; - LightAndSoundShotSelfContusionTime?: number; - LightAndSoundShotSelfContusionStrength?: number; - MalfMisfireChance?: number; - MalfFeedChance?: number; - StackSlots?: StackSlot[]; - type?: string; - eqMin?: number; - eqMax?: number; - rate?: number; - ThrowType?: string; - ExplDelay?: number; - Strength?: number; - ContusionDistance?: number; - throwDamMax?: number; - explDelay?: number; - EmitTime?: number; - CanBeHiddenDuringThrow?: boolean; - MinTimeToContactExplode?: number; - ExplosionEffectType?: string; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Grid { - _name: string; - _id: string; - _parent: string; - _props: GridProps; - _proto: string; -} -export interface GridProps { - filters: GridFilter[]; - cellsH: number; - cellsV: number; - minCount: number; - maxCount: number; - maxWeight: number; - isSortingTable: boolean; -} -export interface GridFilter { - Filter: string[]; - ExcludedFilter: string[]; -} -export interface Slot { - _name: string; - _id: string; - _parent: string; - _props: SlotProps; - _max_count?: number; - _required: boolean; - _mergeSlotWithChildren: boolean; - _proto: string; -} -export interface SlotProps { - filters: SlotFilter[]; -} -export interface SlotFilter { - Shift?: number; - Filter: string[]; - AnimationIndex?: number; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StackSlot { - _name?: string; - _id: string; - _parent: string; - _max_count: number; - _props: StackSlotProps; - _proto: string; - upd: any; -} -export interface StackSlotProps { - filters: SlotFilter[]; -} -export interface EffectsHealth { - Energy: EffectsHealthProps; - Hydration: EffectsHealthProps; -} -export interface EffectsHealthProps { - value: number; -} -export interface EffectsDamage { - Pain: EffectDamageProps; - LightBleeding: EffectDamageProps; - HeavyBleeding: EffectDamageProps; - Contusion: EffectDamageProps; - RadExposure: EffectDamageProps; - Fracture: EffectDamageProps; - DestroyedPart: EffectDamageProps; -} -export interface EffectDamageProps { - delay: number; - duration: number; - fadeOut: number; - cost?: number; - healthPenaltyMin?: number; - healthPenaltyMax?: number; -} -export interface Color { - r: number; - g: number; - b: number; - a: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ITrader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ITrader.d.ts deleted file mode 100644 index f0fe2b5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/common/tables/ITrader.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Item } from "./IItem"; -export interface ITrader { - assort: ITraderAssort; - base: ITraderBase; - dialogue?: Record; - questassort: Record>; - suits?: ISuit[]; -} -export interface ITraderBase { - refreshAssort: boolean; - _id: string; - avatar: string; - balance_dol: number; - balance_eur: number; - balance_rub: number; - buyer_up: boolean; - currency: string; - customization_seller: boolean; - discount: number; - discount_end: number; - gridHeight: number; - insurance: Insurance; - location: string; - loyaltyLevels: LoyaltyLevel[]; - medic: boolean; - name: string; - nextResupply: number; - nickname: string; - repair: Repair; - sell_category: string[]; - surname: string; - unlockedByDefault: boolean; -} -export interface Insurance { - availability: boolean; - excluded_category: string[]; - max_return_hour: number; - max_storage_time: number; - min_payment: number; - min_return_hour: number; -} -export interface LoyaltyLevel { - buy_price_coef: number; - exchange_price_coef: number; - heal_price_coef: number; - insurance_price_coef: number; - minLevel: number; - minSalesSum: number; - minStanding: number; - repair_price_coef: number; -} -export interface Repair { - availability: boolean; - currency: string; - currency_coefficient: number; - excluded_category: string[]; - excluded_id_list: any[]; - quality: string; -} -export interface ITraderAssort { - nextResupply?: number; - items: Item[]; - barter_scheme: Record; - loyal_level_items: Record; -} -export interface IBarterScheme { - count: number; - _tpl: string; - onlyFunctional?: boolean; -} -export interface ISuit { - _id: string; - tid: string; - suiteId: string; - isActive: boolean; - requirements: Requirements; -} -export interface Requirements { - loyaltyLevel: number; - profileLevel: number; - standing: number; - skillRequirements: string[]; - questRequirements: string[]; - itemRequirements: ItemRequirement[]; -} -export interface ItemRequirement { - count: number; - _tpl: string; - onlyFunctional: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/customization/IBuyClothingRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/customization/IBuyClothingRequestData.d.ts deleted file mode 100644 index d19b70d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/customization/IBuyClothingRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IBuyClothingRequestData { - Action: "CustomizationBuy"; - offer: string; - items: ClothingItem[]; -} -export interface ClothingItem { - del: boolean; - id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/customization/IWearClothingRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/customization/IWearClothingRequestData.d.ts deleted file mode 100644 index 122d9cf..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/customization/IWearClothingRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWearClothingRequestData { - Action: "CustomizationWear"; - suites: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IFriendRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IFriendRequestData.d.ts deleted file mode 100644 index 9c326ac..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IFriendRequestData { - to: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts deleted file mode 100644 index 53d8289..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetAllAttachmentsRequestData { - dialogId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts deleted file mode 100644 index 076d414..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Message } from "../profile/IAkiProfile"; -export interface IGetAllAttachmentsResponse { - messages: Message[]; - profiles: any[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetChatServerListRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetChatServerListRequestData.d.ts deleted file mode 100644 index 8f1beac..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetChatServerListRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetChatServerListRequestData { - VersionId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetFriendListDataResponse.d.ts deleted file mode 100644 index 1d0c0e8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -export interface IGetFriendListDataResponse { - Friends: Friend[]; - Ignore: any[]; - InIgnoreList: any[]; -} -export interface Friend { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts deleted file mode 100644 index eed84b1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMailDialogInfoRequestData { - dialogId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts deleted file mode 100644 index f8fbf5d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMailDialogListRequestData { - limit: number; - offset: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts deleted file mode 100644 index 43d416e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface IGetMailDialogViewRequestData { - type: MessageType; - dialogId: string; - limit: number; - time: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts deleted file mode 100644 index 4f8b946..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { Message } from "../profile/IAkiProfile"; -export interface IGetMailDialogViewResponseData { - messages: Message[]; - profiles: IPmcData[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IPinDialogRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IPinDialogRequestData.d.ts deleted file mode 100644 index 57b8a00..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IPinDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPinDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IRemoveDialogRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IRemoveDialogRequestData.d.ts deleted file mode 100644 index 874b828..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/IRemoveDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRemoveDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/ISendMessageRequest.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/ISendMessageRequest.d.ts deleted file mode 100644 index dd79deb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/ISendMessageRequest.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface ISendMessageRequest { - dialogId: string; - type: MessageType; - text: string; - replyTo: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/ISetDialogReadRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/ISetDialogReadRequestData.d.ts deleted file mode 100644 index 2076232..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/dialog/ISetDialogReadRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISetDialogReadRequestData { - dialogs: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IGameConfigResponse.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IGameConfigResponse.d.ts deleted file mode 100644 index eb37a39..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IGameConfigResponse.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export interface IGameConfigResponse { - aid: string; - lang: string; - languages: Record; - ndaFree: boolean; - taxonomy: number; - activeProfileId: string; - backend: Backend; - utc_time: number; - totalInGame: number; - reportAvailable: boolean; - twitchEventMember: boolean; -} -export interface Backend { - Trading: string; - Messaging: string; - Main: string; - RagFair: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IGameEmptyCrcRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IGameEmptyCrcRequestData.d.ts deleted file mode 100644 index a3ecad9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IGameEmptyCrcRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGameEmptyCrcRequestData { - crc: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IReportNicknameRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IReportNicknameRequestData.d.ts deleted file mode 100644 index 087c58b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IReportNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IReportNicknameRequestData { - uid: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IVersionValidateRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IVersionValidateRequestData.d.ts deleted file mode 100644 index 0aa0fed..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/game/IVersionValidateRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IVersionValidateRequestData { - version: Version; - develop: boolean; -} -export interface Version { - major: string; - minor: string; - game: string; - backend: string; - taxonomy: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/Effect.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/Effect.d.ts deleted file mode 100644 index 2f0adac..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/Effect.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Effect { - Fracture = "Fracture", - LightBleeding = "LightBleeding", - HeavyBleeding = "HeavyBleeding" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IHealthTreatmentRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IHealthTreatmentRequestData.d.ts deleted file mode 100644 index 7fb80a8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IHealthTreatmentRequestData.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export interface IHealthTreatmentRequestData { - Action: "RestoreHealth"; - trader: string; - items: Item[]; - difference: Difference; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} -export interface Difference { - BodyParts: BodyParts; - Energy: number; - Hydration: number; -} -export interface BodyParts { - Head: BodyPart; - Chest: BodyPart; - Stomach: BodyPart; - LeftArm: BodyPart; - RightArm: BodyPart; - LeftLeg: BodyPart; - RightLeg: BodyPart; -} -export interface BodyPart { - Health: number; - Effects: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IOffraidEatRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IOffraidEatRequestData.d.ts deleted file mode 100644 index 8e2b6c3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IOffraidEatRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidEatRequestData extends IBaseInteractionRequestData { - Action: "Eat"; - item: string; - count: number; - time: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IOffraidHealRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IOffraidHealRequestData.d.ts deleted file mode 100644 index c242300..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/IOffraidHealRequestData.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidHealRequestData extends IBaseInteractionRequestData { - Action: "Heal"; - item: string; - part: BodyPart; - count: number; - time: number; -} -export declare enum BodyPart { - Head = 0, - Chest = 1, - Stomach = 2, - LeftArm = 3, - RightArm = 4, - LeftLeg = 5, - RightLeg = 6, - Common = 7 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/ISyncHealthRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/ISyncHealthRequestData.d.ts deleted file mode 100644 index 20e32f6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/health/ISyncHealthRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface ISyncHealthRequestData { - Health: Health; - IsAlive: boolean; - Hydration?: number; - Energy?: number; - Temperature?: number; -} -export interface Health { - Head?: BodyPartHealth; - Chest?: BodyPartHealth; - Stomach?: BodyPartHealth; - LeftArm?: BodyPartHealth; - RightArm?: BodyPartHealth; - LeftLeg?: BodyPartHealth; - RightLeg?: BodyPartHealth; -} -export interface BodyPartHealth { - Maximum: number; - Current: number; - Effects: Record; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 8583e8d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface HideoutUpgradeCompleteRequestData { - Action: string; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutArea.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutArea.d.ts deleted file mode 100644 index d9fd2bf..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutArea.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface IHideoutArea { - _id: string; - type: number; - enabled: boolean; - needsFuel: boolean; - takeFromSlotLocked: boolean; - craftGivesExp: boolean; - stages: Record; -} -export interface Stage { - requirements: Requirement[]; - bonuses: StageBonus[]; - slots: number; - constructionTime: number; - description: string; -} -export interface Requirement { - areaType?: number; - requiredLevel?: number; - type: string; - templateId?: string; - count?: number; - isFunctional?: boolean; - traderId?: string; - loyaltyLevel?: number; - skillName?: string; - skillLevel?: number; -} -export interface StageBonus { - value: number; - passive: boolean; - production: boolean; - visible: boolean; - skillType?: string; - type: string; - filter?: string[]; - icon?: string; - id?: string; - templateId?: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts deleted file mode 100644 index dba83eb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutContinousProductionStartRequestData { - Action: "HideoutContinuousProductionStart"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutProduction.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutProduction.d.ts deleted file mode 100644 index ce878be..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutProduction.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IHideoutProduction { - _id: string; - areaType: number; - requirements: Requirement[]; - productionTime: number; - boosters: any; - endProduct: string; - continuous: boolean; - count: number; - productionLimitCount: number; -} -export interface Requirement { - templateId?: string; - count?: number; - isFunctional?: boolean; - type: string; - areaType?: number; - requiredLevel?: number; - resource?: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts deleted file mode 100644 index 8326c55..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutPutItemInRequestData { - Action: "HideoutPutItemsInAreaSlots"; - areaType: number; - items: Record; - timestamp: number; -} -export interface ItemDetails { - count: number; - id: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutScavCase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutScavCase.d.ts deleted file mode 100644 index e0b9a27..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutScavCase.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -export interface IHideoutScavCase { - _id: string; - ProductionTime: number; - Requirements: Requirement[]; - EndProducts: EndProducts; -} -export interface Requirement { - templateId: string; - count: number; - isFunctional: boolean; - type: string; -} -export interface EndProducts { - Common: MinMax; - Rare: MinMax; - Superrare: MinMax; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts deleted file mode 100644 index 72fda86..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export interface IHideoutScavCaseStartRequestData { - Action: "HideoutScavCaseProductionStart"; - recipeId: string; - items: HideoutItem[]; - tools: Tool[]; - timestamp: number; -} -export interface HideoutItem { - id: string; - count: number; -} -export interface Tool { - id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutSettingsBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutSettingsBase.d.ts deleted file mode 100644 index 8e45939..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutSettingsBase.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutSettingsBase { - generatorSpeedWithoutFuel: number; - generatorFuelFlowRate: number; - airFilterUnitFlowRate: number; - gpuBoostRate: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts deleted file mode 100644 index 1ed542a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutSingleProductionStartRequestData { - Action: "HideoutSingleProductionStart"; - recipeId: string; - items: Item[]; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts deleted file mode 100644 index 83a740a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutTakeItemOutRequestData { - Action: "HideoutTakeItemsFromAreaSlots"; - areaType: number; - slots: number[]; - timestamp: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts deleted file mode 100644 index a6847ef..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutTakeProductionRequestData { - Action: "HideoutTakeProduction"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts deleted file mode 100644 index cdea513..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutToggleAreaRequestData { - Action: "HideoutToggleArea"; - areaType: number; - enabled: boolean; - timestamp: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 545311e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutUpgradeCompleteRequestData { - Action: "HideoutUpgradeComplete"; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts deleted file mode 100644 index dfbfdca..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutUpgradeRequestData { - Action: "HideoutUpgrade"; - areaType: number; - items: HideoutItem[]; - timestamp: number; -} -export interface HideoutItem { - count: number; - id: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/httpResponse/IGetBodyResponseData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/httpResponse/IGetBodyResponseData.d.ts deleted file mode 100644 index b5dc5c1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/httpResponse/IGetBodyResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetBodyResponseData { - err: number; - errmsg: any; - (data: Type): Type; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/httpResponse/INullResponseData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/httpResponse/INullResponseData.d.ts deleted file mode 100644 index a3ae838..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/httpResponse/INullResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface INullResponseData { - err: number; - errmsg: any; - data: null; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts deleted file mode 100644 index e2d9cf1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IRegisterPlayerRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inRaid/ISaveProgressRequestData.d.ts deleted file mode 100644 index 6930261..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { ISyncHealthRequestData } from "../health/ISyncHealthRequestData"; -export interface ISaveProgressRequestData { - exit: string; - profile: IPmcData; - isPlayerScav: boolean; - health: ISyncHealthRequestData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts deleted file mode 100644 index 0e32e96..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetInsuranceCostRequestData { - traders: string[]; - items: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts deleted file mode 100644 index bf209c6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare type IGetInsuranceCostResponseData = Record>; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IInsureRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IInsureRequestData.d.ts deleted file mode 100644 index f657bb7..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/insurance/IInsureRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInsureRequestData extends IBaseInteractionRequestData { - Action: "Insure"; - tid: string; - items: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IAddItemRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IAddItemRequestData.d.ts deleted file mode 100644 index 53db97a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IAddItemRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IAddItemRequestData { - tid: string; - items: any[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryAddRequestData.d.ts deleted file mode 100644 index 462e0de..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { - Action: "Add"; - item: string; - container: Container; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts deleted file mode 100644 index b45e459..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { -} -export interface To { - id: string; - container: string; - location?: ToLocation | number; -} -export interface ToLocation { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} -export interface Container { - id: string; - container: string; - location: Location | number; -} -export interface Location { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryBindRequestData.d.ts deleted file mode 100644 index ff35066..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { - Action: "Bind"; - item: string; - index: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts deleted file mode 100644 index 1e1ecef..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "CreateMapMarker"; - item: string; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts deleted file mode 100644 index 0657e1b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "DeleteMapMarker"; - item: string; - X: number; - Y: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts deleted file mode 100644 index e2857e1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "EditMapMarker"; - item: string; - X: number; - Y: number; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryExamineRequestData.d.ts deleted file mode 100644 index 614711f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { - Action: "Examine"; - item: string; - fromOwner: IFromOwner; -} -export interface IFromOwner { - id: string; - type: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryFoldRequestData.d.ts deleted file mode 100644 index a5fb2a1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { - Action: "Fold"; - item: string; - value: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryMergeRequestData.d.ts deleted file mode 100644 index 3fcfa35..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { - Action: "Merge"; - item: string; - with: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryMoveRequestData.d.ts deleted file mode 100644 index b767908..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { - Action: "Move"; - item: string; - to: To; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts deleted file mode 100644 index 5487b20..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { - Action: "ReadEncyclopedia"; - ids: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts deleted file mode 100644 index 07d1a52..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { - Action: "Remove"; - item: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySortRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySortRequestData.d.ts deleted file mode 100644 index a0b7928..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Upd } from "../common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { - Action: "ApplyInventoryChanges"; - changedItems: ChangedItem[]; -} -export interface ChangedItem { - _id: string; - _tpl: string; - parentId: string; - slotId: string; - location: Location; - upd: Upd; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySplitRequestData.d.ts deleted file mode 100644 index 730ae71..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { - Action: "Split"; - item: string; - container: Container; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySwapRequestData.d.ts deleted file mode 100644 index 1b0464d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { OwnerInfo } from "../common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { - Action: "Swap"; - item: string; - to: To; - item2: string; - to2: To; - fromOwner2: OwnerInfo; - toOwner2: OwnerInfo; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryTagRequestData.d.ts deleted file mode 100644 index f021661..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { - Action: "Tag"; - item: string; - TagName: string; - TagColor: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryToggleRequestData.d.ts deleted file mode 100644 index 0955440..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { - Action: "Toggle"; - item: string; - value: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryTransferRequestData.d.ts deleted file mode 100644 index cf4391b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { - Action: "Transfer"; - item: string; - with: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts deleted file mode 100644 index 689fe75..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { - profileChanges: ""; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterBase.d.ts deleted file mode 100644 index 4841cfd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -import { Item, Upd } from "../common/tables/IItem"; -import { IQuest } from "../common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "../ragfair/IRagfairOffer"; -export interface IItemEventRouterBase { - warnings: Warning[]; - profileChanges: TProfileChanges | ""; -} -export declare type TProfileChanges = Record; -export interface Warning { - index: number; - err: string; - errmsg: string; -} -export interface ProfileChange { - _id: string; - experience: number; - quests: IQuest[]; - ragFairOffers: IRagfairOffer[]; - builds: BuildChange[]; - items: ItemChanges; - production: Record; - skills: Skills; - traderRelations: Record; - repeatableQuests?: IPmcDataRepeatableQuest[]; -} -export interface BuildChange { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface ItemChanges { - new: Product[]; - change: Product[]; - del: Product[]; -} -export interface Production { - Progress: number; - StartTimestamp: number; - ProductionTime: number; - inProgress: boolean; - RecipeId: string; - Products: Product[]; -} -export interface Product { - _id: string; - _tpl?: string; - parentId?: string; - slotId?: string; - location?: ItemChangeLocation; - upd?: Upd; -} -export interface ItemChangeLocation { - x: number; - y: number; - r: number; - isSearched?: boolean; -} -export interface TraderRelations { - salesSum?: number; - standing?: number; - loyalty?: number; - unlocked?: boolean; - disabled?: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts deleted file mode 100644 index 515b49a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface IItemEventRouterRequest { - data: Daum[]; - tm: number; - reload: number; -} -export interface Daum { - Action: string; - item: string; - to: To; -} -export interface To { - id: string; - container: string; - location?: Location; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts deleted file mode 100644 index 72a9b5b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IItemEventRouterResponse extends IItemEventRouterBase { -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IChangeRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IChangeRequestData.d.ts deleted file mode 100644 index f0a7838..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IChangeRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IChangeRequestData extends ILoginRequestData { - change: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts deleted file mode 100644 index a14c7c9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMiniProfileRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/ILoginRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/ILoginRequestData.d.ts deleted file mode 100644 index e965813..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/ILoginRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ILoginRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IMiniProfile.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IMiniProfile.d.ts deleted file mode 100644 index c12661a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IMiniProfile.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface IMiniProfile { - username: string; - nickname: string; - side: string; - currlvl: number; - currexp: number; - prevexp: number; - nextlvl: number; - maxlvl: number; - akiData: AkiData; -} -export interface AkiData { - version: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IRegisterData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IRegisterData.d.ts deleted file mode 100644 index 61a8bbe..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IRegisterData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IRegisterData extends ILoginRequestData { - edition: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IRemoveProfileData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IRemoveProfileData.d.ts deleted file mode 100644 index d31c9ac..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/launcher/IRemoveProfileData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export declare type IRemoveProfileData = ILoginRequestData; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/location/IGetLocationRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/location/IGetLocationRequestData.d.ts deleted file mode 100644 index 04e84d9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/location/IGetLocationRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetLocationRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/ICreateGroupRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/ICreateGroupRequestData.d.ts deleted file mode 100644 index 7413a8a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/ICreateGroupRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface ICreateGroupRequestData { - location: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IEndOfflineRaidRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IEndOfflineRaidRequestData.d.ts deleted file mode 100644 index 811e9a2..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IEndOfflineRaidRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IEndOfflineRaidRequestData { - crc: number; - exitStatus: string; - exitName: any; - raidSeconds: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IGetGroupStatusRequestData.d.ts deleted file mode 100644 index 55d7079..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IGetGroupStatusRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface IGetGroupStatusRequestData { - location: string; - savage: boolean; - dt: string; - keyId: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IGetProfileRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IGetProfileRequestData.d.ts deleted file mode 100644 index 86b5bbd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IGetProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetProfileRequestData { - profileId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IJoinMatchRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IJoinMatchRequestData.d.ts deleted file mode 100644 index cd34f7b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IJoinMatchRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IJoinMatchRequestData { - location: string; - savage: boolean; - dt: string; - servers: Server[]; - keyId: string; -} -export interface Server { - ping: number; - ip: string; - port: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IJoinMatchResult.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IJoinMatchResult.d.ts deleted file mode 100644 index df695f4..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IJoinMatchResult.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IJoinMatchResult { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; - version: string; - location: string; - gamemode: string; - shortid: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IPutMetricsRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IPutMetricsRequestData.d.ts deleted file mode 100644 index d9ed214..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IPutMetricsRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IPutMetricsRequestData { - sid: string; - settings: any; - SharedSettings: any; - HardwareDescription: any; - Location: string; - Metrics: any; - ClientEvents: any; - SpikeSamples: any[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IStartOffineRaidRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IStartOffineRaidRequestData.d.ts deleted file mode 100644 index af0625e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IStartOffineRaidRequestData.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { BotAmount } from "../../enums/BotAmount"; -import { BotDifficulty } from "../../enums/BotDifficulty"; -export interface IStartOfflineRaidRequestData { - locationName: string; - startTime: number; - dateTime: string; - gameSettings: GameSettings; -} -export interface GameSettings { - timeAndWeatherSettings: TimeAndWeatherSettings; - botsSettings: BotsSettings; - wavesSettings: WavesSettings; -} -export interface TimeAndWeatherSettings { - isRandomTime: boolean; - isRandomWeather: boolean; -} -export interface BotsSettings { - isEnabled: boolean; - isScavWars: boolean; - botAmount: BotAmount; -} -export interface WavesSettings { - botDifficulty: BotDifficulty; - isBosses: boolean; - isTaggedAndCursed: boolean; - wavesBotAmount: BotAmount; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IUpdatePingRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IUpdatePingRequestData.d.ts deleted file mode 100644 index defbd66..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/match/IUpdatePingRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUpdatePingRequestData { - servers: any[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notes/INoteActionData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notes/INoteActionData.d.ts deleted file mode 100644 index 610657f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notes/INoteActionData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface INoteActionData extends IBaseInteractionRequestData { - Action: string; - index: number; - note: INote; -} -export interface INote { - Time: number; - Text: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notifier/INotifier.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notifier/INotifier.d.ts deleted file mode 100644 index 8c48260..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notifier/INotifier.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface INotifierChannel { - "server": string; - "channel_id": string; - "url": string; - "notifierServer": string; - "ws": string; -} -import { Message } from "../profile/IAkiProfile"; -export interface INotification { - type: "RagfairOfferSold" | "new_message" | "ping"; - eventId: string; - dialogId?: string; - message?: Message; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notifier/ISelectProfileRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notifier/ISelectProfileRequestData.d.ts deleted file mode 100644 index 2bc3d1e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/notifier/ISelectProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISelectProfileRequestData { - uid: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts deleted file mode 100644 index 2f9827c..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -export interface IPlayerIncrementSkillLevelRequestData { - _id: string; - experience: number; - quests: any[]; - ragFairOffers: any[]; - builds: any[]; - items: Items; - production: Production; - skills: Skills; - traderRelations: TraderRelations; -} -export interface Items { - new: any[]; - change: any[]; - del: any[]; -} -export interface Production { -} -export interface TraderRelations { -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts deleted file mode 100644 index 99c61f1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export interface IPresetBuildActionRequestData { - Action: string; - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Item { - _id: string; - _tpl: string; - upd?: Upd; - parentId?: string; - slotId?: string; -} -export interface Upd { - Repairable: Repairable; - FireMode: FireMode; -} -export interface Repairable { - MaxDurability: number; - Durability: number; -} -export interface FireMode { - FireMode: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/GetProfileStatusResponseData.d.ts deleted file mode 100644 index eee9b4f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/GetProfileStatusResponseData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface GetProfileStatusResponseData { - maxPveCountExceeded: false; - profiles: ProfileData[]; -} -export interface ProfileData { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IAkiProfile.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index eaa66c1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -import { IPmcData } from "../common/IPmcData"; -import { Item } from "../common/tables/IItem"; -export interface IAkiProfile { - info: Info; - characters: Characters; - suits: string[]; - weaponbuilds: WeaponBuild[]; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; -} -export interface Info { - id: string; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -export interface WeaponBuild { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Dialogue { - _id: string; - messages: Message[]; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface DialogueInfo { - _id: string; - type: MessageType; - message: MessagePreview; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId: string; - text?: string; - hasRewards: boolean; - rewardCollected: boolean; - items: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: any[]; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; -} -export interface MessageItems { - stash?: string; - data?: Item[]; -} -export interface ISystemData { - date?: string; - time?: string; - location?: string; - buyerNickname?: string; - soldItem?: string; - itemCount?: number; -} -export interface IUpdatableChatMember { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; -} -export interface Vitality { - health: Health; - effects: Effects; -} -export interface Health { - Hydration: number; - Energy: number; - Temperature: number; - Head: number; - Chest: number; - Stomach: number; - LeftArm: number; - RightArm: number; - LeftLeg: number; - RightLeg: number; -} -export interface Effects { - Head: Head; - Chest: Chest; - Stomach: Stomach; - LeftArm: LeftArm; - RightArm: RightArm; - LeftLeg: LeftLeg; - RightLeg: RightLeg; -} -export interface Head { -} -export interface Chest { -} -export interface Stomach { -} -export interface LeftArm { - Fracture?: number; -} -export interface RightArm { - Fracture?: number; -} -export interface LeftLeg { - Fracture?: number; -} -export interface RightLeg { - Fracture?: number; -} -export interface Inraid { - location: string; - character: string; -} -export interface Insurance { - scheduledTime: number; - traderId: string; - messageContent: MessageContent; - items: Item[]; -} -export interface MessageContent { - ragfair?: MessageContentRagfair; - text?: string; - templateId: string; - type: MessageType; - maxStorageTime?: number; - profileChangeEvents?: any[]; - systemData?: ISystemData; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts deleted file mode 100644 index 4a61196..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts deleted file mode 100644 index 91058ce..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeVoiceRequestData { - voice: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileCreateRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileCreateRequestData.d.ts deleted file mode 100644 index 93cc656..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IProfileCreateRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IProfileCreateRequestData { - side: string; - nickname: string; - headId: string; - voiceId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/ISearchFriendRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/ISearchFriendRequestData.d.ts deleted file mode 100644 index e63e386..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/ISearchFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISearchFriendRequestData { - nickname: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/ISearchFriendResponse.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/ISearchFriendResponse.d.ts deleted file mode 100644 index 96d88b2..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/ISearchFriendResponse.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface ISearchFriendResponse { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IValidateNicknameRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IValidateNicknameRequestData.d.ts deleted file mode 100644 index 9cca7e7..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/profile/IValidateNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IValidateNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IAcceptQuestRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IAcceptQuestRequestData.d.ts deleted file mode 100644 index 0e4821a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IAcceptQuestRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IAcceptQuestRequestData { - Action: "QuestAccept"; - qid: string; - type: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/ICompleteQuestRequestData.d.ts deleted file mode 100644 index 36a6db3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/ICompleteQuestRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface ICompleteQuestRequestData { - Action: string; - /** Quest Id */ - qid: string; - removeExcessItems: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IHandoverQuestRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IHandoverQuestRequestData.d.ts deleted file mode 100644 index 63f10a8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IHandoverQuestRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHandoverQuestRequestData { - Action: "QuestHandover"; - qid: string; - conditionId: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IListQuestsRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IListQuestsRequestData.d.ts deleted file mode 100644 index 91f0b8c..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IListQuestsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IListQuestsRequestData { - completed: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts deleted file mode 100644 index 015f58e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRepeatableQuestChangeRequest { - Action: "RepeatableQuestChange"; - qid: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IAddOfferRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IAddOfferRequestData.d.ts deleted file mode 100644 index 465ee02..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IAddOfferRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IAddOfferRequestData { - Action: string; - sellInOnePiece: boolean; - items: string[]; - requirements: Requirement[]; -} -export interface Requirement { - _tpl: string; - count: number; - level: number; - side: number; - onlyFunctional: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IExtendOfferRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IExtendOfferRequestData.d.ts deleted file mode 100644 index 2a4a876..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IExtendOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IExtendOfferRequestData { - offerId: string; - renewalTime: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetItemPriceResult.d.ts deleted file mode 100644 index 676322a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetItemPriceResult { - avg: number; - min: number; - max: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts deleted file mode 100644 index 00f8f17..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMarketPriceRequestData { - templateId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetOffersResult.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetOffersResult.d.ts deleted file mode 100644 index fbc631d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IGetOffersResult.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IRagfairOffer } from "./IRagfairOffer"; -export interface IGetOffersResult { - categories?: Record; - offers: IRagfairOffer[]; - offersCount: number; - selectedCategory: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IRagfairOffer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IRagfairOffer.d.ts deleted file mode 100644 index 63f655e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IRagfairOffer.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -import { Item } from "../common/tables/IItem"; -export interface IRagfairOffer { - sellResult?: SellResult[]; - _id: string; - items: Item[]; - requirements: OfferRequirement[]; - root: string; - intId: number; - itemsCost: number; - requirementsCost: number; - startTime: number; - endTime: number; - sellInOnePiece: boolean; - name?: string; - shortName?: string; - loyaltyLevel: number; - locked: boolean; - unlimitedCount: boolean; - summaryCost: number; - user: IRagfairOfferUser; - notAvailable: boolean; - CurrentItemCount: number; - priority: boolean; -} -export interface OfferRequirement { - _tpl: string; - count: number; - onlyFunctional: boolean; -} -export interface IRagfairOfferUser { - id: string; - nickname: string; - rating: number; - memberType: MemberCategory; - avatar: string; - isRatingGrowing: boolean; -} -export interface SellResult { - sellTime: number; - amount: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts deleted file mode 100644 index d926615..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRemoveOfferRequestData { - Action: string; - offerId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/ISearchRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/ISearchRequestData.d.ts deleted file mode 100644 index 08e7fd3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/ISearchRequestData.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -export interface ISearchRequestData { - page: number; - limit: number; - sortType: number; - sortDirection: number; - currency: number; - priceFrom: number; - priceTo: number; - quantityFrom: number; - quantityTo: number; - conditionFrom: number; - conditionTo: number; - oneHourExpiration: boolean; - removeBartering: boolean; - offerOwnerType: OfferOwnerType; - onlyFunctional: boolean; - updateOfferCount: boolean; - handbookId: string; - linkedSearchId: string; - neededSearchId: string; - buildItems: BuildItems; - buildCount: number; - tm: number; - reload: number; -} -export declare enum OfferOwnerType { - ANYOWNERTYPE = 0, - TRADEROWNERTYPE = 1, - PLAYEROWNERTYPE = 2 -} -export interface BuildItems { -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts deleted file mode 100644 index 2d14d20..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISendRagfairReportRequestData { - offerId: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts deleted file mode 100644 index e645fb3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseRepairActionDataRequest { - Action: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/IRepairActionDataRequest.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/IRepairActionDataRequest.d.ts deleted file mode 100644 index 263d400..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "Repair"; - repairKitsInfo: RepairKitsInfo[]; - target: string; -} -export interface RepairKitsInfo { - _id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts deleted file mode 100644 index e3d469d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "TraderRepair"; - tid: string; - repairItems: RepairItem[]; -} -export interface RepairItem { - _id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts deleted file mode 100644 index a9ef757..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IProcessBaseTradeRequestData { - Action: string; - type: string; - tid: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts deleted file mode 100644 index a9e4c17..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { - Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | ""; - type: string; - tid: string; - item_id: string; - count: number; - scheme_id: number; - scheme_items: SchemeItem[]; -} -export interface SchemeItem { - id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts deleted file mode 100644 index 889dfd1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IProcessRagfairTradeRequestData { - Action: string; - offers: Offer[]; -} -export interface Offer { - id: string; - count: number; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessSellTradeRequestData.d.ts deleted file mode 100644 index f1d555f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { - Action: "sell_to_trader"; - type: string; - tid: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; - scheme_id: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/weather/IWeatherData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/weather/IWeatherData.d.ts deleted file mode 100644 index ecc96ce..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/weather/IWeatherData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IWeatherData { - acceleration: number; - time: string; - date: string; - weather: IWeather; -} -export interface IWeather { - pressure: number; - temp: number; - fog: string; - rain_intensity: number; - rain: any; - wind_gustiness: number; - wind_direction: any; - wind_speed: number; - cloud: number; - time: string; - date: string; - timestamp: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/wishlist/IWishlistActionData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/wishlist/IWishlistActionData.d.ts deleted file mode 100644 index 9217864..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/eft/wishlist/IWishlistActionData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWishlistActionData { - Action: string; - templateId: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/AmmoTypes.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/AmmoTypes.d.ts deleted file mode 100644 index b52ddcf..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/AmmoTypes.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -export declare enum Grenade { - M386_HE_GRENADE = "5ede475b549eed7c6d5c18fb", - M576_MP_APERS_GRENADE = "5ede475339ee016e8c534742", - M433_HEDP_GRENADE = "5f0c892565703e5c461894e9", - M406_HE_GRENADE = "5ede4739e0350d05467f73e8", - M381_HE_GRENADE = "5ede474b0c226a66f5402622", - M441_HE_GRENADE = "5ede47405b097655935d7d16" -} -export declare enum Ammo762x51 { - M62_TRACER = "5a608bf24f39f98ffc77720e", - M80 = "58dd3ad986f77403051cba8f", - M61 = "5a6086ea4f39f99cd479502f", - BCP_FMJ = "5e023e53d4353e3302577c4c", - ULTRA_NOSLER = "5e023e88277cce2b522ff2b1", - TCW_SP = "5e023e6e34d52a55c3304f71", - M993 = "5efb0c1bd79ff02a1f5e68d9" -} -export declare enum Ammo762x54 { - SNB_GZH = "560d61e84bdc2da74d8b4571", - LPS_GZH = "5887431f2459777e1612938f", - PS_GZH = "59e77a2386f7742ee578960a", - T46M_GZH = "5e023cf8186a883be655e54f", - BT_GZH = "5e023d34e8a400319a28ed44", - BS_GZH = "5e023d48186a883be655e551" -} -export declare enum Ammo338Lapua { - TAC_X = "5fc382b6d6fa9c00c571bbc3", - UCW = "5fc382c1016cce60e8341b20", - AP = "5fc382a9d724d907e2077dab", - FMJ = "5fc275cf85fd526b824a571a" -} -export declare enum Ammo46x30 { - AP_SX = "5ba26835d4351e0035628ff5", - ACTION_SX = "5ba26812d4351e003201fef1", - FMJ_SX = "5ba2678ad4351e44f824b344", - SUBSONIC_SX = "5ba26844d4351e00334c9475" -} -export declare enum Ammo57x28 { - SS198LF = "5cc80f79e4a949033c7343b2", - R37_F = "5cc86832d7f00c000d3a6e6c", - SS190 = "5cc80f38e4a949001152b560", - R37_X = "5cc86840d7f00c002412c56c", - L191 = "5cc80f53e4a949000e1ea4f8", - SS197SR = "5cc80f8fe4a949033b0224a2", - SB193 = "5cc80f67e4a949035e43bbba" -} -export declare enum Ammo762x25 { - FMJ43 = "5735ff5c245977640e39ba7e", - LRN = "573601b42459776410737435", - P_GL = "5736026a245977644601dc61", - PST_GZH = "573603562459776430731618", - LRNPC = "573602322459776445391df1", - AKBS = "5735fdcd2459776445391d61", - PT_GZH = "573603c924597764442bd9cb" -} -export declare enum Ammo9x18 { - PM_SP8_GZH = "5737218f245977612125ba51", - P_GZH = "573719762459775a626ccbc1", - PSTM_GZH = "57371aab2459775a77142f22", - RG028_GZH = "573720e02459776143012541", - BZHT_GZH = "573718ba2459775a75491131", - PM_PSV = "5737207f24597760ff7b25f2", - SP7_GZH = "57372140245977611f70ee91", - PBM_GZH = "573719df2459775a626ccbc2", - PSO_GZH = "57371f8d24597761006c6a81", - PST_GZH = "5737201124597760fc4431f1", - PS_GS_PPO = "57371f2b24597761224311f1", - PRS_GS = "57371eb62459776125652ac1", - PPT_GZH = "57371e4124597760ff7b25f1", - PPE_GZH = "57371b192459775a9f58a5e0" -} -export declare enum Ammo9x19 { - PSO_GZH = "58864a4f2459770fcc257101", - PST_GZH = "56d59d3ad2720bdb418b4577", - GREEN_TRACER = "5c3df7d588a4501f290594e5", - RIP = "5c0d56a986f774449d5de529", - AP_63 = "5c925fa22e221601da359b7b", - LUGER_CCI = "5a3c16fe86f77452b62de32a", - PBP_GZH = "5efb0da7a29a85116f6ea05f", - QUAKEMAKER = "5efb0e16aeb21837e749c7ff" -} -export declare enum Ammo9x21 { - P_GZH = "5a26abfac4a28232980eabff", - PS_GZH = "5a269f97c4a282000b151807", - PE_GZH = "5a26ac06c4a282000c5a90a8", - BT_GZH = "5a26ac0ec4a28200741e1e18" -} -export declare enum Ammo357Mag { - FMJ = "62330b3ed4dc74626d570b95", - HOLLOW_POINT = "62330bfadc5883093563729b", - SOFT_POINT = "62330c40bdd19b369e1e53d1", - JACKET_HP = "62330c18744e5e31df12f516" -} -export declare enum Ammo45ACP { - MATCH_FMJ = "5e81f423763d9f754677bf2e", - HYDRA_SHOK = "5efb0fc6aeb21837e749c801", - LASERMATCH_FMJ = "5efb0d4f4bc50b58e81710f3", - AP = "5efb0cabfb3e451d70735af5", - RIP = "5ea2a8e200685063ec28c05a" -} -export declare enum Ammo545x39 { - PS_GS = "56dff3afd2720bba668b4567", - SP = "56dff421d2720b5f5a8b4567", - PPBS_GS_IGOLNIK = "5c0d5e4486f77478390952fe", - BS_7N40 = "61962b617c6c7b169525f168", - PRS_GS = "56dff338d2720bbd668b4569", - BT_GS = "56dff061d2720bb5668b4567", - US_GS = "56dff4ecd2720b5f5a8b4568", - BP_GS = "56dfef82d2720bbd668b4567", - HP = "56dff216d2720bbd668b4568", - BS_GS = "56dff026d2720bb8668b4567", - T_GS = "56dff4a2d2720bbd668b456a", - PP_GS = "56dff2ced2720bb4668b4567", - FMJ = "56dff0bed2720bb0668b4567" -} -export declare enum Ammo556x45 { - M856 = "59e68f6f86f7746c9f75e846", - MK255_MOD_0_RRLP = "59e6918f86f7746c9f75e849", - M995 = "59e690b686f7746c9f75e848", - M855A1 = "54527ac44bdc2d36668b4567", - M856A1 = "59e6906286f7746c9f75e847", - M855 = "54527a984bdc2d4e668b4567", - HP = "59e6927d86f77411da468256", - FMJ = "59e6920f86f77411d82aa167", - WARMAGEDDON = "5c0d5ae286f7741e46554302", - MK_318_MOD_0_SOST = "60194943740c5d77f6705eea", - SSA_AP = "601949593ae8f707c4608daa" -} -export declare enum Ammo300Blackout { - M62_TRACER = "619636be6db0f2477964e710", - BCP_FMJ = "5fbe3ffdf8b6a877a729ea82", - AP = "5fd20ff893a8961fc660a954", - V_MAX = "6196364158ef8c428c287d9f", - WHISPER = "6196365d58ef8c428c287da1" -} -export declare enum Ammo762x39 { - PS_GZH = "5656d7c34bdc2d9d198b4587", - HP = "59e4d3d286f774176a36250a", - US_GZH = "59e4d24686f7741776641ac7", - T45M1_GZH = "59e4cf5286f7741778269d8a", - BP_GZH = "59e0d99486f7744a32234762", - MAI_AP = "601aa3d2b2bcb34913271e6d" -} -export declare enum Ammo9x39 { - SP5_GS = "57a0dfb82459774d3078b56c", - BP_GS = "5c0d688c86f77413ae3407b2", - SP6_GS = "57a0e5022459774d1673f889", - SPP_GS = "5c0d668f86f7747ccb7f13b2", - PAB9_GS = "61962d879bb3d20b0946d385" -} -export declare enum Ammo366TKM { - FMJ = "59e6542b86f77411dc52a77a", - GEKSA = "59e6658b86f77411d949b250", - EKO = "59e655cb86f77411dc52a77b", - APM = "5f0596629e22f464da6bbdd9" -} -export declare enum Ammo127x55 { - PS12 = "5cadf6ddae9215051e1c23b2", - PS12B = "5cadf6eeae921500134b2799", - PS12A = "5cadf6e5ae921500113bb973" -} -export declare enum Ammo12Gauge { - BUCKSHOT_7MM = "560d5e524bdc2d25448b4571", - MAGNUM_85MM = "5d6e6806a4b936088465b17e", - RIP = "5c0d591486f7744c505b416f", - BMG_SLUG_50CAL = "5d6e68c4a4b9361b93413f79", - BUCKSHOT_525MM = "5d6e6772a4b936088465b17c", - EXPRESS_65MM = "5d6e67fba4b9361bc73bc779", - FLECHETTE = "5d6e6911a4b9361bd5780d52", - FTX_CUSTOM_LITE_SLUG = "5d6e68e6a4b9361c140bcfe0", - AP20_ARMOR_PIERCING_SLUG = "5d6e68a8a4b9360b6c0d54e2", - DUAL_SABOT_SLUG = "5d6e68dea4b9361bcc29e659", - POLEVA_6U_SLUG = "5d6e689ca4b9361bc8618956", - POLEVA_3_SLUG = "5d6e6891a4b9361bd473feea", - GRIZZLY_40_SLUG = "5d6e6869a4b9361c140bcfde", - SUPERFORMANCE_HP_SLUG = "5d6e68d1a4b93622fe60e845", - COPPER_SABOT_PREMIER_HP_SLUG = "5d6e68b3a4b9361bca7e50b5", - LEAD_SLUG = "58820d1224597753c90aeb13" -} -export declare enum Ammo20Gauge { - BUCKSHOT_75MM = "5a38ebd9c4a282000d722a5b", - STAR_SLUG = "5d6e6a05a4b93618084f58d0", - BUCKSHOT_73MM = "5d6e69c7a4b9360b6c0d54e4", - DEVASTATOR_SLUG = "5d6e6a5fa4b93614ec501745", - BUCKSHOT_56MM = "5d6e695fa4b936359b35d852", - POLEVA_6U_SLUG = "5d6e6a42a4b9364f07165f52", - POLEVA_3_SLUG = "5d6e6a53a4b9361bd473feec", - BUCKSHOT_62MM = "5d6e69b9a4b9361bc8618958" -} -export declare enum Ammo23x75 { - SHRAPNEL10_BUCKSHOT = "5e85a9a6eacf8c039e4e2ac1", - SHRAPNEL25_BUCKSHOT = "5f647f31b6238e5dd066e196", - ZVEZDA_FLASHBANG = "5e85a9f4add9fe03027d9bf1", - BARRIKADA_SLUG = "5e85aa1a988a8701445df1f5" -} -export declare enum Ammo30x29 { - VOG_30 = "5d70e500a4b9364de70d38ce" -} -export declare enum Ammo127x108 { - B32 = "5cde8864d7f00c0010373be1", - BZT_44M = "5d2f2ab648f03550091993ca" -} -export declare enum Ammo26x75 { - GREEN_FLARE = "62389aaba63f32501b1b444f", - RED_FLARE = "62389ba9a63f32501b1b4451", - WHITE_FLARE = "62389bc9423ed1685422dc57", - YELLOW_FLARE = "62389be94d5d474bf712e709" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BaseClasses.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BaseClasses.d.ts deleted file mode 100644 index e733bca..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BaseClasses.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -export declare enum BaseClasses { - WEAPON = "5422acb9af1c889c16000029", - ARMOR = "5448e54d4bdc2dcc718b4568", - VEST = "5448e5284bdc2dcb718b4567", - BACKPACK = "5448e53e4bdc2d60728b4567", - VISORS = "5448e5724bdc2ddf718b4568", - FOOD = "5448e8d04bdc2ddf718b4569", - DRINK = "5448e8d64bdc2dce718b4568", - BARTER_ITEM = "5448eb774bdc2d0a728b4567", - INFO = "5448ecbe4bdc2d60728b4568", - MEDKIT = "5448f39d4bdc2d0a728b4568", - DRUGS = "5448f3a14bdc2d27728b4569", - STIMULATOR = "5448f3a64bdc2d60728b456a", - MEDICAL = "5448f3ac4bdc2dce718b4569", - MEDICAL_SUPPLIES = "57864c8c245977548867e7f1", - MOD = "5448fe124bdc2da5018b4567", - FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b", - FUEL = "5d650c3e815116009f6201d2", - GEAR_MOD = "55802f3e4bdc2de7118b4584", - STOCK = "55818a594bdc2db9688b456a", - FOREGRIP = "55818af64bdc2d5b648b4570", - MASTER_MOD = "55802f4a4bdc2ddb688b4569", - MOUNT = "55818b224bdc2dde698b456f", - MUZZLE = "5448fe394bdc2d0d028b456c", - SIGHTS = "5448fe7a4bdc2d6f028b456b", - MEDS = "543be5664bdc2dd4348b4569", - MONEY = "543be5dd4bdc2deb348b4569", - KEY = "543be5e94bdc2df1348b4568", - KEY_MECHANICAL = "5c99f98d86f7745c314214b3", - KEYCARD = "5c164d2286f774194c5e69fa", - EQUIPMENT = "543be5f84bdc2dd4348b456a", - THROW_WEAPON = "543be6564bdc2df4348b4568", - FOOD_DRINK = "543be6674bdc2df1348b4569", - PISTOL = "5447b5cf4bdc2d65278b4567", - SMG = "5447b5e04bdc2d62278b4567", - ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567", - ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567", - SHOTGUN = "5447b6094bdc2dc3278b4567", - MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567", - SNIPER_RIFLE = "5447b6254bdc2dc3278b4568", - MACHINE_GUN = "5447bed64bdc2d97278b4568", - GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568", - SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569", - SPEC_ITEM = "5447e0e74bdc2d3c308b4567", - KNIFE = "5447e1d04bdc2dff2f8b4567", - AMMO = "5485a8684bdc2da71d8b4567", - AMMO_BOX = "543be5cb4bdc2deb348b4568", - LOOT_CONTAINER = "566965d44bdc2d814c8b4571", - MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a", - SEARCHABLE_ITEM = "566168634bdc2d144c8b456c", - STASH = "566abbb64bdc2d144c8b457d", - SORTING_TABLE = "6050cac987d3f925bf016837", - LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569", - SIMPLE_CONTAINER = "5795f317245977243854e041", - INVENTORY = "55d720f24bdc2d88028b456d", - STATIONARY_CONTAINER = "567583764bdc2d98058b456e", - POCKETS = "557596e64bdc2dc2118b4571", - ARMBAND = "5b3f15d486f77432d0509248", - DOG_TAG_USEC = "59f32c3b86f77472a31742f0", - DOG_TAG_BEAR = "59f32bb586f774757e1e8442", - JEWELRY = "57864a3d24597754843f8721", - ELECTRONICS = "57864a66245977548f04a81f", - BUILDING_MATERIAL = "57864ada245977548638de91", - TOOL = "57864bb7245977548b3b66c2", - HOUSEHOLD_GOODS = "57864c322459775490116fbf", - LUBRICANT = "57864e4c24597754843f8723", - BATTERY = "57864ee62459775490116fc1", - ASSAULT_SCOPE = "55818add4bdc2d5b648b456f", - REFLEX_SIGHT = "55818ad54bdc2ddc698b4569", - TACTICAL_COMBO = "55818b164bdc2ddc698b456c", - MAGAZINE = "5448bc234bdc2d3c308b4569", - LIGHT_LASER = "55818b0e4bdc2dde698b456e", - FLASH_HIDER = "550aa4bf4bdc2dd6348b456b", - COLLIMATOR = "55818ad54bdc2ddc698b4569", - COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b", - COMPENSATOR = "550aa4af4bdc2dd4348b456e", - OPTIC_SCOPE = "55818ae44bdc2dde698b456c", - SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a", - OTHER = "590c745b86f7743cc433c5f2", - SILENCER = "550aa4cd4bdc2dd8348b456c", - PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc", - ITEM = "54009119af1c881c07000029", - CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BotAmount.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BotAmount.d.ts deleted file mode 100644 index d0e1df1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BotAmount.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare enum BotAmount { - AsOnline = "AsOnline", - Low = "Low", - Medium = "Medium", - High = "High", - Horde = "Horde" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BotDifficulty.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BotDifficulty.d.ts deleted file mode 100644 index c901bcf..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/BotDifficulty.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum BotDifficulty { - AsOnline = "AsOnline", - Easy = "Easy", - Medium = "Medium", - Hard = "Hard", - Impossible = "Impossible", - Random = "Random" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ConfigTypes.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ConfigTypes.d.ts deleted file mode 100644 index 61d6f99..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ConfigTypes.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - LOCALE = "aki-locale", - LOCATION = "aki-location", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ContainerTypes.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ContainerTypes.d.ts deleted file mode 100644 index e6b330a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ContainerTypes.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export declare enum CommonContainers { - AMMO_CASE = "5aafbde786f774389d0cbc0f", - DOCUMENTS_CASE = "590c60fc86f77412b13fddcf", - DOGTAG_CASE = "5c093e3486f77430cb02e593", - GRENADE_CASE = "5e2af55f86f7746d4159f07c", - INJECTOR_CASE = "619cbf7d23893217ec30b689", - ITEM_CASE = "59fb042886f7746c5005a7b2", - KEY_TOOL = "59fafd4b86f7745ca07e1232", - KEYCARD_HOLDER = "619cbf9e0a7c3a1a2731940a", - SCAV_JUNKBOX = "5b7c710788a4506dec015957", - MAGAZINE_CASE = "5c127c4486f7745625356c13", - MEDICINE_CASE = "5aafbcd986f7745e590fff23", - MONEY_CASE = "59fb016586f7746d0d4b423a", - HOLODILNICK_THERMAL_BAG = "5c093db286f7740a1b2617e3", - PISTOL_CASE = "567143bf4bdc2d1a0f8b4567", - SICC_ORGANIZATIONAL_POUCH = "5d235bb686f77443f4331278", - SIMPLE_WALLET = "5783c43d2459774bbe137486", - THICC_ITEM_CASE = "5c0a840b86f7742ffa4f2482", - THICC_WEAPON_CASE = "5b6d9ce188a4501afc1b2b25", - WEAPON_CASE = "59fb023c86f7746d0d4b423c", - WZ_WALLET = "60b0f6c058e0b0481a09ad11" -} -export declare enum SecuredContainers { - ALPHA = "544a11ac4bdc2d470e8b456a", - BETA = "5857a8b324597729ab0a0e7d", - EPSILON = "59db794186f77448bc595262", - GAMMA = "5857a8bc2459772bad15db29", - KAPPA = "5c093ca986f7740a1867ab12" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ELocationName.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ELocationName.d.ts deleted file mode 100644 index b56cc08..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/ELocationName.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum ELocationName { - FACTORY_DAY = "factory4_day", - BIGMAP = "bigmap", - WOODS = "Woods", - SHORELINE = "Shoreline", - INTERCHANGE = "Interchange", - LIGHTHOUSE = "Lighthouse", - LABORATORY = "laboratory", - RESERVE = "RezervBase", - ANY = "any" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/EquipmentSlots.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/EquipmentSlots.d.ts deleted file mode 100644 index 35c18ff..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/EquipmentSlots.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum EquipmentSlots { - HEADWEAR = "Headwear", - EARPIECE = "Earpiece", - FACE_COVER = "FaceCover", - ARMOR_VEST = "ArmorVest", - EYEWEAR = "Eyewear", - ARM_BAND = "ArmBand", - TACTICAL_VEST = "TacticalVest", - POCKETS = "Pockets", - BACKPACK = "Backpack", - SECURED_CONTAINER = "SecuredContainer", - FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon", - SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon", - HOLSTER = "Holster", - SCABBARD = "Scabbard" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/HideoutAreas.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/HideoutAreas.d.ts deleted file mode 100644 index b44a20a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/HideoutAreas.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreas { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/MemberCategory.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/MessageType.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/MessageType.d.ts deleted file mode 100644 index 1b0c649..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/MessageType.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum MessageType { - USER_MESSAGE = 1, - NPC_TRADER = 2, - AUCTION_MESSAGE = 3, - FLEAMARKET_MESSAGE = 4, - ADMIN_MESSAGE = 5, - GROUP_CHAT_MESSAGE = 6, - SYSTEM_MESSAGE = 7, - INSURANCE_RETURN = 8, - GLOBAL_CHAT = 9, - QUEST_START = 10, - QUEST_FAIL = 11, - QUEST_SUCCESS = 12, - MESSAGE_WITH_ITEMS = 13, - INITIAL_SUPPORT = 14 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/Money.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/Money.d.ts deleted file mode 100644 index 0d39613..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/Money.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Money { - ROUBLES = "5449016a4bdc2d6f028b456f", - EUROS = "569668774bdc2da2298b4568", - DOLLARS = "5696686a4bdc2da3298b456a" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/QuestRewardType.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/QuestRewardType.d.ts deleted file mode 100644 index 1d3db86..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/QuestRewardType.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum QuestRewardType { - Skill = "Skill", - Experience = "Experience", - TraderStanding = "TraderStanding", - TraderUnlock = "TraderUnlock", - Item = "Item", - AssortmentUnlock = "AssortmentUnlock" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/QuestStatus.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/QuestStatus.d.ts deleted file mode 100644 index ba65933..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/QuestStatus.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum QuestStatus { - Locked = 0, - AvailableForStart = 1, - Started = 2, - AvailableForFinish = 3, - Success = 4, - Fail = 5, - FailRestartable = 6, - MarkedAsFailed = 7, - Expired = 8 -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/RaidMode.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/RaidMode.d.ts deleted file mode 100644 index c5a8cff..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/RaidMode.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum RaidMode { - Online = "Online", - Local = "Local", - Coop = "Coop" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/SkillTypes.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/SkillTypes.d.ts deleted file mode 100644 index 4eb90af..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/SkillTypes.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -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/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/Traders.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/Traders.d.ts deleted file mode 100644 index 163cd71..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/WeaponSkillTypes.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/WeaponSkillTypes.d.ts deleted file mode 100644 index 1e20a2d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/enums/WeaponSkillTypes.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -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/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPostAkiLoadMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index f6950e8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPostDBLoadMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPostDBLoadMod.d.ts deleted file mode 100644 index ca7c682..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPostDBLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostDBLoadMod { - postDBLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPreAkiLoadMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index ae7579e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/mod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/tsyringe.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/tsyringe.d.ts deleted file mode 100644 index 56a7e58..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/external/tsyringe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export type { DependencyContainer }; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bindings/Route.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bindings/Route.d.ts deleted file mode 100644 index 1b29d7d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bindings/Route.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRoute { - aki: any; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bots/BotLootCache.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bots/BotLootCache.d.ts deleted file mode 100644 index e185315..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bots/BotLootCache.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class BotLootCache { - backpackLoot: ITemplateItem[]; - pocketLoot: ITemplateItem[]; - vestLoot: ITemplateItem[]; - combinedPoolLoot: ITemplateItem[]; - specialItems: ITemplateItem[]; - healingItems: ITemplateItem[]; - drugItems: ITemplateItem[]; - stimItems: ITemplateItem[]; - grenadeItems: ITemplateItem[]; -} -export declare enum LootCacheType { - Special = "Special", - Backpack = "Backpack", - Pocket = "Pocket", - Vest = "Vest", - Combined = "Combined", - HealingItems = "HealingItems", - DrugItems = "DrugItems", - StimItems = "StimItems", - GrenadeItems = "GrenadeItems" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bots/GenerateWeaponResult.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bots/GenerateWeaponResult.d.ts deleted file mode 100644 index f099752..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/bots/GenerateWeaponResult.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Mods } from "../../eft/common/tables/IBotType"; -import { Item } from "../../eft/common/tables/IItem"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class GenerateWeaponResult { - weapon: Item[]; - chosenAmmo: string; - weaponMods: Mods; - weaponTemplate: ITemplateItem; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IBotCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IBotCallbacks.d.ts deleted file mode 100644 index 2c42813..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IBotCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface IBotCallbacks { - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IBundleCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IBundleCallbacks.d.ts deleted file mode 100644 index 7e37c6e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IBundleCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IBundleCallbacks { - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ICustomizationCallbacks.d.ts deleted file mode 100644 index d10027f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IBuyClothingRequestData } from "../../eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../../eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISuit } from "../../eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface ICustomizationCallbacks { - getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IDataCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IDataCallbacks.d.ts deleted file mode 100644 index a098560..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IDataCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGlobals } from "../../eft/common/IGlobals"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../server/ILocaleBase"; -import { ISettingsBase } from "../server/ISettingsBase"; -export interface IDataCallbacks { - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IDialogueCallbacks.d.ts deleted file mode 100644 index fe2115a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetMailDialogViewRequestData } from "../../eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogInfoRequestData } from "../../eft/dialog/IGetMailDialogInfoRequestData"; -import { IRemoveDialogRequestData } from "../../eft/dialog/IRemoveDialogRequestData"; -import { IGetMailDialogListRequestData } from "../../eft/dialog/IGetMailDialogListRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../../eft/dialog/IFriendRequestData"; -import { IPinDialogRequestData } from "../../eft/dialog/IPinDialogRequestData"; -import { ISetDialogReadRequestData } from "../../eft/dialog/ISetDialogReadRequestData"; -import { IGetAllAttachmentsRequestData } from "../../eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetChatServerListRequestData } from "../../eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../../eft/dialog/IGetFriendListDataResponse"; -import { ISendMessageRequest } from "../../eft/dialog/ISendMessageRequest"; -import { IGetMailDialogViewResponseData } from "../../eft/dialog/IGetMailDialogViewResponseData"; -import { IGetAllAttachmentsResponse } from "../../eft/dialog/IGetAllAttachmentsResponse"; -import { DialogueInfo } from "../../eft/profile/IAkiProfile"; -export interface IDialogueCallbacks { - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IGameCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IGameCallbacks.d.ts deleted file mode 100644 index 38ebc5f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IGameCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGameEmptyCrcRequestData } from "../../eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "../../eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGameConfigResponse } from "../../eft/game/IGameConfigResponse"; -export interface IGameCallbacks { - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHandbookCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHandbookCallbacks.d.ts deleted file mode 100644 index 5857a3e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHandbookCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IHandbookCallbacks { - load(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHealthCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHealthCallbacks.d.ts deleted file mode 100644 index d238c7a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { ISyncHealthRequestData } from "../../eft/health/ISyncHealthRequestData"; -import { IOffraidEatRequestData } from "../../eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../../eft/health/IOffraidHealRequestData"; -import { IHealthTreatmentRequestData } from "../../eft/health/IHealthTreatmentRequestData"; -export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): any; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHideoutCallbacks.d.ts deleted file mode 100644 index e9badb6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IHideoutUpgradeRequestData } from "../../eft/hideout/IHideoutUpgradeRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../../eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutScavCaseStartRequestData } from "../../eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutPutItemInRequestData } from "../../eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutTakeItemOutRequestData } from "../../eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutToggleAreaRequestData } from "../../eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../../eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../../eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../../eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IHideoutCallbacks { - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHttpCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHttpCallbacks.d.ts deleted file mode 100644 index 3ecd945..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IHttpCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHttpCallbacks { - load(): void; - sendImage(sessionID: string, req: any, resp: any, body: any): void; - getImage(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInraidCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInraidCallbacks.d.ts deleted file mode 100644 index e959b98..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IRegisterPlayerRequestData } from "../../eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../../eft/inRaid/ISaveProgressRequestData"; -export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInsuranceCallbacks.d.ts deleted file mode 100644 index 082112d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IGetInsuranceCostRequestData } from "../../eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "../../eft/insurance/IInsureRequestData"; -export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInventoryCallbacks.d.ts deleted file mode 100644 index e53f7d0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IInventoryFoldRequestData } from "../../eft/inventory/IInventoryFoldRequestData"; -import { IInventorySplitRequestData } from "../../eft/inventory/IInventorySplitRequestData"; -import { IInventoryMoveRequestData } from "../../eft/inventory/IInventoryMoveRequestData"; -import { IInventoryMergeRequestData } from "../../eft/inventory/IInventoryMergeRequestData"; -import { IInventoryRemoveRequestData } from "../../eft/inventory/IInventoryRemoveRequestData"; -import { IInventoryTransferRequestData } from "../../eft/inventory/IInventoryTransferRequestData"; -import { IInventorySwapRequestData } from "../../eft/inventory/IInventorySwapRequestData"; -import { IInventoryToggleRequestData } from "../../eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTagRequestData } from "../../eft/inventory/IInventoryTagRequestData"; -import { IInventoryBindRequestData } from "../../eft/inventory/IInventoryBindRequestData"; -import { IInventoryExamineRequestData } from "../../eft/inventory/IInventoryExamineRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../../eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventorySortRequestData } from "../../eft/inventory/IInventorySortRequestData"; -import { IInventoryCreateMarkerRequestData } from "../../eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../../eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../../eft/inventory/IInventoryEditMarkerRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IInventoryCallbacks { - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IItemEventCallbacks.d.ts deleted file mode 100644 index 59db771..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IItemEventCallbacks { - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ILauncherCallbacks.d.ts deleted file mode 100644 index 52dfec6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IRegisterData } from "../../eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../../eft/launcher/IRemoveProfileData"; -import { ILoginRequestData } from "../../eft/launcher/ILoginRequestData"; -import { IChangeRequestData } from "../../eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "../../eft/launcher/IGetMiniProfileRequestData.js"; -export interface ILauncherCallbacks { - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; - getServerVersion(): string; - ping(url: string, info: any, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ILocationCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ILocationCallbacks.d.ts deleted file mode 100644 index 71656a4..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IGetLocationRequestData } from "../../eft/location/IGetLocationRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILocationsGenerateAllResponse } from "../../eft/common/ILocationsSourceDestinationBase"; -import { ILocationBase } from "../../eft/common/ILocationBase"; -export interface ILocationCallbacks { - getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IMatchCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IMatchCallbacks.d.ts deleted file mode 100644 index fcbf173..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IMatchCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { IStartOfflineRaidRequestData } from "../../eft/match/IStartOffineRaidRequestData"; -import { IEndOfflineRaidRequestData } from "../../eft/match/IEndOfflineRaidRequestData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IPmcData } from "../../eft/common/IPmcData"; -export interface IMatchCallbacks { - updatePing(url: string, info: any, sessionID: string): INullResponseData; - exitMatch(url: string, info: any, sessionID: string): INullResponseData; - exitToMenu(url: string, info: any, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: any, sessionID: string): INullResponseData; - getProfile(url: string, info: any, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: any, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: any, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: any, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: any, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IModCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IModCallbacks.d.ts deleted file mode 100644 index 1a4cd7b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IModCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IModCallbacks { - load(): void; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/INoteCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/INoteCallbacks.d.ts deleted file mode 100644 index 8453a4f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/INoteCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { INoteActionData } from "../../eft/notes/INoteActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface INoteCallbacks { - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/INotifierCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/INotifierCallbacks.d.ts deleted file mode 100644 index a211310..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../../eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../../eft/notifier/ISelectProfileRequestData"; -export interface INotifierCallbacks { - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts deleted file mode 100644 index 97c6487..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IPresetBuildActionRequestData } from "../../eft/presetBuild/IPresetBuildActionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { WeaponBuild } from "../../eft/profile/IAkiProfile"; -export interface IPresetBuildCallbacks { - getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IPresetCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IPresetCallbacks.d.ts deleted file mode 100644 index 4169857..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IPresetCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPresetCallbacks { - load(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IProfileCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IProfileCallbacks.d.ts deleted file mode 100644 index 9d4d2df..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "../../eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../../eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../../eft/profile/IProfileCreateRequestData"; -import { IValidateNicknameRequestData } from "../../eft/profile/IValidateNicknameRequestData"; -import { ISearchFriendRequestData } from "../../eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../../eft/profile/ISearchFriendResponse"; -export interface IProfileCallbacks { - onLoad(sessionID: string): any; - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IQuestCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IQuestCallbacks.d.ts deleted file mode 100644 index 1c4d0c3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAcceptQuestRequestData } from "../../eft/quests/IAcceptQuestRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IListQuestsRequestData } from "../../eft/quests/IListQuestsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { ICompleteQuestRequestData } from "../../eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../../eft/quests/IHandoverQuestRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../../eft/common/tables/IRepeatableQuests"; -import { IRepeatableQuestChangeRequest } from "../../eft/quests/IRepeatableQuestChangeRequest"; -export interface IQuestCallbacks { - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IRagfairCallbacks.d.ts deleted file mode 100644 index 9282bd4..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISearchRequestData } from "../../eft/ragfair/ISearchRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetMarketPriceRequestData } from "../../eft/ragfair/IGetMarketPriceRequestData"; -import { IAddOfferRequestData } from "../../eft/ragfair/IAddOfferRequestData"; -import { IRemoveOfferRequestData } from "../../eft/ragfair/IRemoveOfferRequestData"; -import { IExtendOfferRequestData } from "../../eft/ragfair/IExtendOfferRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetItemPriceResult } from "../../eft/ragfair/IGetItemPriceResult"; -export interface IRagfairCallbacks { - load(): void; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; - updatePlayer(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IRepairCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IRepairCallbacks.d.ts deleted file mode 100644 index e8183c9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../../eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../../eft/repair/ITraderRepairActionDataRequest"; -export interface IRepairCallbacks { - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ISaveCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ISaveCallbacks.d.ts deleted file mode 100644 index 1ad3b82..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ISaveCallbacks.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ISaveCallbacks { - load(): void; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ITradeCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ITradeCallbacks.d.ts deleted file mode 100644 index 2f41d54..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../../eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../../eft/trade/IProcessBaseTradeRequestData"; -export interface ITradeCallbacks { - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ITraderCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ITraderCallbacks.d.ts deleted file mode 100644 index e0d7d06..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../../eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface ITraderCallbacks { - load(): void; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IWeatherCallbacks.d.ts deleted file mode 100644 index 9ac72ae..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -export interface IWeatherCallbacks { - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IWishlistCallbacks.d.ts deleted file mode 100644 index e5d519c..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IWishlistActionData } from "../../eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IWishlistCallbacks { - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IAirdropConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IAirdropConfig.d.ts deleted file mode 100644 index f4aee89..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IAirdropConfig.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; - airdropChancePercent: AirdropChancePercent; - airdropMinOpenHeight: number; - airdropMaxOpenHeight: number; - planeMinFlyHeight: number; - planeMaxFlyHeight: number; - planeVolume: number; - airdropMinStartTimeSeconds: number; - airdropMaxStartTimeSeconds: number; -} -export interface AirdropChancePercent { - bigmap: number; - woods: number; - lighthouse: number; - shoreline: number; - interchange: number; - reserve: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IBaseConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IBaseConfig.d.ts deleted file mode 100644 index 8b6ba88..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IBaseConfig.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseConfig { - kind: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IBotConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IBotConfig.d.ts deleted file mode 100644 index e171087..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IBotConfig.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; - presetBatch: PresetBatch; - bosses: string[]; - durability: Durability; - lootNValue: LootNvalue; - revenge: Record; - pmc: PmcConfig; - itemSpawnLimits: Record>; - equipment: Record; - showTypeInNickname: boolean; - maxBotCap: number; - secureContainerAmmoStackCount: number; -} -export interface PresetBatch { - assault: number; - bossBully: number; - bossGluhar: number; - bossKilla: number; - bossKojaniy: number; - bossSanitar: number; - bossTagilla: number; - bossKnight: number; - bossTest: number; - cursedAssault: number; - followerBully: number; - followerGluharAssault: number; - followerGluharScout: number; - followerGluharSecurity: number; - followerGluharSnipe: number; - followerKojaniy: number; - followerSanitar: number; - followerTagilla: number; - followerBirdEye: number; - followerBigPipe: number; - followerTest: number; - marksman: number; - pmcBot: number; - sectantPriest: number; - sectantWarrior: number; - gifter: number; - test: number; - exUsec: number; -} -export interface Durability { - default: DefaultDurability; - pmc: PmcDurability; - boss: BotDurability; - follower: BotDurability; - assault: BotDurability; - cursedassault: BotDurability; - marksman: BotDurability; - pmcbot: BotDurability; - exusec: BotDurability; - sectantpriest: BotDurability; - sectantwarrior: BotDurability; -} -export interface DefaultDurability { - armor: DefaultArmor; - weapon: WeaponDurability; -} -export interface DefaultArmor { - maxDelta: number; - minDelta: number; -} -export interface WeaponDurability { - lowestMax: number; - highestMax: number; - maxDelta: number; - minDelta: number; -} -export interface PmcDurability { - armor: PmcDurabilityArmor; - weapon: WeaponDurability; -} -export interface PmcDurabilityArmor { - lowestMaxPercent: number; - highestMaxPercent: number; - maxDelta: number; - minDelta: number; -} -export interface BotDurability { - armor: ArmorDurability; - weapon: WeaponDurability; -} -export interface ArmorDurability { - maxDelta: number; - minDelta: number; -} -export interface LootNvalue { - scav: number; - pmc: number; -} -export interface PmcConfig { - dynamicLoot: PmcDynamicLoot; - difficulty: string; - looseWeaponInBackpackChancePercent: number; - looseWeaponInBackpackLootMinMax: MinMax; - isUsec: number; - chanceSameSideIsHostilePercent: number; - usecType: string; - bearType: string; - maxBackpackLootTotalRub: number; - maxPocketLootTotalRub: number; - maxVestLootTotalRub: number; - convertIntoPmcChance: Record; - enemyTypes: string[]; -} -export interface PmcDynamicLoot { - whitelist: string[]; - blacklist: string[]; - moneyStackLimits: Record; -} -export interface Equipment { - blacklist: EquipmentFilterDetails[]; - whitelist: EquipmentFilterDetails[]; -} -export interface EquipmentFilterDetails { - levelRange: MinMax; - equipment: Record; - cartridge: Record; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ICoreConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ICoreConfig.d.ts deleted file mode 100644 index cfcaf61..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ICoreConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; - projectName: string; - compatibleTarkovVersion: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHealthConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHealthConfig.d.ts deleted file mode 100644 index fdbf656..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHealthConfig.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; - healthMultipliers: HealthMultipliers; - save: Save; -} -export interface HealthMultipliers { - death: number; - blacked: number; -} -export interface Save { - health: boolean; - effects: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHideoutConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHideoutConfig.d.ts deleted file mode 100644 index 36d6246..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHideoutConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; - runIntervalSeconds: number; - fuelDrainRateMultipler: number; - hoursForSkillCrafting: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHttpConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHttpConfig.d.ts deleted file mode 100644 index c41d035..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IHttpConfig.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; - ip: string; - port: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInRaidConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInRaidConfig.d.ts deleted file mode 100644 index 3ae2972..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInRaidConfig.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; - MIAOnRaidEnd: boolean; - raidMenuSettings: RaidMenuSettings; - save: Save; - carExtracts: string[]; - carExtractBaseStandingGain: number; - scavExtractGain: number; -} -export interface RaidMenuSettings { - aiAmount: string; - aiDifficulty: string; - bossEnabled: boolean; - scavWars: boolean; - taggedAndCursed: boolean; - enablePve: boolean; -} -export interface Save { - loot: boolean; - durability: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInsuranceConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInsuranceConfig.d.ts deleted file mode 100644 index b27e753..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInsuranceConfig.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; - insuranceMultiplier: Record; - returnChancePercent: Record; - blacklistedEquipment: string[]; - slotIdsWithChanceOfNotReturning: string[]; - runIntervalSeconds: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInventoryConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInventoryConfig.d.ts deleted file mode 100644 index ffffa41..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IInventoryConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; - newItemsMarkedFound: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ILocaleConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ILocaleConfig.d.ts deleted file mode 100644 index fe9abf7..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ILocaleConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; - desiredLocale: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ILocationConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ILocationConfig.d.ts deleted file mode 100644 index 0551d57..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ILocationConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; - looseLootMultiplier: LootMultiplier; - staticLootMultiplier: LootMultiplier; -} -export interface LootMultiplier { - bigmap: number; - develop: number; - factory4_day: number; - factory4_night: number; - interchange: number; - laboratory: number; - rezervbase: number; - shoreline: number; - woods: number; - hideout: number; - lighthouse: number; - privatearea: number; - suburbs: number; - tarkovstreets: number; - terminal: number; - town: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IMatchConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IMatchConfig.d.ts deleted file mode 100644 index 92c4d77..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IMatchConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; - enabled: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IPlayerScavConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IPlayerScavConfig.d.ts deleted file mode 100644 index 5ac3966..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IPlayerScavConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; - karmaLevel: Record; -} -export interface KarmaLevel { - botTypeForLoot: string; - modifiers: Modifiers; - itemLimits: ItemLimits; - equipmentBlacklist: Record; -} -export interface Modifiers { - equipment: Record; - mod: Record; -} -export interface ItemLimits { - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - grenades: MinMax; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IQuestConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IQuestConfig.d.ts deleted file mode 100644 index be4a97b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IQuestConfig.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { ELocationName } from "../../enums/ELocationName"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; - repeatableQuests: IRepeatableQuestConfig[]; -} -export interface IRepeatableQuestConfig { - name: string; - types: string[]; - resetTime: number; - numQuests: number; - minPlayerLevel: number; - rewardScaling: IRewardScaling; - locations: Record; - traderWhitelist: ITraderWhitelist[]; - questConfig: IQuestConfig; -} -export interface IRewardScaling { - levels: number[]; - experience: number[]; - roubles: number[]; - items: number[]; - reputation: number[]; - rewardSpread: number; -} -export interface ITraderWhitelist { - traderId: string; - questTypes: string[]; -} -export interface IQuestConfig { - Exploration: IExploration; - Completion: ICompletion; - Elimination: IElimination; -} -export interface IExploration { - maxExtracts: number; - specificExits: ISpecificExits; -} -export interface ISpecificExits { - probability: number; - passageRequirementWhitelist: string[]; -} -export interface ICompletion { - minRequestedAmount: number; - maxRequestedAmount: number; - minRequestedBulletAmount: number; - maxRequestedBulletAmount: number; - useWhitelist: boolean; - useBlacklist: boolean; -} -export interface IElimination { - targets: ITarget[]; - bodyPartProb: number; - bodyParts: IBodyPart[]; - specificLocationProb: number; - distLocationBlacklist: string[]; - distProb: number; - maxDist: number; - minDist: number; - maxKills: number; - minKills: number; -} -export interface IProbabilityObject { - key: string; - relativeProbability: number; - data?: any; -} -export interface ITarget extends IProbabilityObject { - data: IBossInfo; -} -export interface IBossInfo { - isBoss: boolean; -} -export interface IBodyPart extends IProbabilityObject { - data: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IRagfairConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IRagfairConfig.d.ts deleted file mode 100644 index c24e617..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IRagfairConfig.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; - runIntervalSeconds: number; - sell: Sell; - traders: Record; - dynamic: Dynamic; -} -export interface Sell { - fees: boolean; - chance: Chance; - time: Time; - reputation: Reputation; -} -export interface Chance { - base: number; - overprices: number; - underpriced: number; -} -export interface Time { - base: number; - min: number; - max: number; -} -export interface Reputation { - gain: number; - loss: number; -} -export interface Dynamic { - expiredOfferThreshold: number; - offerItemCount: MinMax; - price: MinMax; - presetPrice: MinMax; - endTimeSeconds: MinMax; - condition: Condition; - stackablePercent: MinMax; - nonStackableCount: MinMax; - rating: MinMax; - currencies: Record; - showAsSingleStack: string[]; - blacklist: Blacklist; -} -export interface Condition { - conditionChance: number; - min: number; - max: number; -} -export interface Blacklist { - /** - * show/hide trader items that are blacklisted by bsg - */ - traderItems: boolean; - custom: string[]; - enableBsgList: boolean; - enableQuestList: boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IRepairConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IRepairConfig.d.ts deleted file mode 100644 index 23e6838..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IRepairConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; - priceMultiplier: number; - applyRandomizeDurabilityLoss: boolean; - weaponSkillRepairGain: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IScavCaseConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IScavCaseConfig.d.ts deleted file mode 100644 index df5dae0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IScavCaseConfig.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; - rewardItemValueRangeRub: Record; - moneyRewards: MoneyRewards; - ammoRewards: AmmoRewards; - rewardItemParentBlacklist: string[]; - rewardItemBlacklist: string[]; -} -export interface MoneyRewards { - moneyRewardChancePercent: number; - rubCount: MoneyLevels; - usdCount: MoneyLevels; - eurCount: MoneyLevels; -} -export interface MoneyLevels { - common: MinMax; - rare: MinMax; - superrare: MinMax; -} -export interface AmmoRewards { - ammoRewardChancePercent: number; - ammoRewardBlacklist: Record; - ammoRewardValueRangeRub: Record; - minStackSize: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ITraderConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ITraderConfig.d.ts deleted file mode 100644 index c8e8044..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/ITraderConfig.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; - updateTime: UpdateTime[]; - updateTimeDefault: number; - traderPriceMultipler: number; - minDurabilityForSale: number; - fence: FenceConfig; -} -export interface UpdateTime { - traderId: string; - seconds: number; -} -export interface FenceConfig { - assortSize: number; - maxPresetsCount: number; - presetPriceMult: number; - blacklist: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IWeatherConfig.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IWeatherConfig.d.ts deleted file mode 100644 index bbdc43e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/config/IWeatherConfig.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; - acceleration: number; - weather: Weather; -} -export interface Weather { - clouds: MinMax; - windSpeed: MinMax; - windDirection: MinMax; - windGustiness: MinMax; - rain: MinMax; - rainIntensity: MinMax; - fog: MinMax; - temp: MinMax; - pressure: MinMax; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/controllers/IBotController.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/controllers/IBotController.d.ts deleted file mode 100644 index 010e208..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/controllers/IBotController.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { Difficulty } from "../../eft/common/tables/IBotType"; -export interface IBotController { - getBotLimit(type: string): number; - getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - generate(info: IGenerateBotsRequestData, playerScav: boolean): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IBotGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IBotGenerator.d.ts deleted file mode 100644 index 9043945..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IBotGenerator.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Inventory as PmcInventory } from "../../eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation } from "../../eft/common/tables/IBotType"; -export interface IBotGenerator { - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; -} -export interface IExhaustableArray { - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/ILocationGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/ILocationGenerator.d.ts deleted file mode 100644 index 530ceca..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/ILocationGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../../eft/common/tables/ILootBase"; -import { ILooseLoot, SpawnpointTemplate } from "../../eft/common/ILooseLoot"; -export interface ILocationGenerator { - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IPMCLootGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IPMCLootGenerator.d.ts deleted file mode 100644 index a9db89b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IPMCLootGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IPMCLootGenerator { - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IRagfairAssortGenerator.d.ts deleted file mode 100644 index 6670540..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairAssortGenerator { - getAssortItems(): Item[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IRagfairOfferGenerator.d.ts deleted file mode 100644 index 30b4be5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBarterScheme } from "../../eft/common/tables/ITrader"; -import { IRagfairOffer } from "../../eft/ragfair/IRagfairOffer"; -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairOfferGenerator { - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/helpers/Traders.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts deleted file mode 100644 index 1b5af39..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface ScavCaseRewardCountsAndPrices { - common: RewardCountAndPriceDetails; - rare: RewardCountAndPriceDetails; - superrare: RewardCountAndPriceDetails; -} -export interface RewardCountAndPriceDetails { - minCount: number; - maxCount: number; - minPriceRub: number; - maxPriceRub: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/LogBackgroundColor.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/LogBackgroundColor.d.ts deleted file mode 100644 index 87e08a9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/LogBackgroundColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogBackgroundColor { - default = "", - black = "blackBG", - red = "redBG", - green = "greenBG", - yellow = "yellowBG", - blue = "blueBG", - magenta = "magentaBG", - cyan = "cyanBG", - white = "whiteBG" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/LogTextColor.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/LogTextColor.d.ts deleted file mode 100644 index 7147ae3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/LogTextColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogTextColor { - black = "black", - red = "red", - green = "green", - yellow = "yellow", - blue = "blue", - magenta = "magenta", - cyan = "cyan", - white = "white", - gray = "" -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/SptLogger.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/SptLogger.d.ts deleted file mode 100644 index ea1b3d8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/logging/SptLogger.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface SptLogger { - error: (msg: string | Record) => void; - warn: (msg: string | Record) => void; - succ?: (msg: string | Record) => void; - info: (msg: string | Record) => void; - debug: (msg: string | Record) => void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IMod.d.ts deleted file mode 100644 index e6eec79..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IMod.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare namespace ModLoader { - interface IMod { - name: string; - version: string; - main?: string; - author?: string; - license: string; - dependencies?: Record; - } -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IModLoader.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IModLoader.d.ts deleted file mode 100644 index 40a5e19..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IModLoader.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export interface IModLoader { - load(container: DependencyContainer): void; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IPackageJsonData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IPackageJsonData.d.ts deleted file mode 100644 index 99e4ef9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/IPackageJsonData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IPackageJsonData { - incompatibilities?: string[]; - dependencies?: string[]; - modDependencies?: Record; - name: string; - author: string; - version: string; - akiVersion: string; - licence: string; - main: string; - contributors: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/NewItemDetails.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/NewItemDetails.d.ts deleted file mode 100644 index fc69a06..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/mod/NewItemDetails.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { ITemplateItem, Props } from "../../eft/common/tables/ITemplateItem"; -export declare abstract class NewItemDetailsBase { - /** Price of the item on flea market */ - fleaPriceRoubles: number; - /** Price of the item in the handbook */ - handbookPriceRoubles: number; - /** - * A dictionary for locale settings, key = langauge (e.g. en,cn,es-mx,jp,fr) - * If a language is not included, the first item in the array will be used in its place - */ - locales: Record; -} -export declare class NewItemFromCloneDetails extends NewItemDetailsBase { - /** Id of the item to copy and use as a base */ - itemTplToClone: string; - /** Item properties that should be applied over the top of the cloned base */ - overrideProperties: Props; - /** ParentId for the new item (item type) */ - parentId: string; - /** - * the id the new item should have, leave blank to have one generated for you - * This is often known as the TplId, or TemplateId - */ - newId: string; -} -export declare class NewItemDetails extends NewItemDetailsBase { - newItem: ITemplateItem; -} -export declare class LocaleDetails { - name: string; - shortName: string; - description: string; -} -export declare class CreateItemResult { - constructor(); - success: boolean; - itemId: string; - errors: string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/ragfair/IRagfairServerPrices.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/ragfair/IRagfairServerPrices.d.ts deleted file mode 100644 index c7d246a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/ragfair/IRagfairServerPrices.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRagfairServerPrices { - static: Record; - dynamic: Record; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IDatabaseTables.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IDatabaseTables.d.ts deleted file mode 100644 index 9978459..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IDatabaseTables.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { IGlobals } from "../../eft/common/IGlobals"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { IBotType } from "../../eft/common/tables/IBotType"; -import { ICustomizationItem } from "../../eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "../../eft/common/tables/IHandbookBase"; -import { ILootBase } from "../../eft/common/tables/ILootBase"; -import { IMatch } from "../../eft/common/tables/IMatch"; -import { IProfileTemplates } from "../../eft/common/tables/IProfileTemplate"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "../../eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -import { ITrader } from "../../eft/common/tables/ITrader"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { ILocaleBase } from "./ILocaleBase"; -import { ILocations } from "./ILocations"; -import { IServerBase } from "./IServerBase"; -import { ISettingsBase } from "./ISettingsBase"; -export interface IDatabaseTables { - bots?: { - types: Record; - base: IBotBase; - core: IBotCore; - }; - hideout?: { - areas: IHideoutArea[]; - production: IHideoutProduction[]; - scavcase: IHideoutScavCase[]; - settings: IHideoutSettingsBase; - }; - locales?: ILocaleBase; - locations?: ILocations; - loot?: ILootBase; - match?: IMatch; - templates?: { - character: string[]; - items: Record; - quests: IQuest[]; - repeatableQuests: IRepeatableQuestDatabase; - /** DEPRECATED - Items file found in the client, massivly out of date compared to templates.items, try not to use this, remove ASAP*/ - clientItems: Record; - handbook: IHandbookBase; - customization: Record; - /** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */ - profiles: IProfileTemplates; - /** Flea prices of items - gathered from online flea market dump */ - prices: Record; - }; - traders?: Record; - globals?: IGlobals; - server?: IServerBase; - settings?: ISettingsBase; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IHttpServer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IHttpServer.d.ts deleted file mode 100644 index c828399..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IHttpServer.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { INotification } from "../../eft/notifier/INotifier"; -export interface IHttpServer { - load(): void; - getCookies(req: http.IncomingMessage): any; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - sendMessage(sessionID: string, output: INotification): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ILocaleBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ILocaleBase.d.ts deleted file mode 100644 index 8887c06..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ILocaleBase.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -export interface ILocaleBase { - global: Record; - menu: Record; - languages: ILanguageBase[]; -} -export interface ILocaleGlobalBase { - interface: Record; - enum: any[]; - mail: Record; - quest: Record; - preset: Record; - handbook: Record; - season: Record; - customization: Record; - repeatableQuest: Record; - templates: ILocaleTemplateBase; - locations: ILocaleLocationsBase; - banners: ILocaleBannersBase; - trading: ILocaleTradingBase; -} -export interface ILocaleQuest { - name: string; - description: string; - note: string; - failMessageText: string; - startedMessageText: string; - successMessageText: string; - conditions: Record; - location: string; -} -export interface ILocalePreset { - Name: string; -} -export interface ILocaleTemplateBase { - templates: Record; -} -export interface ILocaleLocationsBase { - locations: Record; -} -export interface ILocaleBannersBase { - locations: Record; -} -export interface ILocaleProps { - Name: string; - ShortName: string; - Description: string; -} -export interface ILocaleTradingBase { - locations: Record; -} -export interface ILocaleTradingProps { - FullName: string; - FirstName: string; - Nickname: string; - Location: string; - Description: string; -} -export interface ILanguageBase { - ShortName: string; - Name: string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ILocations.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ILocations.d.ts deleted file mode 100644 index 18f0262..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ILocations.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ILocationBase } from "../../eft/common/ILocationBase"; -import { ILooseLoot } from "../../eft/common/ILooseLoot"; -import { ILocationsBase } from "../../eft/common/tables/ILocationsBase"; -export interface ILocations { - bigmap?: ILocationData; - develop?: ILocationData; - factory4_day?: ILocationData; - factory4_night?: ILocationData; - hideout?: ILocationData; - interchange?: ILocationData; - laboratory?: ILocationData; - lighthouse?: ILocationData; - privatearea?: ILocationData; - rezervbase?: ILocationData; - shoreline?: ILocationData; - suburbs?: ILocationData; - tarkovstreets?: ILocationData; - terminal?: ILocationData; - town?: ILocationData; - woods?: ILocationData; - base?: ILocationsBase; -} -export interface ILocationData { - base: ILocationBase; - looseLoot?: ILooseLoot; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IServerBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IServerBase.d.ts deleted file mode 100644 index d033db3..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/IServerBase.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IServerBase { - ip: string; - port: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ISettingsBase.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ISettingsBase.d.ts deleted file mode 100644 index c067cda..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/server/ISettingsBase.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -export interface ISettingsBase { - config: Config; -} -export interface Config { - AFKTimeoutSeconds: number; - AdditionalRandomDelaySeconds: number; - ClientSendRateLimit: number; - CriticalRetriesCount: number; - DefaultRetriesCount: number; - FirstCycleDelaySeconds: number; - FramerateLimit: FramerateLimit; - GroupStatusInterval: number; - KeepAliveInterval: number; - Mark502and504AsNonImportant: boolean; - MemoryManagementSettings: MemoryManagementSettings; - NVidiaHighlights: boolean; - NextCycleDelaySeconds: number; - PingServerResultSendInterval: number; - PingServersInterval: number; - ReleaseProfiler: ReleaseProfiler; - SecondCycleDelaySeconds: number; - TurnOffLogging: boolean; - WeaponOverlapDistanceCulling: number; - WebDiagnosticsEnabled: boolean; -} -export interface FramerateLimit { - MaxFramerateGameLimit: number; - MaxFramerateLobbyLimit: number; - MinFramerateLimit: number; -} -export interface MemoryManagementSettings { - AggressiveGC: boolean; - GigabytesRequiredToDisableGCDuringRaid: number; - HeapPreAllocationEnabled: boolean; - HeapPreAllocationMB: number; - OverrideRamCleanerSettings: boolean; - RamCleanerEnabled: boolean; -} -export interface ReleaseProfiler { - Enabled: boolean; - MaxRecords: number; - RecordTriggerValue: number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/services/CustomPreset.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/services/CustomPreset.d.ts deleted file mode 100644 index f07382e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/services/CustomPreset.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Preset } from "../../eft/common/IGlobals"; -export interface CustomPreset { - key: string; - preset: Preset; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/services/CustomTraderAssortData.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/services/CustomTraderAssortData.d.ts deleted file mode 100644 index 265a26a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/services/CustomTraderAssortData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../../eft/common/tables/ITrader"; -import { Traders } from "../../enums/Traders"; -export interface CustomTraderAssortData { - traderId: Traders; - assorts: ITraderAssort; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/IAsyncQueue.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/IAsyncQueue.d.ts deleted file mode 100644 index 2be801a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/IAsyncQueue.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ICommand } from "./ICommand"; -export interface IAsyncQueue { - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/ICommand.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/ICommand.d.ts deleted file mode 100644 index 696bb83..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/ICommand.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ICommand { - uuid: string; - cmd: () => Promise; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/ILogger.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/ILogger.d.ts deleted file mode 100644 index 2af3fac..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/ILogger.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Daum } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../logging/LogBackgroundColor"; -import { LogTextColor } from "../logging/LogTextColor"; -export interface ILogger { - writeToLogFile(data: string | Daum): void; - log(data: string | Record | Error, color: string, backgroundColor?: string): void; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): void; - error(data: string): void; - warning(data: string): void; - success(data: string): void; - info(data: string): void; - debug(data: string | Record, onlyShowInConsole?: boolean): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/IUuidGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/IUuidGenerator.d.ts deleted file mode 100644 index 3870469..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/models/spt/utils/IUuidGenerator.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUUidGenerator { - generate(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/HttpRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/HttpRouter.d.ts deleted file mode 100644 index f75a47d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/HttpRouter.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { DynamicRouter, Router, StaticRouter } from "../di/Router"; -export declare class HttpRouter { - protected staticRouters: StaticRouter[]; - protected dynamicRoutes: DynamicRouter[]; - constructor(staticRouters: StaticRouter[], dynamicRoutes: DynamicRouter[]); - protected groupBy(list: T[], keyGetter: (t: T) => string): Map; - getResponse(req: IncomingMessage, info: any, sessionID: string): string; - protected handleRoute(url: string, info: any, sessionID: string, wrapper: ResponseWrapper, routers: Router[], dynamic: boolean): boolean; -} -declare class ResponseWrapper { - output: string; - constructor(output: string); -} -export {}; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/ImageRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/ImageRouter.d.ts deleted file mode 100644 index ab03977..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/ImageRouter.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// -import { IncomingMessage, ServerResponse } from "http"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ImageRouteService } from "../services/mod/image/ImageRouteService"; -import { VFS } from "../utils/VFS"; -export declare class ImageRouter { - protected vfs: VFS; - protected imageRouteService: ImageRouteService; - constructor(vfs: VFS, imageRouteService: ImageRouteService); - addRoute(key: string, valueToAdd: string): void; - sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void; - getImage(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/ItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/ItemEventRouter.d.ts deleted file mode 100644 index b1ac5d9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/ItemEventRouter.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { ItemEventRouterDefinition } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class ItemEventRouter { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected itemEventRouters: ItemEventRouterDefinition[]; - constructor(logger: ILogger, jsonUtil: JsonUtil, profileHelper: ProfileHelper, itemEventRouters: ItemEventRouterDefinition[]); - protected output: IItemEventRouterResponse; - handleEvents(info: IItemEventRouterRequest, sessionID: string): IItemEventRouterResponse; - getOutput(sessionID: string): IItemEventRouterResponse; - protected resetOutput(sessionID: string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/BotDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/BotDynamicRouter.d.ts deleted file mode 100644 index 6d0ab4b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/BotDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BotDynamicRouter extends DynamicRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/BundleDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/BundleDynamicRouter.d.ts deleted file mode 100644 index a765410..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/BundleDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BundleDynamicRouter extends DynamicRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/CustomizationDynamicRouter.d.ts deleted file mode 100644 index 2db7cc5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class CustomizationDynamicRouter extends DynamicRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/DataDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/DataDynamicRouter.d.ts deleted file mode 100644 index 836ed8d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/DataDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class DataDynamicRouter extends DynamicRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/HttpDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/HttpDynamicRouter.d.ts deleted file mode 100644 index a152b4d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/HttpDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter } from "../../di/Router"; -import { ImageRouter } from "../ImageRouter"; -export declare class HttpDynamicRouter extends DynamicRouter { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/InraidDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/InraidDynamicRouter.d.ts deleted file mode 100644 index 7c0561f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/InraidDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class InraidDynamicRouter extends DynamicRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/LocationDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/LocationDynamicRouter.d.ts deleted file mode 100644 index b8e5cdf..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/LocationDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class LocationDynamicRouter extends DynamicRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/NotifierDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/NotifierDynamicRouter.d.ts deleted file mode 100644 index 83c60c5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class NotifierDynamicRouter extends DynamicRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/TraderDynamicRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/TraderDynamicRouter.d.ts deleted file mode 100644 index 5b7cc1b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/dynamic/TraderDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class TraderDynamicRouter extends DynamicRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/CustomizationItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/CustomizationItemEventRouter.d.ts deleted file mode 100644 index e78445e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/HealthItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/HealthItemEventRouter.d.ts deleted file mode 100644 index 99847c6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/HealthItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HealthItemEventRouter extends ItemEventRouterDefinition { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/HideoutItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/HideoutItemEventRouter.d.ts deleted file mode 100644 index e1e98af..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/HideoutItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutCallbacks } from "../../callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { - protected hideoutCallbacks: HideoutCallbacks; - constructor(hideoutCallbacks: HideoutCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/InsuranceItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/InsuranceItemEventRouter.d.ts deleted file mode 100644 index a922cc0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/InventoryItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/InventoryItemEventRouter.d.ts deleted file mode 100644 index 2619bb9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/InventoryItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InventoryCallbacks } from "../../callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { - protected inventoryCallbacks: InventoryCallbacks; - constructor(inventoryCallbacks: InventoryCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/NoteItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/NoteItemEventRouter.d.ts deleted file mode 100644 index 59bf598..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/NoteItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { NoteCallbacks } from "../../callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class NoteItemEventRouter extends ItemEventRouterDefinition { - protected noteCallbacks: NoteCallbacks; - constructor(noteCallbacks: NoteCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/PresetBuildItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/PresetBuildItemEventRouter.d.ts deleted file mode 100644 index 277db44..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/PresetBuildItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class PresetBuildItemEventRouter extends ItemEventRouterDefinition { - protected presetBuildCallbacks: PresetBuildCallbacks; - constructor(presetBuildCallbacks: PresetBuildCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/QuestItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/QuestItemEventRouter.d.ts deleted file mode 100644 index a092aa6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/QuestItemEventRouter.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class QuestItemEventRouter extends ItemEventRouterDefinition { - protected logger: ILogger; - protected questCallbacks: QuestCallbacks; - constructor(logger: ILogger, questCallbacks: QuestCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(eventAction: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/RagfairItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/RagfairItemEventRouter.d.ts deleted file mode 100644 index 9216cc5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/RagfairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/RepairItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/RepairItemEventRouter.d.ts deleted file mode 100644 index 5196ba9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/RepairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairCallbacks } from "../../callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RepairItemEventRouter extends ItemEventRouterDefinition { - protected repairCallbacks: RepairCallbacks; - constructor(repairCallbacks: RepairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/TradeItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/TradeItemEventRouter.d.ts deleted file mode 100644 index a43bb0a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/TradeItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { TradeCallbacks } from "../../callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class TradeItemEventRouter extends ItemEventRouterDefinition { - protected tradeCallbacks: TradeCallbacks; - constructor(tradeCallbacks: TradeCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/WishlistItemEventRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/WishlistItemEventRouter.d.ts deleted file mode 100644 index 38497fb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/item_events/WishlistItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { WishlistCallbacks } from "../../callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { - protected wishlistCallbacks: WishlistCallbacks; - constructor(wishlistCallbacks: WishlistCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/HealthSaveLoadRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/HealthSaveLoadRouter.d.ts deleted file mode 100644 index 114f5b2..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class HealthSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/InraidSaveLoadRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/InraidSaveLoadRouter.d.ts deleted file mode 100644 index 4c00b40..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InraidSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/InsuranceSaveLoadRouter.d.ts deleted file mode 100644 index 30ce98e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/ProfileSaveLoadRouter.d.ts deleted file mode 100644 index 16c7619..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class ProfileSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/BundleSerializer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/BundleSerializer.d.ts deleted file mode 100644 index 912db83..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/BundleSerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Serializer } from "../../di/Serializer"; -import { BundleLoader } from "../../loaders/BundleLoader"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class BundleSerializer extends Serializer { - protected logger: ILogger; - protected bundleLoader: BundleLoader; - constructor(logger: ILogger, bundleLoader: BundleLoader); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/ImageSerializer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/ImageSerializer.d.ts deleted file mode 100644 index 0e040d4..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/ImageSerializer.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { Serializer } from "../../di/Serializer"; -import { ImageRouter } from "../ImageRouter"; -export declare class ImageSerializer extends Serializer { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/NotifySerializer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/NotifySerializer.d.ts deleted file mode 100644 index 1779ac9..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/serializers/NotifySerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NotifierController } from "../../controllers/NotifierController"; -import { Serializer } from "../../di/Serializer"; -import { HttpServerHelper } from "../../helpers/HttpServerHelper"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -export declare class NotifySerializer extends Serializer { - protected notifierController: NotifierController; - protected httpServerHelper: HttpServerHelper; - constructor(notifierController: NotifierController, httpServerHelper: HttpServerHelper); - serialize(_sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/BotStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/BotStaticRouter.d.ts deleted file mode 100644 index aeea220..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/BotStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BotStaticRouter extends StaticRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/BundleStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/BundleStaticRouter.d.ts deleted file mode 100644 index fb682fc..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/BundleStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BundleStaticRouter extends StaticRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/CustomizationStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/CustomizationStaticRouter.d.ts deleted file mode 100644 index 21bc4bb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/CustomizationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class CustomizationStaticRouter extends StaticRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/DataStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/DataStaticRouter.d.ts deleted file mode 100644 index 84ba7fd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/DataStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DataStaticRouter extends StaticRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/DialogStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/DialogStaticRouter.d.ts deleted file mode 100644 index 546cdf1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/DialogStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DialogueCallbacks } from "../../callbacks/DialogueCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DialogStaticRouter extends StaticRouter { - protected dialogueCallbacks: DialogueCallbacks; - constructor(dialogueCallbacks: DialogueCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/GameStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/GameStaticRouter.d.ts deleted file mode 100644 index a9a7496..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/GameStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { GameCallbacks } from "../../callbacks/GameCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class GameStaticRouter extends StaticRouter { - protected gameCallbacks: GameCallbacks; - constructor(gameCallbacks: GameCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/HealthStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/HealthStaticRouter.d.ts deleted file mode 100644 index 863fd5e..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/HealthStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class HealthStaticRouter extends StaticRouter { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/InraidStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/InraidStaticRouter.d.ts deleted file mode 100644 index b29ad23..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/InraidStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InraidStaticRouter extends StaticRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/InsuranceStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/InsuranceStaticRouter.d.ts deleted file mode 100644 index 5676499..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/InsuranceStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InsuranceStaticRouter extends StaticRouter { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/ItemEventStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/ItemEventStaticRouter.d.ts deleted file mode 100644 index c30a7fc..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/ItemEventStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ItemEventCallbacks } from "../../callbacks/ItemEventCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ItemEventStaticRouter extends StaticRouter { - protected itemEventCallbacks: ItemEventCallbacks; - constructor(itemEventCallbacks: ItemEventCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/LauncherStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/LauncherStaticRouter.d.ts deleted file mode 100644 index 0040cbd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/LauncherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LauncherCallbacks } from "../../callbacks/LauncherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LauncherStaticRouter extends StaticRouter { - protected launcherCallbacks: LauncherCallbacks; - constructor(launcherCallbacks: LauncherCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/LocationStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/LocationStaticRouter.d.ts deleted file mode 100644 index b6de956..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/LocationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LocationStaticRouter extends StaticRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/MatchStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/MatchStaticRouter.d.ts deleted file mode 100644 index 9920a92..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/MatchStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { MatchCallbacks } from "../../callbacks/MatchCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class MatchStaticRouter extends StaticRouter { - protected matchCallbacks: MatchCallbacks; - constructor(matchCallbacks: MatchCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/NotifierStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/NotifierStaticRouter.d.ts deleted file mode 100644 index 8f1f5cc..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/NotifierStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class NotifierStaticRouter extends StaticRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/PresetStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/PresetStaticRouter.d.ts deleted file mode 100644 index a9e7458..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/PresetStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class PresetStaticRouter extends StaticRouter { - protected presetCallbacks: PresetBuildCallbacks; - constructor(presetCallbacks: PresetBuildCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/ProfileStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/ProfileStaticRouter.d.ts deleted file mode 100644 index 83403f2..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/ProfileStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ProfileCallbacks } from "../../callbacks/ProfileCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ProfileStaticRouter extends StaticRouter { - protected profileCallbacks: ProfileCallbacks; - constructor(profileCallbacks: ProfileCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/QuestStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/QuestStaticRouter.d.ts deleted file mode 100644 index 8f7ca0a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/QuestStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class QuestStaticRouter extends StaticRouter { - protected questCallbacks: QuestCallbacks; - constructor(questCallbacks: QuestCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/RagfairStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/RagfairStaticRouter.d.ts deleted file mode 100644 index 6c41467..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/RagfairStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class RagfairStaticRouter extends StaticRouter { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/TraderStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/TraderStaticRouter.d.ts deleted file mode 100644 index 41728a1..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/TraderStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class TraderStaticRouter extends StaticRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/WeatherStaticRouter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/WeatherStaticRouter.d.ts deleted file mode 100644 index 72ed851..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/routers/static/WeatherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { WeatherCallbacks } from "../../callbacks/WeatherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class WeatherStaticRouter extends StaticRouter { - protected weatherCallbacks: WeatherCallbacks; - constructor(weatherCallbacks: WeatherCallbacks); -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/ConfigServer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/ConfigServer.d.ts deleted file mode 100644 index a079be8..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/ConfigServer.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigTypes } from "../models/enums/ConfigTypes"; -export declare class ConfigServer { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected configs: Record; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil); - getConfig(configType: ConfigTypes): T; - getConfigByString(configType: string): T; - initialize(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/DatabaseServer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/DatabaseServer.d.ts deleted file mode 100644 index aa152d0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/DatabaseServer.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -export declare class DatabaseServer { - protected tableData: IDatabaseTables; - getTables(): IDatabaseTables; - setTables(any: any): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/HttpServer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/HttpServer.d.ts deleted file mode 100644 index 44d802b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/HttpServer.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { ApplicationContext } from "../context/ApplicationContext"; -import { Serializer } from "../di/Serializer"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { HttpRouter } from "../routers/HttpRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ConfigServer } from "./ConfigServer"; -import { DatabaseServer } from "./DatabaseServer"; -export declare class HttpServer implements IHttpServer { - protected httpRouter: HttpRouter; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected serializers: Serializer[]; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - constructor(httpRouter: HttpRouter, // TODO: delay required - logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, serializers: Serializer[], configServer: ConfigServer, applicationContext: ApplicationContext); - protected buffers: {}; - protected onReceive: {}; - protected onRespond: {}; - protected httpConfig: IHttpConfig; - protected webSockets: {}; - protected websocketPingHandler: any; - getCookies(req: http.IncomingMessage): any; - resetBuffer(sessionID: string): void; - putInBuffer(sessionID: any, data: any, bufLength: number): boolean; - getFromBuffer(sessionID: string): any; - sendZlibJson(resp: any, output: any, sessionID: string): void; - sendMessage(sessionID: string, output: INotification): void; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - handleRequest(req: http.IncomingMessage, resp: http.ServerResponse): void; - load(): void; - protected getRandomisedMessage(): string; - wsOnConnection(ws: any, req: any): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/RagfairServer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/RagfairServer.d.ts deleted file mode 100644 index bc86cdb..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/RagfairServer.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { ConfigServer } from "./ConfigServer"; -export declare class RagfairServer { - protected logger: ILogger; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, ragfairOfferGenerator: RagfairOfferGenerator, ragfairOfferService: RagfairOfferService, ragfairCategoriesService: RagfairCategoriesService, ragfairRequiredItemsService: RagfairRequiredItemsService, configServer: ConfigServer); - load(): void; - update(): void; - getAllCategories(): Record; - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Disable/Hide an offer from flea - * @param offerId - */ - hideOffer(offerId: string): void; - getOffer(offerID: string): IRagfairOffer; - getOffers(): IRagfairOffer[]; - removeOfferStack(offerID: string, amount: number): void; - doesOfferExist(offerId: string): boolean; - addPlayerOffers(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/SaveServer.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/SaveServer.d.ts deleted file mode 100644 index cb28f49..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/servers/SaveServer.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { IAkiProfile, Info } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { SaveLoadRouter } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class SaveServer { - protected vfs: VFS; - protected saveLoadRouters: SaveLoadRouter[]; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected profileFilepath: string; - protected profiles: {}; - protected onSave: {}; - protected saveMd5: {}; - constructor(vfs: VFS, saveLoadRouters: SaveLoadRouter[], jsonUtil: JsonUtil, hashUtil: HashUtil, logger: ILogger); - load(): void; - save(): void; - getProfile(sessionId: string): IAkiProfile; - getProfiles(): Record; - deleteProfileById(sessionID: string): boolean; - createProfile(profileInfo: Info): void; - addProfile(profileDetails: IAkiProfile): void; - loadProfile(sessionID: string): void; - saveProfile(sessionID: string): void; - removeProfile(sessionID: string): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/BotEquipmentFilterService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/BotEquipmentFilterService.d.ts deleted file mode 100644 index e49645b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/BotEquipmentFilterService.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { Equipment, EquipmentFilterDetails, IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class BotEquipmentFilterService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - protected botEquipmentFilterlists: Record; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Filter a bots data to exclude equipment and cartridges defines in the botConfig - * @param baseBotNode bots json data to filter - * @param playerLevel Level of the currently playing player - * @param isPmc Is the bot we're filtering a PMC - * @param role Role of the bot we're filtering - */ - filterBotEquipment(baseBotNode: IBotType, playerLevel: number, isPmc: boolean, role: string): void; - /** - * Get an object that contains equipment and cartridge blacklists for a specified bot type - * @param botRole Role of the bot we want the blacklist for - * @param playerLevel Level of the player - * @returns EquipmentBlacklistDetails object - */ - protected getBotEquipmentBlacklist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Get the whitelist for a specific bot type that's within the players level - * @param botRole Bot type - * @param playerLevel Players level - * @returns EquipmentFilterDetails object - */ - protected getBotEquipmentWhitelist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Filter bot equipment based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment blacklist - * @returns Filtered bot file - */ - protected filterEquipment(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; - /** - * Filter bot cartridges based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment on this list should be excluded from the bot - * @param whitelist equipment on this list should be used exclusivly - * @returns Filtered bot file - */ - protected filterCartridges(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/BotLootCacheService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/BotLootCacheService.d.ts deleted file mode 100644 index cc71eee..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/BotLootCacheService.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { PMCLootGenerator } from "../generators/PMCLootGenerator"; -import { Items } from "../models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { BotLootCache, LootCacheType } from "../models/spt/bots/BotLootCache"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RagfairPriceService } from "./RagfairPriceService"; -export declare class BotLootCacheService { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected pmcLootGenerator: PMCLootGenerator; - protected ragfairPriceService: RagfairPriceService; - protected lootCache: Record; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, ragfairPriceService: RagfairPriceService); - /** - * Remove all cached bot loot data - */ - clearCache(): void; - /** - * Get the fully created loot array, ordered by price low to high - * @param botRole bot to get loot for - * @param isPmc is the bot a pmc - * @param lootType what type of loot is needed (backpack/pocket/stim/vest etc) - * @param lootPool the full pool of loot (needed when cache is empty) - * @returns ITemplateItem array - */ - getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): ITemplateItem[]; - /** - * Generate loot for a bot and store inside a private class property - * @param botRole bots role (assault / pmcBot etc) - * @param lootPool the full pool of loot we use to create the various sub-categories with - * @param isPmc Is the bot a PMC (alteres what loot is cached) - */ - protected addLootToCache(botRole: string, isPmc: boolean, lootPool: Items): void; - /** - * Ammo/grenades have this property - * @param props - * @returns - */ - protected isBulletOrGrenade(props: Props): boolean; - /** - * Internal and external magazine have this property - * @param props - * @returns - */ - protected isMagazine(props: Props): boolean; - /** - * Medical use items (e.g. morphine/lip balm/grizzly) - * @param props - * @returns - */ - protected isMedicalItem(props: Props): boolean; - /** - * Grenades have this property (e.g. smoke/frag/flash grenades) - * @param props - * @returns - */ - protected isGrenade(props: Props): boolean; - /** - * Check if a bot type exists inside the loot cache - * @param botRole role to check for - * @returns true if they exist - */ - protected botRoleExistsInCache(botRole: string): boolean; - /** - * If lootcache is null, init with empty property arrays - * @param botRole Bot role to hydrate - */ - protected initCacheForBotRole(botRole: string): void; - /** - * Compares two item prices by their flea (or handbook if that doesnt exist) price - * -1 when a < b - * 0 when a === b - * 1 when a > b - * @param itemAPrice - * @param itemBPrice - * @returns - */ - protected compareByValue(itemAPrice: number, itemBPrice: number): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/FenceService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/FenceService.d.ts deleted file mode 100644 index 79058c6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/FenceService.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class FenceService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected fenceAssort: ITraderAssort; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, configServer: ConfigServer); - protected setFenceAssort(fenceAssort: ITraderAssort): void; - getFenceAssorts(): ITraderAssort; - hasExpiredCache(refreshAssort: boolean): boolean; - generateFenceAssortCache(pmcData: IPmcData): void; - /** - * Get the fence level the passed in profile has - * @param pmcData Player profile - * @returns FenceLevel - */ - getFenceInfo(pmcData: IPmcData): FenceLevel; - removeFenceOffer(assortIdToRemove: string): void; - updateFenceOffers(pmcData: IPmcData): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/HashCacheService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/HashCacheService.d.ts deleted file mode 100644 index 5320f28..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/HashCacheService.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -export declare class HashCacheService { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected jsonHashes: any; - protected modHashes: any; - protected readonly modCachePath = "./user/cache/modCache.json"; - constructor(vfs: VFS, hashUtil: HashUtil, jsonUtil: JsonUtil, logger: ILogger); - getStoredModHash(modName: string): string; - modContentMatchesStoredHash(modName: string, modContent: string): boolean; - hashMatchesStoredHash(modName: string, modHash: string): boolean; - storeModContent(modName: string, modContent: string): void; - storeModHash(modName: string, modHash: string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/InsuranceService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/InsuranceService.d.ts deleted file mode 100644 index 171bf10..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/InsuranceService.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { SecureContainerHelper } from "../helpers/SecureContainerHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected secureContainerHelper: SecureContainerHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected traderHelper: TraderHelper; - protected dialogueHelper: DialogueHelper; - protected configServer: ConfigServer; - protected insured: Record>; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, secureContainerHelper: SecureContainerHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, saveServer: SaveServer, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, configServer: ConfigServer); - insuranceExists(sessionId: string): boolean; - insuranceTraderArrayExists(sessionId: string, traderId: string): boolean; - getInsurance(sessionId: string): Record; - getInsuranceItems(sessionId: string, traderId: string): any[]; - resetInsurance(sessionId: string): void; - resetInsuranceTraderArray(sessionId: string, traderId: string): void; - addInsuranceItemToArray(sessionId: string, traderId: string, itemToAdd: any): void; - /** - * Get the rouble price for an item by templateId - * @param itemTpl item tpl to get handbook price for - * @returns handbook price in roubles, Return 0 if not found - */ - getItemPrice(itemTpl: string): number; - /** - * Sends stored insured items as message to player - * @param pmcData profile to modify - * @param sessionID SessionId of current player - * @param mapId Id of the map player died/exited that caused the insurance to be issued on - */ - sendInsuredItems(pmcData: IPmcData, sessionID: string, mapId: string): void; - storeLostGear(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - storeInsuredItemsForReturn(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - protected addGearToSend(pmcData: IPmcData, insuredItem: any, actualItem: any, sessionID: string): any; - getPremium(pmcData: IPmcData, inventoryItem: Item, traderId: string): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/LocaleService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/LocaleService.d.ts deleted file mode 100644 index 33bea7b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/LocaleService.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILocaleConfig } from "../models/spt/config/ILocaleConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class LocaleService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected localeConfig: ILocaleConfig; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Gets the locale key from the locale.json file - * @returns locale e.g en/ge/cz/cn - */ - getDesiredLocale(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/MatchLocationService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/MatchLocationService.d.ts deleted file mode 100644 index c027bec..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/MatchLocationService.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class MatchLocationService { - protected timeUtil: TimeUtil; - protected locations: {}; - constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/ModCompilerService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/ModCompilerService.d.ts deleted file mode 100644 index 26cb4ac..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/ModCompilerService.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import * as ts from "typescript"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { VFS } from "../utils/VFS"; -import { HashCacheService } from "./HashCacheService"; -export declare class ModCompilerService { - protected logger: ILogger; - protected hashCacheService: HashCacheService; - protected vfs: VFS; - constructor(logger: ILogger, hashCacheService: HashCacheService, vfs: VFS); - compileMod(modName: string, modPath: string, modTypeScriptFiles: string[]): Promise; - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; - protected buildDepth(depth: number): string; - protected getNodesModulesPath(depth: number): string; - protected getAkiPath(depth: number): string; - protected getAkiFolder(): string; - protected getNodesModulesFolder(): string; - protected calculateDepth(file: string): number; - protected areFilesReady(fileNames: string[]): boolean; - protected delay(ms: number): Promise; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/NotificationService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/NotificationService.d.ts deleted file mode 100644 index 65a84dd..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/NotificationService.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -export declare class NotificationService { - protected messageQueue: Record; - getMessageQueue(): Record; - getMessageFromQueue(sessionId: string): any[]; - updateMessageOnQueue(sessionId: string, value: any[]): void; - has(sessionID: string): boolean; - /** - * Pop first message from queue. - */ - pop(sessionID: string): any; - /** - * Add message to queue - */ - add(sessionID: string, message: INotification): void; - /** - * Get message queue for session - * @param sessionID - */ - get(sessionID: string): any[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/PaymentService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/PaymentService.d.ts deleted file mode 100644 index a5e538f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/PaymentService.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PaymentService { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, traderHelper: TraderHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Take money and insert items into return to server request - * @param {Object} pmcData - * @param {Object} body - * @param {string} sessionID - * @returns Object - */ - payMoney(pmcData: IPmcData, body: IProcessBuyTradeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Receive money back after selling - * @param {IPmcData} pmcData - * @param {number} amount - * @param {IProcessSellTradeRequestData} body - * @param {IItemEventRouterResponse} output - * @param {string} sessionID - * @returns IItemEventRouterResponse - */ - getMoney(pmcData: IPmcData, amount: number, body: IProcessSellTradeRequestData, output: IItemEventRouterResponse, sessionID: string): IItemEventRouterResponse; - /** - * Recursively checks if the given item is - * inside the stash, that is it has the stash as - * ancestor with slotId=hideout - */ - protected isItemInStash(pmcData: IPmcData, item: Item): boolean; - /** - * Remove currency from player stash/inventory - * @param pmcData Player profile to find and remove currency from - * @param currencyTpl Type of currency to pay - * @param amountToPay money value to pay - * @param sessionID Sessino id - * @param output output object to send to client - * @returns IItemEventRouterResponse - */ - addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Prioritise player stash first over player inventory - * Post-raid healing would often take money out of the players pockets/secure container - * @param a Firsat money stack item - * @param b Second money stack item - * @returns sorted item - */ - protected moneySort(a: Item, b: Item): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/PlayerService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/PlayerService.d.ts deleted file mode 100644 index 519b7e5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/PlayerService.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IPlayerIncrementSkillLevelRequestData } from "../models/eft/player/IPlayerIncrementSkillLevelRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PlayerService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, databaseServer: DatabaseServer); - /** - * increases the profile skill and updates any output - * @param {Object} pmcData - * @param {Object} output - * @param {String} skillName - * @param {Number} amount - */ - incrementSkillLevel(pmcData: IPmcData, output: IPlayerIncrementSkillLevelRequestData, skillName: string, amount: number): void; - /** - * @param {Object} pmcData - * @returns number - */ - calculateLevel(pmcData: IPmcData): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/ProfileFixerService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/ProfileFixerService.d.ts deleted file mode 100644 index ed1dec7..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/ProfileFixerService.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutSlot } from "../models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "../models/enums/HideoutAreas"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { Watermark } from "../utils/Watermark"; -export declare class ProfileFixerService { - protected logger: ILogger; - protected watermark: Watermark; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, watermark: Watermark, databaseServer: DatabaseServer); - /** - * Find issues in the pmc profile data that may cause issues and fix them - * @param pmcProfile profile to check and fix - */ - checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void; - /** - * Add tag to profile to indicate when it was made - * @param fullProfile - */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; - /** - * TODO - make this non-public - currently used by RepeatableQuestController - * Remove unused condition counters - * @param pmcProfile profile to remove old counters from - */ - removeDanglingConditionCounters(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; - protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; - protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; - protected addMissingBonusesProperty(pmcProfile: IPmcData): void; - /** - * Adjust profile quest status and statusTimers object values - * quest.status is numeric e.g. 2 - * quest.statusTimers keys are numeric as strings e.g. "2" - * @param pmcProfile profile to update - */ - protected updateProfileQuestDataValues(pmcProfile: IPmcData): void; - protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; - protected addMissingWorkbenchWeaponSkills(pmcProfile: IPmcData): void; - /** - * A new property was added to slot items "locationIndex", if this is missing, the hideout slot item must be removed - * @param pmcProfile Profile to find and remove slots from - */ - protected removeResourcesFromSlotsInHideoutWithoutLocationIndexValue(pmcProfile: IPmcData): void; - /** - * add in objects equal to the number of slots - * @param areaType area to check - * @param pmcProfile profile to update - */ - protected addEmptyObjectsToHideoutAreaSlots(areaType: HideoutAreas, emptyItemCount: number, pmcProfile: IPmcData): void; - protected addObjectsToArray(count: number, slots: HideoutSlot[]): HideoutSlot[]; - /** - * In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots - * @param pmcProfile - */ - protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void; - addMissingArmorRepairSkill(pmcProfile: IPmcData): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairCategoriesService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairCategoriesService.d.ts deleted file mode 100644 index 83910e5..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairCategoriesService.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairCategoriesService { - protected logger: ILogger; - protected categories: Record; - constructor(logger: ILogger); - /** - * Get all flea categories and their count of offers - * @returns item categories and count - */ - getAllCategories(): Record; - /** - * With the supplied items, get custom categories - * @returns a custom list of categories - */ - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Take an array of ragfair offers and create a dictionary of items with thier corrisponding offer count - * @param offers ragfair offers - * @returns categories and count - */ - protected processOffersIntoCategories(offers: IRagfairOffer[]): Record; - /** - * Increment or decrement a category array - * @param offer offer to process - * @param categories categories to update - * @param increment should item be incremented or decremented - */ - protected addOrIncrementCategory(offer: IRagfairOffer, categories: Record, increment?: boolean): void; - /** - * Increase category count by 1 - * @param offer - */ - incrementCategory(offer: IRagfairOffer): void; - /** - * Reduce category count by 1 - * @param offer - */ - decrementCategory(offer: IRagfairOffer): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairLinkedItemService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairLinkedItemService.d.ts deleted file mode 100644 index 6c34ee0..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairLinkedItemService.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -export declare class RagfairLinkedItemService { - protected databaseServer: DatabaseServer; - protected linkedItemsCache: Record>; - constructor(databaseServer: DatabaseServer); - getLinkedItems(linkedSearchId: string): Iterable; - protected buildLinkedItemTable(): void; - protected getFilters(item: ITemplateItem, slot: string): string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairOfferService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairOfferService.d.ts deleted file mode 100644 index 7398a8f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairOfferService.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairCategoriesService } from "./RagfairCategoriesService"; -export declare class RagfairOfferService { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairCategoriesService: RagfairCategoriesService; - protected profileHelper: ProfileHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected playerOffersLoaded: boolean; - protected toUpdate: Record; - protected expiredOffers: Item[]; - protected offers: IRagfairOffer[]; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, ragfairCategoriesService: RagfairCategoriesService, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); - /** - * Get all offers - * @returns IRagfairOffer array - */ - getOffers(): IRagfairOffer[]; - getOfferByOfferId(offerId: string): IRagfairOffer; - getOffersOfType(templateId: string): IRagfairOffer[]; - addOffer(offer: IRagfairOffer): void; - addOfferToExpired(staleOffer: IRagfairOffer): void; - setTraderUpdateStatus(traderId: string, shouldUpdate: boolean): void; - shouldTraderBeUpdated(traderID: string): boolean; - getExpiredOfferCount(): number; - /** - * Get an array of expired items not yet processed into new offers - * @returns items that need to be turned into offers - */ - getExpiredOffers(): Item[]; - resetExpiredOffers(): void; - /** - * Does the offer exist on the ragfair - * @param offerId offer id to check for - * @returns offer exists - true - */ - doesOfferExist(offerId: string): boolean; - getTraders(): Record; - flagTraderForUpdate(expiredOfferUserId: string): void; - removeOfferById(offerId: string): void; - removeOfferStack(offerID: string, amount: number): void; - removeAllOffersByTrader(traderId: string): void; - addTradersToUpdateList(): void; - addPlayerOffers(): void; - expireStaleOffers(): void; - /** - * Get an array of stale offers that are still shown to player - * @returns IRagfairOffer array - */ - protected getStaleOffers(): IRagfairOffer[]; - protected isStale(offer: IRagfairOffer, time: number): boolean; - protected processStaleOffer(staleOffer: IRagfairOffer): void; - protected returnPlayerOffer(offer: IRagfairOffer): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairPriceService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairPriceService.d.ts deleted file mode 100644 index 679fe1d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairPriceService.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { Preset } from "../models/eft/common/IGlobals"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "../models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RagfairPriceService { - protected handbookHelper: HandbookHelper; - protected databaseServer: DatabaseServer; - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected prices: IRagfairServerPrices; - constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, randomUtil: RandomUtil, configServer: ConfigServer); - generateStaticPrices(): void; - generateDynamicPrices(): void; - hasDynamicPrices(): boolean; - getDynamicPrice(itemTpl: string): number; - getAllFleaPrices(): Record; - getFleaPriceForItem(tplId: string): number; - getStaticPriceForItem(tplId: string): number; - getBarterPrice(barterScheme: IBarterScheme[]): number; - getDynamicOfferPrice(items: Item[], desiredCurrency: string): number; - /** - * Multiply the price by a randomised curve where n = 2, shift = 2 - * @param existingPrice price to alter - * @param isPreset is the item we're multiplying a preset - * @returns multiplied price - */ - protected randomisePrice(existingPrice: number, isPreset: boolean): number; - /** - * Calculate the cost of a weapon preset by adding together the price of its mods + base price of default weapon preset - * @param item base weapon - * @param items weapon plus mods - * @param existingPrice price of existing base weapon - * @returns - */ - getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; - /** - * Attempt to get the default preset for a weapon, failing that get the first preset in the array - * (assumes default = has encyclopedia entry) - * @param presets weapon presets to choose from - * @returns Default preset object - */ - protected getDefaultWeaponPreset(presets: Preset[], weapon: Item): Preset; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairRequiredItemsService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairRequiredItemsService.d.ts deleted file mode 100644 index b05fc65..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/RagfairRequiredItemsService.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairRequiredItemsService { - protected logger: ILogger; - protected paymentHelper: PaymentHelper; - protected ragfairOfferService: RagfairOfferService; - protected requiredItemsCache: {}; - constructor(logger: ILogger, paymentHelper: PaymentHelper, ragfairOfferService: RagfairOfferService); - getRequiredItems(searchId: string): any; - buildRequiredItemTable(): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/TraderAssortService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/TraderAssortService.d.ts deleted file mode 100644 index 5ba2d05..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/TraderAssortService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -export declare class TraderAssortService { - protected pristineTraderAssorts: Record; - getPristineTraderAssort(traderId: string): ITraderAssort; - setPristineTraderAssort(traderId: string, assort: ITraderAssort): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/CustomItemService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/CustomItemService.d.ts deleted file mode 100644 index 87bda40..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/CustomItemService.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { ITemplateItem, Props } from "../../models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "../../models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "../../models/spt/server/IDatabaseTables"; -import { ILogger } from "../../models/spt/utils/ILogger"; -import { DatabaseServer } from "../../servers/DatabaseServer"; -import { HashUtil } from "../../utils/HashUtil"; -import { JsonUtil } from "../../utils/JsonUtil"; -export declare class CustomItemService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected tables: IDatabaseTables; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Create a new item from a cloned item base - * WARNING - If no item id is supplied, an id will be generated, this id will be random every time you add an item and will not be the same on each subsequent server start - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Item details for the new item to be created - * @returns tplId of the new item created - */ - createItemFromClone(newItemDetails: NewItemFromCloneDetails): CreateItemResult; - /** - * Create a new item without using an existing item as a template - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Details on what the item to be created - * @returns CreateItemResult containing the completed items Id - */ - createItem(newItemDetails: NewItemDetails): CreateItemResult; - /** - * If the id provided is an empty string, return a randomly generated guid, otherwise return the newId parameter - * @param newId id supplied to code - * @returns item id - */ - protected getOrGenerateIdForItem(newId: string): string; - /** - * Iterates through supplied properties and updates the cloned items properties with them - * Complex objects cannot have overrides, they must be fully hydrated with values if they are to be used - * @param overrideProperties new properties to apply - * @param itemClone item to update - */ - protected updateBaseItemPropertiesWithOverrides(overrideProperties: Props, itemClone: ITemplateItem): void; - /** - * Addd a new item object to the in-memory representation of items.json - * @param newItemId id of the item to add to items.json - * @param itemToAdd Item to add against the new id - */ - protected addToItemsDb(newItemId: string, itemToAdd: ITemplateItem): void; - /** - * Add a handbook price for an item - * @param newItemId id of the item being added - * @param parentId parent id of the item being added - * @param priceRoubles price of the item being added - */ - protected addToHandbookDb(newItemId: string, parentId: string, priceRoubles: number): void; - /** - * Iterate through the passed in locale data and add to each locale in turn - * If data is not provided for each langauge eft uses, the first object will be used in its place - * e.g. - * en[0] - * fr[1] - * - * No jp provided, so english will be used as a substitute - * @param localeDetails key is language, value are the new locale details - * @param newItemId id of the item being created - */ - protected addToLocaleDbs(localeDetails: Record, newItemId: string): void; - /** - * Add a price to the in-memory representation of prices.json, used to inform the flea of an items price on the market - * @param newItemId id of the new item - * @param fleaPriceRoubles Price of the new item - */ - protected addToFleaPriceDb(newItemId: string, fleaPriceRoubles: number): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts deleted file mode 100644 index abfe237..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter, RouteAction } from "../../../di/Router"; -export declare class DynamicRouterMod extends DynamicRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts deleted file mode 100644 index 6742fc6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class DynamicRouterModService { - private container; - constructor(container: DependencyContainer); - registerDynamicRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/image/imageRouteService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/image/imageRouteService.d.ts deleted file mode 100644 index 29569b2..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/image/imageRouteService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare class ImageRouteService { - protected routes: Record; - addRoute(urlKey: string, route: string): void; - getByKey(urlKey: string): string; - existsByKey(urlKey: string): boolean; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onLoad/OnLoadMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onLoad/OnLoadMod.d.ts deleted file mode 100644 index 53fb062..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onLoad/OnLoadMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnLoad } from "../../../di/OnLoad"; -export declare class OnLoadMod extends OnLoad { - private onLoadOverride; - private getRouteOverride; - constructor(onLoadOverride: () => void, getRouteOverride: () => string); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onLoad/OnLoadModService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onLoad/OnLoadModService.d.ts deleted file mode 100644 index f402103..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onLoad/OnLoadModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnLoadModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnLoad(name: string, onLoad: () => void, getRoute: () => string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onUpdate/OnUpdateMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onUpdate/OnUpdateMod.d.ts deleted file mode 100644 index ee89043..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnUpdate } from "../../../di/OnUpdate"; -export declare class OnUpdateMod extends OnUpdate { - private onUpdateOverride; - private getRouteOverride; - constructor(onUpdateOverride: (timeSinceLastRun: number) => boolean, getRouteOverride: () => string); - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onUpdate/OnUpdateModService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onUpdate/OnUpdateModService.d.ts deleted file mode 100644 index 05d735b..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/onUpdate/OnUpdateModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnUpdateModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnUpdate(name: string, onUpdate: (timeSinceLastRun: number) => boolean, getRoute: () => string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/staticRouter/StaticRouterMod.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/staticRouter/StaticRouterMod.d.ts deleted file mode 100644 index 1e62747..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RouteAction, StaticRouter } from "../../../di/Router"; -export declare class StaticRouterMod extends StaticRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/staticRouter/StaticRouterModService.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/staticRouter/StaticRouterModService.d.ts deleted file mode 100644 index f28fd45..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class StaticRouterModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerStaticRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/App.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/App.d.ts deleted file mode 100644 index dcc2669..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/App.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { TimeUtil } from "./TimeUtil"; -import { OnLoad } from "../di/OnLoad"; -import { OnUpdate } from "../di/OnUpdate"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class App { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected onLoadComponents: OnLoad[]; - protected onUpdateComponents: OnUpdate[]; - protected onUpdateLastRun: {}; - constructor(logger: ILogger, timeUtil: TimeUtil, onLoadComponents: OnLoad[], onUpdateComponents: OnUpdate[]); - load(): void; - protected update(onUpdateComponents: OnUpdate[]): void; - protected logUpdateException(err: any, updateable: OnUpdate): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/AyncQueue.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/AyncQueue.d.ts deleted file mode 100644 index da6ab18..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/AyncQueue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ICommand } from "../models/spt/utils/ICommand"; -export declare class AsyncQueue implements IAsyncQueue { - protected commandsQueue: ICommand[]; - constructor(); - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/DatabaseImporter.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/DatabaseImporter.d.ts deleted file mode 100644 index 483e135..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/DatabaseImporter.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ImageRouter } from "../routers/ImageRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "./JsonUtil"; -import { VFS } from "./VFS"; -export declare class DatabaseImporter extends OnLoad { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected imageRouter: ImageRouter; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, imageRouter: ImageRouter); - onLoad(): void; - /** - * Read all json files in database folder and map into a json object - * @param filepath path to database folder - */ - protected hydrateDatabase(filepath: string): void; - getRoute(): string; - loadRecursive(filepath: string): IDatabaseTables; - loadImages(filepath: string): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/HashUtil.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/HashUtil.d.ts deleted file mode 100644 index bacbf2a..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/HashUtil.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -import crypto from "crypto"; -import { TimeUtil } from "./TimeUtil"; -export declare class HashUtil { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - generate(): string; - generateMd5ForData(data: string): string; - generateSha1ForData(data: string): string; - generateHashForData(algorithm: string, data: crypto.BinaryLike): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/HttpResponseUtil.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/HttpResponseUtil.d.ts deleted file mode 100644 index 29502be..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/HttpResponseUtil.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { JsonUtil } from "./JsonUtil"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class HttpResponseUtil { - protected jsonUtil: JsonUtil; - constructor(jsonUtil: JsonUtil); - protected clearString(s: string): any; - noBody(data: any): any; - getBody(data: T, err?: number, errmsg?: any): IGetBodyResponseData; - getUnclearedBody(data: any, err?: number, errmsg?: any): string; - emptyResponse(): IGetBodyResponseData; - nullResponse(): INullResponseData; - emptyArrayResponse(): IGetBodyResponseData; - appendErrorToOutput(output: IItemEventRouterResponse, message?: string, title?: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/JsonUtil.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/JsonUtil.d.ts deleted file mode 100644 index 71e95f6..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/JsonUtil.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "./HashUtil"; -import { VFS } from "./VFS"; -export declare class JsonUtil { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected fileHashes: any; - constructor(vfs: VFS, hashUtil: HashUtil, logger: ILogger); - /** - * From object to string - * @param data object to turn into JSON - * @param prettify Should output be prettified? - * @returns string - */ - serialize(data: any, prettify?: boolean): string; - /** - * From string to object - * @param jsonString json string to turn into object - * @returns object - */ - deserialize(jsonString: string): any; - deserializeWithCacheCheck(jsonString: string, filePath: string): string; - clone(data: T): T; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/Logger.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/Logger.d.ts deleted file mode 100644 index 3d9013f..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/Logger.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -/// -import fs from "fs"; -import winston from "winston"; -import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "../models/spt/logging/LogTextColor"; -import { SptLogger } from "../models/spt/logging/SptLogger"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class WinstonLogger implements ILogger { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - protected showDebugInConsole: boolean; - protected folderPath: string; - protected file: string; - protected filePath: string; - protected logLevels: { - levels: { - error: number; - warn: number; - succ: number; - info: number; - custom: number; - debug: number; - }; - colors: { - error: string; - warn: string; - succ: string; - info: string; - custom: string; - debug: string; - }; - bgColors: { - default: string; - blackBG: string; - redBG: string; - greenBG: string; - yellowBG: string; - blueBG: string; - magentaBG: string; - cyanBG: string; - whiteBG: string; - }; - }; - protected logger: winston.Logger & SptLogger; - protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - writeToLogFile(data: string | Daum): Promise; - log(data: string | Error | Record, color: string, backgroundColor?: string): Promise; - error(data: string | Record): Promise; - warning(data: string | Record): Promise; - success(data: string | Record): Promise; - info(data: string | Record): Promise; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): Promise; - debug(data: string | Record, onlyShowInConsole?: boolean): Promise; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/MathUtil.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/MathUtil.d.ts deleted file mode 100644 index ea5fd69..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/MathUtil.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -export declare class MathUtil { - /** - * Helper to create the sum of all array elements - * @param {array} values The array with numbers of which to calculate the sum - * @return {number} sum(values) - */ - arraySum(values: number[]): number; - /** - * Helper to create the cumulative sum of all array elements - * arrayCumsum([1, 2, 3, 4]) = [1, 3, 6, 10] - * @param {array} values The array with numbers of which to calculate the cumulative sum - * @return {array} cumsum(values) - */ - arrayCumsum(values: number[]): number[]; - /** - * Helper to create the product of each element times factor - * @param {array} values The array of numbers which shall be multiplied by the factor - * @return {array} array times factor - */ - arrayProd(values: number[], factor: number): number[]; - /** - * Helper to add a constant to all array elements - * @param {array} values The array of numbers to which the summand should be added - * @return {array} array plus summand - */ - arrayAdd(values: number[], summand: number): number[]; - /** - * Map a value from an input range to an output range linearly - * - * Example: - * a_min = 0; a_max=1; - * b_min = 1; b_max=3; - * MathUtil.mapToRange(0.5, a_min, a_max, b_min, b_max) // returns 2 - * - * @param {number} x The value from input range to be mapped to output range - * @param {number} minIn min of input range - * @param {number} maxIn max of input range - * @param {number} minOut min of output range - * @param {number} maxOut max of outout range - * @return {number} the result of the mapping - */ - mapToRange(x: number, minIn: number, maxIn: number, minOut: number, maxOut: number): number; - /** - * Linear interpolation - * e.g. used to do a continuous integration for quest rewards which are defined for specific support centers of pmcLevel - * - * @param {string} xp the point of x at which to interpolate - * @param {array} x support points in x (of same length as y) - * @param {array} y support points in y (of same length as x) - * @return {number} y(xp) - */ - interp1(xp: number, x: number[], y: number[]): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/ObjectId.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/ObjectId.d.ts deleted file mode 100644 index 03aae56..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/ObjectId.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/// -import { TimeUtil } from "./TimeUtil"; -export declare class ObjectId { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - protected randomBytes: Buffer; - protected constglobalCounter: number; - protected consttime: number; - protected globalCounter: number; - protected time: number; - incGlobalCounter(): number; - toHexString(byteArray: string | any[] | Buffer): string; - generate(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/RandomUtil.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/RandomUtil.d.ts deleted file mode 100644 index c24dd60..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/RandomUtil.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { JsonUtil } from "./JsonUtil"; -import { MathUtil } from "./MathUtil"; -/** - * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects - * based on the relative probability of each of its elements. - * The probabilities of the contained element is not required to be normalized. - * - * Example: - * po = new ProbabilityObjectArray( - * new ProbabilityObject("a", 5), - * new ProbabilityObject("b", 1), - * new ProbabilityObject("c", 1) - * ); - * res = po.draw(10000); - * // count the elements which should be distributed according to the relative probabilities - * res.filter(x => x==="b").reduce((sum, x) => sum + 1 , 0) - */ -export declare class ProbabilityObjectArray extends Array> { - private mathUtil; - constructor(mathUtil: MathUtil, ...items: ProbabilityObject[]); - filter(callbackfn: (value: ProbabilityObject, index: number, array: ProbabilityObject[]) => any): ProbabilityObjectArray; - /** - * Calculates the normalized cumulative probability of the ProbabilityObjectArray's elements normalized to 1 - * @param {array} probValues The relative probability values of which to calculate the normalized cumulative sum - * @returns {array} Cumulative Sum normalized to 1 - */ - cumulativeProbability(probValues: number[]): number[]; - /** - * Clone this ProbabilitObjectArray - * @returns {ProbabilityObjectArray} Deep Copy of this ProbabilityObjectArray - */ - clone(): ProbabilityObjectArray; - /** - * Drop an element from the ProbabilityObjectArray - * - * @param {string} key The key of the element to drop - * @returns {ProbabilityObjectArray} ProbabilityObjectArray without the dropped element - */ - drop(key: K): ProbabilityObjectArray; - /** - * Return the data field of a element of the ProbabilityObjectArray - * @param {string} key The key of the element whose data shall be retrieved - * @returns {object} The data object - */ - data(key: K): V; - /** - * Get the relative probability of an element by its key - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @param {string} key The key of the element whose relative probability shall be retrieved - * @return {number} The relative probability - */ - probability(key: K): number; - /** - * Get the maximum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @return {number} the maximum value of all relative probabilities in this ProbabilityObjectArray - */ - maxProbability(): number; - /** - * Get the minimum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.minProbability() // returns 1 - * - * @return {number} the minimum value of all relative probabilities in this ProbabilityObjectArray - */ - minProbability(): number; - /** - * Draw random element of the ProbabilityObject N times to return an array of N keys. - * Drawing can be with or without replacement - * - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with or without replacement from the input dict - * @param {array} locklist list keys which shall be replaced even if drawing without replacement - * @return {array} Array consisting of N random keys for this ProbabilityObjectArray - */ - draw(count?: number, replacement?: boolean, locklist?: Array): K[]; -} -/** - * A ProbabilityObject which is use as an element to the ProbabilityObjectArray array - * It contains a key, the relative probability as well as optional data. - */ -export declare class ProbabilityObject { - key: K; - relativeProbability: number; - data: V; - /** - * Constructor for the ProbabilityObject - * @param {string} key The key of the element - * @param {number} relativeProbability The relative probability of this element - * @param {any} data Optional data attached to the element - */ - constructor(key: K, relativeProbability: number, data?: V); -} -export declare class RandomUtil { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - constructor(jsonUtil: JsonUtil, logger: ILogger); - getInt(min: number, max: number): number; - getIntEx(max: number): number; - getFloat(min: number, max: number): number; - getBool(): boolean; - getStringArrayValue(arr: string[]): string; - getArrayValue(arr: T[]): T; - getKey(node: any): string; - getKeyValue(node: { - [x: string]: any; - }): any; - /** - * Draw from normal distribution - * @param {number} mu Mean of the normal distribution - * @param {number} sigma Standard deviation of the normal distribution - * @returns {number} The value drawn - */ - randn(mu: number, sigma: number): number; - /** - * Draw Random integer low inclusive, high exclusive - * if high is not set we draw from 0 to low (exclusive) - * @param {integer} low Lower bound inclusive, when high is not set, this is high - * @param {integer} high Higher bound exclusive - * @returns {integer} The random integer in [low, high) - */ - randInt(low: number, high?: number): number; - /** - * Draw a random element of the provided list N times to return an array of N random elements - * Drawing can be with or without replacement - * @param {array} list The array we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input array - * @return {array} Array consisting of N random elements - */ - drawRandomFromList(list: Array, count?: number, replacement?: boolean): Array; - /** - * Draw a random (top level) element of the provided dictionary N times to return an array of N random dictionary keys - * Drawing can be with or without replacement - * @param {any} dict The dictionary we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input dict - * @return {array} Array consisting of N random keys of the dictionary - */ - drawRandomFromDict(dict: any, count?: number, replacement?: boolean): any[]; - getBiasedRandomNumber(min: number, max: number, shift: number, n: number): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/TimeUtil.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/TimeUtil.d.ts deleted file mode 100644 index eed4e6d..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/TimeUtil.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export declare class TimeUtil { - static readonly oneHourAsSeconds = 3600; - formatTime(date: Date): string; - formatDate(date: Date): string; - getDate(): string; - getTime(): string; - getTimestamp(): number; - /** - * mail in eft requires time be in a specific format - * @returns current time in format: 00:00 (hh:mm) - */ - getTimeMailFormat(): string; - /** - * Mail in eft requires date be in a specific format - * @returns current date in format: 00.00.0000 (dd.mm.yyyy) - */ - getDateMailFormat(): string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/UUidGenerator.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/UUidGenerator.d.ts deleted file mode 100644 index 000b719..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/UUidGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class UUidGenerator implements IUUidGenerator { - generate: () => string; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/VFS.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/VFS.d.ts deleted file mode 100644 index e5eaf02..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/VFS.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -/// -/// -import "reflect-metadata"; -import fs from "fs"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class VFS { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; - copyFilePromisify: (src: fs.PathLike, dst: fs.PathLike, flags?: number) => Promise; - mkdirPromisify: (path: fs.PathLike, options: fs.MakeDirectoryOptions & { - recursive: true; - }) => Promise; - readFilePromisify: (path: fs.PathLike) => Promise; - writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - readdirPromisify: (path: fs.PathLike, options?: BufferEncoding | { - encoding: BufferEncoding; - withFileTypes?: false; - }) => Promise; - statPromisify: (path: fs.PathLike, options?: fs.StatOptions & { - bigint?: false; - }) => Promise; - unlinkPromisify: (path: fs.PathLike) => Promise; - rmdirPromisify: (path: fs.PathLike) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - exists(filepath: fs.PathLike): boolean; - existsAsync(filepath: fs.PathLike): Promise; - copyFile(filepath: fs.PathLike, target: fs.PathLike): void; - copyAsync(filepath: fs.PathLike, target: fs.PathLike): Promise; - createDir(filepath: string): void; - createDirAsync(filepath: string): Promise; - copyDir(filepath: string, target: string, fileExtensions?: string | string[]): void; - copyDirAsync(filepath: string, target: string, fileExtensions: string | string[]): Promise; - readFile(filepath: string): any; - readFileAsync(filepath: string): Promise; - writeFile(filepath: any, data?: string, append?: boolean, atomic?: boolean): void; - writeFileAsync(filepath: any, data?: string, append?: boolean, atomic?: boolean): Promise; - getFiles(filepath: string): string[]; - getFilesAsync(filepath: string): Promise; - getDirs(filepath: string): string[]; - getDirsAsync(filepath: string): Promise; - removeFile(filepath: string): void; - removeFileAsync(filepath: string): Promise; - removeDir(filepath: string): void; - removeDirAsync(filepath: string): Promise; - private lockFileSync; - private checkFileSync; - private unlockFileSync; - getFileExtension(filepath: string): string; - stripExtension(filepath: string): string; - minifyAllJsonInDirRecursive(filepath: string): Promise; - minifyAllJsonInDirRecursiveAsync(filepath: string): Promise; - getFilesOfType(directory: string, fileType: string, files?: string[]): string[]; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/Watermark.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/Watermark.d.ts deleted file mode 100644 index c6dc120..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/Watermark.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WatermarkLocale { - protected locales: { - "en-US": { - description: string[]; - warning: string[]; - modding: string[]; - }; - "zh-CN": { - description: string[]; - warning: string[]; - modding: string[]; - }; - }; - getLocale(): string; - getDescription(): string[]; - getWarning(): string[]; - getModding(): string[]; -} -export declare class Watermark { - protected logger: ILogger; - protected configServer: ConfigServer; - protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, configServer: ConfigServer, watermarkLocale?: WatermarkLocale); - protected text: string[]; - protected versionLabel: string; - initialize(): void; - /** - * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) - * @param withEftVersion Include the eft version this spt version was made for - * @returns string - */ - getVersionTag(withEftVersion?: boolean): string; - getVersionLabel(): string; - /** Set window title */ - setTitle(): void; - /** Reset console cursor to top */ - resetCursor(): void; - /** Draw the watermark */ - draw(): void; - /** Caculate text length */ - protected textLength(s: string): number; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/collections/lists/LinkedList.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/collections/lists/LinkedList.d.ts deleted file mode 100644 index aca0659..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/collections/lists/LinkedList.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -export declare class LinkedList { - private head; - private tail; - add(t: T): void; - addRange(list: T[]): void; - getHead(): LinkedListNode; - getTail(): LinkedListNode; - isEmpty(): boolean; - getSize(): number; - removeFirst(): LinkedListNode; - removeLast(): LinkedListNode; - indexOf(func: (t: T) => boolean): number; - contains(func: (t: T) => boolean): boolean; - forEachNode(func: (t: LinkedListNode) => void): void; - forEachValue(func: (t: T) => void): void; - findFirstNode(func: (t: LinkedListNode) => boolean): LinkedListNode; - findFirstValue(func: (t: T) => boolean): T; - toList(): T[]; -} -export declare class LinkedListNode { - private previous; - private value; - private next; - constructor(value: T, previous?: LinkedListNode, next?: LinkedListNode); - getValue(): T; - getNextNode(): LinkedListNode; - setNextNode(node: LinkedListNode): void; - getPreviousNode(): LinkedListNode; - setPreviousNode(node: LinkedListNode): void; -} diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/decorators/Singleton.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/decorators/Singleton.d.ts deleted file mode 100644 index 7e89026..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/decorators/Singleton.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type constructor from "./constructor"; -import { InjectionToken } from "tsyringe"; -declare function singleton(token?: InjectionToken): (target: constructor) => void; -export default singleton; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/decorators/constructor.d.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/decorators/constructor.d.ts deleted file mode 100644 index 416f354..0000000 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/types/utils/decorators/constructor.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare type constructor = { - new (...args: any[]): T; -}; -export default constructor; diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/bepInEx/plugins/CWX-MasterKey.dll b/Live/CWX_MasterKey/CWX_MasterKey 1.3.4/bepInEx/plugins/CWX-MasterKey.dll similarity index 93% rename from Live/CWX_MasterKey/CWX_MasterKey 1.3.2/bepInEx/plugins/CWX-MasterKey.dll rename to Live/CWX_MasterKey/CWX_MasterKey 1.3.4/bepInEx/plugins/CWX-MasterKey.dll index 10d6a53..6f271fa 100644 Binary files a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/bepInEx/plugins/CWX-MasterKey.dll and b/Live/CWX_MasterKey/CWX_MasterKey 1.3.4/bepInEx/plugins/CWX-MasterKey.dll differ diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/LICENSE.txt b/Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/LICENSE.txt similarity index 100% rename from Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/LICENSE.txt rename to Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/LICENSE.txt diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/package.json b/Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/package.json similarity index 95% rename from Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/package.json rename to Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/package.json index 7669d0e..af9e2c7 100644 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/package.json +++ b/Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/package.json @@ -1,10 +1,10 @@ { "name": "MasterKey", "author": "CWX", - "version": "1.3.2", + "version": "1.3.4", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/src/mod.ts b/Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/src/mod.ts similarity index 83% rename from Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/src/mod.ts rename to Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/src/mod.ts index 4ab8fbd..04faadb 100644 --- a/Live/CWX_MasterKey/CWX_MasterKey 1.3.2/user/mods/CWX-MasterKeys 1.3.2/src/mod.ts +++ b/Live/CWX_MasterKey/CWX_MasterKey 1.3.4/user/mods/CWX-MasterKeys 1.3.4/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_MasterKey implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_MasterKey/server/dist/package.json b/Live/CWX_MasterKey/server/dist/package.json index 7669d0e..af9e2c7 100644 --- a/Live/CWX_MasterKey/server/dist/package.json +++ b/Live/CWX_MasterKey/server/dist/package.json @@ -1,10 +1,10 @@ { "name": "MasterKey", "author": "CWX", - "version": "1.3.2", + "version": "1.3.4", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_MasterKey/server/dist/src/mod.ts b/Live/CWX_MasterKey/server/dist/src/mod.ts index 4ab8fbd..04faadb 100644 --- a/Live/CWX_MasterKey/server/dist/src/mod.ts +++ b/Live/CWX_MasterKey/server/dist/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_MasterKey implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_MasterKey/server/dist/types/Utils.d.ts b/Live/CWX_MasterKey/server/dist/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_MasterKey/server/dist/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_MasterKey/server/dist/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_MasterKey/server/dist/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_MasterKey/server/dist/types/loaders/DelayedModLoader.d.ts b/Live/CWX_MasterKey/server/dist/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 7d0009f..0000000 --- a/Live/CWX_MasterKey/server/dist/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - private bundleLoader; - private handbookController; - private vfs; - private modCompilerService; - private initialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getImportedModsNames(): string[]; - getModPath(mod: string): string; - load(): void; - private executeMods; - private addBundles; -} diff --git a/Live/CWX_MasterKey/server/dist/types/loaders/InitialModLoader.d.ts b/Live/CWX_MasterKey/server/dist/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 5957d35..0000000 --- a/Live/CWX_MasterKey/server/dist/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - private logger; - private vfs; - private jsonUtil; - private modCompilerService; - private bundleLoader; - private configServer; - private static container; - private readonly basepath; - private imported; - private onLoad; - private akiConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getImportedModsNames(): string[]; - getModPath(mod: string): string; - private importClass; - private importMods; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - private getBrokenMods; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - private getModsPackageData; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - private isModSpt300Compatible; - private isModCombatibleWithAki; - private executeMods; - private sortModsLoadOrder; - private addMod; - private areModDependenciesFulfilled; - private isModCompatible; - private validMod; - private getLoadOrderRecursive; - private getLoadOrder; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_MasterKey/server/dist/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_MasterKey/server/dist/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_MasterKey/server/dist/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_MasterKey/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_MasterKey/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_MasterKey/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_MasterKey/server/dist/types/models/external/mod.d.ts b/Live/CWX_MasterKey/server/dist/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_MasterKey/server/dist/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_MasterKey/server/dist/types/models/spt/helpers/Traders.d.ts b/Live/CWX_MasterKey/server/dist/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_MasterKey/server/dist/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_MasterKey/server/package.json b/Live/CWX_MasterKey/server/package.json index 7669d0e..af9e2c7 100644 --- a/Live/CWX_MasterKey/server/package.json +++ b/Live/CWX_MasterKey/server/package.json @@ -1,10 +1,10 @@ { "name": "MasterKey", "author": "CWX", - "version": "1.3.2", + "version": "1.3.4", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_MasterKey/server/src/mod.ts b/Live/CWX_MasterKey/server/src/mod.ts index 4ab8fbd..04faadb 100644 --- a/Live/CWX_MasterKey/server/src/mod.ts +++ b/Live/CWX_MasterKey/server/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_MasterKey implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_VoiceAdder/program.cs b/Live/CWX_VoiceAdder/program.cs index 5de0d30..b243078 100644 --- a/Live/CWX_VoiceAdder/program.cs +++ b/Live/CWX_VoiceAdder/program.cs @@ -7,7 +7,6 @@ namespace VoiceAdd { private void Start() { - Logger.LogInfo("Loading: CWX-VoiceAdder - V2.0.0"); new VoicePatch().Enable(); } } diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/Program.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/Program.d.ts deleted file mode 100644 index d4b71b9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/Program.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class Program { - constructor(); - start(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/TYPES.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/TYPES.d.ts deleted file mode 100644 index 6407c3a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/TYPES.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const TYPES: { - [name: string]: symbol; -}; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/Utils.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/BotCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/BotCallbacks.d.ts deleted file mode 100644 index 2db60dc..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/BotCallbacks.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { BotController } from "../controllers/BotController"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BotCallbacks { - protected botController: BotController; - protected httpResponse: HttpResponseUtil; - constructor(botController: BotController, httpResponse: HttpResponseUtil); - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/BundleCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/BundleCallbacks.d.ts deleted file mode 100644 index b28abe1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/BundleCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { BundleLoader } from "../loaders/BundleLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class BundleCallbacks { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, bundleLoader: BundleLoader, configServer: ConfigServer); - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/CustomizationCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/CustomizationCallbacks.d.ts deleted file mode 100644 index 3bab8c0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/CustomizationCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { CustomizationController } from "../controllers/CustomizationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class CustomizationCallbacks { - protected customizationController: CustomizationController; - protected saveServer: SaveServer; - protected httpResponse: HttpResponseUtil; - constructor(customizationController: CustomizationController, saveServer: SaveServer, httpResponse: HttpResponseUtil); - getSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<{ - _id: string; - suites: string[]; - }>; - getTraderSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/DataCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/DataCallbacks.d.ts deleted file mode 100644 index cfb1c16..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/DataCallbacks.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGlobals } from "../models/eft/common/IGlobals"; -import { ICustomizationItem } from "../models/eft/common/tables/ICustomizationItem"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IHideoutArea } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../models/eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../models/spt/server/ILocaleBase"; -import { ISettingsBase } from "../models/spt/server/ISettingsBase"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DataCallbacks { - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, databaseServer: DatabaseServer); - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/DialogueCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/DialogueCallbacks.d.ts deleted file mode 100644 index 634f90b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/DialogueCallbacks.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { DialogueController } from "../controllers/DialogueController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../models/eft/dialog/IFriendRequestData"; -import { IGetAllAttachmentsRequestData } from "../models/eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetChatServerListRequestData } from "../models/eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogInfoRequestData } from "../models/eft/dialog/IGetMailDialogInfoRequestData"; -import { IGetMailDialogListRequestData } from "../models/eft/dialog/IGetMailDialogListRequestData"; -import { IGetMailDialogViewRequestData } from "../models/eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IPinDialogRequestData } from "../models/eft/dialog/IPinDialogRequestData"; -import { IRemoveDialogRequestData } from "../models/eft/dialog/IRemoveDialogRequestData"; -import { ISendMessageRequest } from "../models/eft/dialog/ISendMessageRequest"; -import { ISetDialogReadRequestData } from "../models/eft/dialog/ISetDialogReadRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { DialogueInfo } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class DialogueCallbacks extends OnUpdate { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected dialogueController: DialogueController; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, dialogueController: DialogueController); - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/GameCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/GameCallbacks.d.ts deleted file mode 100644 index 06da1b5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/GameCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { GameController } from "../controllers/GameController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IGameEmptyCrcRequestData } from "../models/eft/game/IGameEmptyCrcRequestData"; -import { IReportNicknameRequestData } from "../models/eft/game/IReportNicknameRequestData"; -import { IVersionValidateRequestData } from "../models/eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class GameCallbacks { - protected httpResponse: HttpResponseUtil; - protected watermark: Watermark; - protected gameController: GameController; - constructor(httpResponse: HttpResponseUtil, watermark: Watermark, gameController: GameController); - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; - reportNickname(url: string, info: IReportNicknameRequestData, sessionID: string): INullResponseData; -} -export { GameCallbacks }; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HandbookCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HandbookCallbacks.d.ts deleted file mode 100644 index 891e375..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HandbookCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookController } from "../controllers/HandbookController"; -import { OnLoad } from "../di/OnLoad"; -export declare class HandbookCallbacks extends OnLoad { - protected handbookController: HandbookController; - constructor(handbookController: HandbookController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HealthCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HealthCallbacks.d.ts deleted file mode 100644 index 8672be7..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HealthCallbacks.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { HealthController } from "../controllers/HealthController"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class HealthCallbacks { - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected healthController: HealthController; - constructor(httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, healthController: HealthController); - /** - * Custom aki server request found in modules/HealthSynchronizer.cs - * @param url - * @param info HealthListener.Instance.CurrentHealth class - * @param sessionID session id - * @returns empty response, no data sent back to client - */ - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): IGetBodyResponseData; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HideoutCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HideoutCallbacks.d.ts deleted file mode 100644 index 99ab4c9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HideoutCallbacks.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { HideoutController } from "../controllers/HideoutController"; -import { OnUpdate } from "../di/OnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../models/eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HideoutCallbacks extends OnUpdate { - protected hideoutController: HideoutController; - protected configServer: ConfigServer; - protected hideoutConfig: IHideoutConfig; - constructor(hideoutController: HideoutController, // TODO: delay needed - configServer: ConfigServer); - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HttpCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HttpCallbacks.d.ts deleted file mode 100644 index 94c97bd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/HttpCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class HttpCallbacks extends OnLoad { - protected httpServer: IHttpServer; - constructor(httpServer: IHttpServer); - onLoad(): void; - getRoute(): string; - getImage(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InraidCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InraidCallbacks.d.ts deleted file mode 100644 index 05bcce4..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InraidCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { InraidController } from "../controllers/InraidController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IAirdropConfig } from "../models/spt/config/IAirdropConfig"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InraidCallbacks { - protected inraidController: InraidController; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected airdropConfig: IAirdropConfig; - protected inraidConfig: IInRaidConfig; - constructor(inraidController: InraidController, httpResponse: HttpResponseUtil, configServer: ConfigServer); - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InsuranceCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InsuranceCallbacks.d.ts deleted file mode 100644 index 6819960..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InsuranceCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { InsuranceController } from "../controllers/InsuranceController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class InsuranceCallbacks extends OnLoadOnUpdate { - protected insuranceController: InsuranceController; - protected insuranceService: InsuranceService; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(insuranceController: InsuranceController, insuranceService: InsuranceService, httpResponse: HttpResponseUtil, configServer: ConfigServer); - onLoad(): void; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): IGetBodyResponseData; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(secondsSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InventoryCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InventoryCallbacks.d.ts deleted file mode 100644 index 9ab1486..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/InventoryCallbacks.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { InventoryController } from "../controllers/InventoryController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class InventoryCallbacks { - protected inventoryController: InventoryController; - constructor(inventoryController: InventoryController); - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ItemEventCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ItemEventCallbacks.d.ts deleted file mode 100644 index f4f04f9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ItemEventCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class ItemEventCallbacks { - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - constructor(httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter); - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/LauncherCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/LauncherCallbacks.d.ts deleted file mode 100644 index c022325..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/LauncherCallbacks.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { LauncherController } from "../controllers/LauncherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../models/eft/launcher/IRemoveProfileData"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { Watermark } from "../utils/Watermark"; -declare class LauncherCallbacks { - protected httpResponse: HttpResponseUtil; - protected launcherController: LauncherController; - protected saveServer: SaveServer; - protected watermark: Watermark; - constructor(httpResponse: HttpResponseUtil, launcherController: LauncherController, saveServer: SaveServer, watermark: Watermark); - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getServerVersion(): string; - ping(url: string, info: IEmptyRequestData, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} -export { LauncherCallbacks }; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/LocationCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/LocationCallbacks.d.ts deleted file mode 100644 index cc69369..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/LocationCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LocationController } from "../controllers/LocationController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IGetLocationRequestData } from "../models/eft/location/IGetLocationRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class LocationCallbacks { - protected httpResponse: HttpResponseUtil; - protected locationController: LocationController; - constructor(httpResponse: HttpResponseUtil, locationController: LocationController); - getLocationData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/MatchCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/MatchCallbacks.d.ts deleted file mode 100644 index 2a92ef5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/MatchCallbacks.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MatchController } from "../controllers/MatchController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IPutMetricsRequestData } from "../models/eft/match/IPutMetricsRequestData"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IUpdatePingRequestData } from "../models/eft/match/IUpdatePingRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class MatchCallbacks { - protected httpResponse: HttpResponseUtil; - protected jsonUtil: JsonUtil; - protected matchController: MatchController; - protected databaseServer: DatabaseServer; - constructor(httpResponse: HttpResponseUtil, jsonUtil: JsonUtil, matchController: MatchController, databaseServer: DatabaseServer); - updatePing(url: string, info: IUpdatePingRequestData, sessionID: string): INullResponseData; - exitMatch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - exitToMenu(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: IEmptyRequestData, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: IPutMetricsRequestData, sessionID: string): INullResponseData; - getProfile(url: string, info: IGetProfileRequestData, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: IJoinMatchRequestData, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: IGetGroupStatusRequestData, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: ICreateGroupRequestData, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ModCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ModCallbacks.d.ts deleted file mode 100644 index 58342dc..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ModCallbacks.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { PostAkiModLoader } from "../loaders/PostAkiModLoader"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -declare class ModCallbacks extends OnLoad { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected httpServer: IHttpServer; - protected postAkiModLoader: PostAkiModLoader; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, httpServer: IHttpServer, postAkiModLoader: PostAkiModLoader, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} -export { ModCallbacks }; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/NoteCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/NoteCallbacks.d.ts deleted file mode 100644 index d39d400..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/NoteCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NoteController } from "../controllers/NoteController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { INoteActionData } from "../models/eft/notes/INoteActionData"; -export declare class NoteCallbacks { - protected noteController: NoteController; - constructor(noteController: NoteController); - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/NotifierCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/NotifierCallbacks.d.ts deleted file mode 100644 index c42058f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/NotifierCallbacks.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { NotifierController } from "../controllers/NotifierController"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../models/eft/notifier/ISelectProfileRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class NotifierCallbacks { - protected httpServerHelper: HttpServerHelper; - protected httpResponse: HttpResponseUtil; - protected notifierController: NotifierController; - constructor(httpServerHelper: HttpServerHelper, httpResponse: HttpResponseUtil, notifierController: NotifierController); - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/PresetBuildCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/PresetBuildCallbacks.d.ts deleted file mode 100644 index 541715a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/PresetBuildCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { PresetBuildController } from "../controllers/PresetBuildController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PresetBuildCallbacks { - protected httpResponse: HttpResponseUtil; - protected presetBuildController: PresetBuildController; - constructor(httpResponse: HttpResponseUtil, presetBuildController: PresetBuildController); - getHandbookUserlist(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/PresetCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/PresetCallbacks.d.ts deleted file mode 100644 index 4553f8f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/PresetCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetController } from "../controllers/PresetController"; -import { OnLoad } from "../di/OnLoad"; -export declare class PresetCallbacks extends OnLoad { - protected presetController: PresetController; - constructor(presetController: PresetController); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ProfileCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ProfileCallbacks.d.ts deleted file mode 100644 index 6a86fc0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/ProfileCallbacks.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ProfileController } from "../controllers/ProfileController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; -import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileCallbacks { - protected httpResponse: HttpResponseUtil; - protected timeUtil: TimeUtil; - protected profileController: ProfileController; - constructor(httpResponse: HttpResponseUtil, timeUtil: TimeUtil, profileController: ProfileController); - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - /** - * Called when creating a character, when you choose a character face/voice - * @param url - * @param info response (empty) - * @param sessionID - * @returns - */ - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/QuestCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/QuestCallbacks.d.ts deleted file mode 100644 index 559c29e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/QuestCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { QuestController } from "../controllers/QuestController"; -import { RepeatableQuestController } from "../controllers/RepeatableQuestController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest } from "../models/eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IListQuestsRequestData } from "../models/eft/quests/IListQuestsRequestData"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class QuestCallbacks { - protected httpResponse: HttpResponseUtil; - protected questController: QuestController; - protected repeatableQuestController: RepeatableQuestController; - constructor(httpResponse: HttpResponseUtil, questController: QuestController, repeatableQuestController: RepeatableQuestController); - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/RagfairCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/RagfairCallbacks.d.ts deleted file mode 100644 index 3a405c9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/RagfairCallbacks.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { RagfairController } from "../controllers/RagfairController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAddOfferRequestData } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRemoveOfferRequestData } from "../models/eft/ragfair/IRemoveOfferRequestData"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { ISendRagfairReportRequestData } from "../models/eft/ragfair/ISendRagfairReportRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected ragfairServer: RagfairServer; - protected ragfairController: RagfairController; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(httpResponse: HttpResponseUtil, logger: ILogger, jsonUtil: JsonUtil, ragfairServer: RagfairServer, ragfairController: RagfairController, configServer: ConfigServer); - onLoad(): void; - getRoute(): string; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - onUpdate(timeSinceLastRun: number): boolean; - sendReport(url: string, info: ISendRagfairReportRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/RepairCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/RepairCallbacks.d.ts deleted file mode 100644 index 63733fa..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/RepairCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { RepairController } from "../controllers/RepairController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -export declare class RepairCallbacks { - protected repairController: RepairController; - constructor(repairController: RepairController); - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/SaveCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/SaveCallbacks.d.ts deleted file mode 100644 index bbb6e53..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/SaveCallbacks.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { SaveServer } from "../servers/SaveServer"; -export declare class SaveCallbacks extends OnLoadOnUpdate { - protected saveServer: SaveServer; - constructor(saveServer: SaveServer); - onLoad(): void; - getRoute(): string; - onUpdate(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/TradeCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/TradeCallbacks.d.ts deleted file mode 100644 index 272ae46..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/TradeCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { TradeController } from "../controllers/TradeController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -export declare class TradeCallbacks { - protected tradeController: TradeController; - constructor(tradeController: TradeController); - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/TraderCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/TraderCallbacks.d.ts deleted file mode 100644 index 128d9b2..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/TraderCallbacks.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { TraderController } from "../controllers/TraderController"; -import { OnLoadOnUpdate } from "../di/OnLoadOnUpdate"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class TraderCallbacks extends OnLoadOnUpdate { - protected httpResponse: HttpResponseUtil; - protected traderController: TraderController; - constructor(httpResponse: HttpResponseUtil, traderController: TraderController); - onLoad(): void; - getRoute(): string; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - onUpdate(): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/WeatherCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/WeatherCallbacks.d.ts deleted file mode 100644 index ae784c8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/WeatherCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WeatherController } from "../controllers/WeatherController"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class WeatherCallbacks { - protected httpResponse: HttpResponseUtil; - protected weatherController: WeatherController; - constructor(httpResponse: HttpResponseUtil, weatherController: WeatherController); - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/WishlistCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/WishlistCallbacks.d.ts deleted file mode 100644 index c2cc2a8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/callbacks/WishlistCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { WishlistController } from "../controllers/WishlistController"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -export declare class WishlistCallbacks { - protected wishlistController: WishlistController; - constructor(wishlistController: WishlistController); - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ApplicationContext.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ApplicationContext.d.ts deleted file mode 100644 index a155bcd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ApplicationContext.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ContextVariable } from "./ContextVariable"; -import { ContextVariableType } from "./ContextVariableType"; -export declare class ApplicationContext { - private variables; - private static holderMaxSize; - getLatestValue(type: ContextVariableType): ContextVariable; - getValues(type: ContextVariableType): ContextVariable[]; - addValue(type: ContextVariableType, value: any): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ContextVariable.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ContextVariable.d.ts deleted file mode 100644 index e438947..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ContextVariable.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ContextVariableType } from "./ContextVariableType"; -export declare class ContextVariable { - private value; - private timestamp; - private type; - constructor(value: any, type: ContextVariableType); - getValue(): any; - getTimestamp(): Date; - getType(): ContextVariableType; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ContextVariableType.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ContextVariableType.d.ts deleted file mode 100644 index 5fc1704..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/context/ContextVariableType.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare enum ContextVariableType { - SESSION_ID = 0, - MATCH_INFO = 1 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/BotController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/BotController.d.ts deleted file mode 100644 index 5e6f05d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/BotController.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { BotHelper } from "../helpers/BotHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../models/eft/common/tables/IBotBase"; -import { IBotCore } from "../models/eft/common/tables/IBotCore"; -import { Difficulty } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class BotController { - protected databaseServer: DatabaseServer; - protected botGenerator: BotGenerator; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(databaseServer: DatabaseServer, botGenerator: BotGenerator, botHelper: BotHelper, configServer: ConfigServer); - /** - * Return the number of bot loadout varieties to be generated - * @param type bot Type we want the loadout gen count for - * @returns - */ - getBotPresetGenerationLimit(type: string): number; - getBotCoreDifficulty(): IBotCore; - /** - * Get bot difficulty settings - * adjust PMC settings to ensure they engage the correct bot types - * @param type what bot the server is requesting settings for - * @param difficulty difficulty level server requested settings for - * @returns Difficulty object - */ - getBotDifficulty(type: string, difficulty: string): Difficulty; - protected getPmcDifficultySettings(pmcType: "bear" | "usec", difficulty: string): Difficulty; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/CustomizationController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/CustomizationController.d.ts deleted file mode 100644 index a6c4730..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/CustomizationController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISuit } from "../models/eft/common/tables/ITrader"; -import { IBuyClothingRequestData } from "../models/eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../models/eft/customization/IWearClothingRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -export declare class CustomizationController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper); - getTraderSuits(traderID: string, sessionID: string): ISuit[]; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; - protected getAllTraderSuits(sessionID: string): ISuit[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/DialogueController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/DialogueController.d.ts deleted file mode 100644 index b15c4b6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/DialogueController.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse"; -import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse"; -import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { DialogueInfo, Message } from "../models/eft/profile/IAkiProfile"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class DialogueController { - protected httpResponse: HttpResponseUtil; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - constructor(httpResponse: HttpResponseUtil, saveServer: SaveServer, dialogueHelper: DialogueHelper); - getFriendList(sessionID: string): IGetFriendListDataResponse; - generateDialogueList(sessionID: string): IGetBodyResponseData; - getDialogueInfo(dialogueID: string, sessionID: string): DialogueInfo; - generateDialogueView(dialogueID: string, sessionID: string): IGetMailDialogViewResponseData; - removeDialogue(dialogueID: string, sessionID: string): void; - setDialoguePin(dialogueID: string, shouldPin: boolean, sessionID: string): void; - setRead(dialogueIDs: string[], sessionID: string): void; - getAllAttachments(dialogueID: string, sessionID: string): IGetAllAttachmentsResponse; - protected messagesHaveUncollectedRewards(messages: Message[]): boolean; - protected removeExpiredItems(sessionID: string): void; - update(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/GameController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/GameController.d.ts deleted file mode 100644 index 85ec418..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/GameController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { IGameConfigResponse } from "../models/eft/game/IGameConfigResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { LocaleService } from "../services/LocaleService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { Watermark } from "../utils/Watermark"; -export declare class GameController { - protected logger: ILogger; - protected watermark: Watermark; - protected httpServerHelper: HttpServerHelper; - protected localeService: LocaleService; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected coreConfig: ICoreConfig; - constructor(logger: ILogger, watermark: Watermark, httpServerHelper: HttpServerHelper, localeService: LocaleService, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, configServer: ConfigServer); - gameStart(_url: string, _info: IEmptyRequestData, sessionID: string): void; - protected logProfileDetails(fullProfile: IAkiProfile): void; - getGameConfig(sessionID: string): IGameConfigResponse; - getServer(): any[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HandbookController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HandbookController.d.ts deleted file mode 100644 index 52d2dd8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HandbookController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class HandbookController { - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - constructor(databaseServer: DatabaseServer, handbookHelper: HandbookHelper); - load(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HealthController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HealthController.d.ts deleted file mode 100644 index cc13603..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HealthController.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentService } from "../services/PaymentService"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IHealthTreatmentRequestData } from "../models/eft/health/IHealthTreatmentRequestData"; -import { IOffraidEatRequestData } from "../models/eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../models/eft/health/IOffraidHealRequestData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class HealthController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected inventoryHelper: InventoryHelper; - protected healthHelper: HealthHelper; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, paymentService: PaymentService, inventoryHelper: InventoryHelper, healthHelper: HealthHelper); - /** - * stores in-raid player health - * @param pmcData Player profile - * @param info Request data - * @param sessionID - * @param addEffects Should effects found be added or removed from profile - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - /** - * When healing in menu - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): IItemEventRouterResponse; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Occurs on post-raid healing page - * @param pmcData player profile - * @param info Request data from client - * @param sessionID Session id - * @returns - */ - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HideoutController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HideoutController.d.ts deleted file mode 100644 index 3eefe1a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/HideoutController.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { ScavCaseRewardGenerator } from "../generators/ScavCaseRewardGenerator"; -import { HideoutHelper } from "../helpers/HideoutHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutArea, Product } from "../models/eft/common/tables/IBotBase"; -import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutProduction } from "../models/eft/hideout/IHideoutProduction"; -import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HideoutController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected inventoryHelper: InventoryHelper; - protected saveServer: SaveServer; - protected playerService: PlayerService; - protected presetHelper: PresetHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - 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; - upgradeComplete(pmcData: IPmcData, body: HideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Create item in hideout slot item array, remove item from player inventory - * @param pmcData Profile data - * @param addItemToHideoutRequest reqeust from client to place item in area slot - * @param sessionID Session id - * @returns IItemEventRouterResponse object - */ - putItemsInAreaSlots(pmcData: IPmcData, addItemToHideoutRequest: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Find resource item in hideout area, add copy to player inventory, remove Item from hideout slot - * @param sessionID Session id - * @param pmcData Profile to update - * @param removeResourceRequest client request - * @param output response to send to client - * @param hideoutArea Area fuel is being removed from - * @returns IItemEventRouterResponse response - */ - protected removeResourceFromArea(sessionID: string, pmcData: IPmcData, removeResourceRequest: IHideoutTakeItemOutRequestData, output: IItemEventRouterResponse, hideoutArea: HideoutArea): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles event after clicking 'start' on the scav case hideout page - * @param pmcData player profile - * @param body client request object - * @param sessionID session id - * @returns item event router response - */ - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Add generated scav case rewards to player profile - * @param pmcData player profile to add rewards to - * @param rewards reward items to add to profile - */ - protected addScavCaseRewardsToProfile(pmcData: IPmcData, rewards: Product[]): void; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - protected handleRecipie(sessionID: string, recipe: IHideoutProduction, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Handles giving rewards stored in player profile to player after clicking 'get rewards' - * @param sessionID - * @param pmcData - * @param body - * @param output - * @returns - */ - protected handleScavCase(sessionID: string, pmcData: IPmcData, body: IHideoutTakeProductionRequestData, output: IItemEventRouterResponse): IItemEventRouterResponse; - registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - update(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InraidController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InraidController.d.ts deleted file mode 100644 index b899e7d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InraidController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { HealthHelper } from "../helpers/HealthHelper"; -import { InRaidHelper } from "../helpers/InRaidHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InraidController { - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected playerScavGenerator: PlayerScavGenerator; - protected healthHelper: HealthHelper; - protected traderHelper: TraderHelper; - protected insuranceService: InsuranceService; - protected inRaidHelper: InRaidHelper; - protected configServer: ConfigServer; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, jsonUtil: JsonUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, questHelper: QuestHelper, itemHelper: ItemHelper, profileHelper: ProfileHelper, playerScavGenerator: PlayerScavGenerator, healthHelper: HealthHelper, traderHelper: TraderHelper, insuranceService: InsuranceService, inRaidHelper: InRaidHelper, configServer: ConfigServer); - addPlayer(sessionID: string, info: IRegisterPlayerRequestData): void; - saveProgress(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Mark inventory items as FiR if player survived raid, otherwise remove FiR from them - * @param offraidData Save Progress Request - * @param pmcData player profile - * @param isPlayerScav Was the player a pScav - */ - private markOrRemoveFoundInRaidItems; - private handlePostRaidPlayerScavProcess; - private handlePostRaidPlayerScavKarmaChanges; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InsuranceController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InsuranceController.d.ts deleted file mode 100644 index 6895383..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InsuranceController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData"; -import { IGetInsuranceCostResponseData } from "../models/eft/insurance/IGetInsuranceCostResponseData"; -import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { InsuranceService } from "../services/InsuranceService"; -import { PaymentService } from "../services/PaymentService"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceController { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected itemEventRouter: ItemEventRouter; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileHelper: ProfileHelper; - protected dialogueHelper: DialogueHelper; - protected paymentService: PaymentService; - protected insuranceService: InsuranceService; - protected configServer: ConfigServer; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, itemEventRouter: ItemEventRouter, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileHelper: ProfileHelper, dialogueHelper: DialogueHelper, paymentService: PaymentService, // TODO: delay required - insuranceService: InsuranceService, configServer: ConfigServer); - processReturn(): void; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Calculate insurance cost - * @param info request object - * @param sessionID session id - * @returns response object to send to client - */ - cost(info: IGetInsuranceCostRequestData, sessionID: string): IGetInsuranceCostResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InventoryController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InventoryController.d.ts deleted file mode 100644 index f57f731..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/InventoryController.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryBindRequestData } from "../models/eft/inventory/IInventoryBindRequestData"; -import { IInventoryCreateMarkerRequestData } from "../models/eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../models/eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../models/eft/inventory/IInventoryEditMarkerRequestData"; -import { IInventoryExamineRequestData } from "../models/eft/inventory/IInventoryExamineRequestData"; -import { IInventoryFoldRequestData } from "../models/eft/inventory/IInventoryFoldRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../models/eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventoryRemoveRequestData } from "../models/eft/inventory/IInventoryRemoveRequestData"; -import { IInventorySortRequestData } from "../models/eft/inventory/IInventorySortRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IInventorySwapRequestData } from "../models/eft/inventory/IInventorySwapRequestData"; -import { IInventoryTagRequestData } from "../models/eft/inventory/IInventoryTagRequestData"; -import { IInventoryToggleRequestData } from "../models/eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTransferRequestData } from "../models/eft/inventory/IInventoryTransferRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class InventoryController { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected fenceService: FenceService; - protected presetHelper: PresetHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairOfferService: RagfairOfferService; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemEventRouter: ItemEventRouter; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, fenceService: FenceService, presetHelper: PresetHelper, inventoryHelper: InventoryHelper, ragfairOfferService: RagfairOfferService, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter); - /** - * Move Item - * change location of item with parentId and slotId - * transfers items from one profile to another if fromOwner/toOwner is set in the body. - * otherwise, move is contained within the same profile_f. - */ - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove Item from Profile - * Deep tree item deletion, also removes items from insurance list - */ - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Implements functionality "Discard" from Main menu (Stash etc.) - * Removes item from PMC Profile - */ - discardItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Split Item - * spliting 1 item-stack into 2 separate items ... - */ - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Merge Item - * merges 2 items into one, deletes item from `body.item` and adding number of stacks into `body.with` - */ - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Transfer item - * Used to take items from scav inventory into stash or to insert ammo into mags (shotgun ones) and reloading weapon by clicking "Reload" - */ - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Swap Item - * its used for "reload" if you have weapon in hands and magazine is somewhere else in rig or backpack in equipment - */ - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Give Item - * its used for "add" item like gifts etc. - */ - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - /** - * Handles folding of Weapons - */ - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Toggles "Toggleable" items like night vision goggles and face shields. - */ - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles Tagging of items (primary Containers). - */ - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles examining an item - * @param pmcData player profile - * @param body request object - * @param sessionID session id - * @returns response - */ - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Get the tplid of an item from the examine request object - * @param body response request - * @returns tplid - */ - protected getExaminedItemTpl(body: IInventoryExamineRequestData): string; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Handles sorting of Inventory. - */ - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/LauncherController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/LauncherController.d.ts deleted file mode 100644 index 1af1f56..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/LauncherController.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData"; -import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData"; -import { IRegisterData } from "../models/eft/launcher/IRegisterData"; -import { Info } from "../models/eft/profile/IAkiProfile"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class LauncherController { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected httpServerHelper: HttpServerHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected coreConfig: ICoreConfig; - constructor(hashUtil: HashUtil, saveServer: SaveServer, httpServerHelper: HttpServerHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - connect(): any; - find(sessionIdKey: string): Info; - login(info: ILoginRequestData): string; - register(info: IRegisterData): string; - protected createAccount(info: IRegisterData): string; - changeUsername(info: IChangeRequestData): string; - changePassword(info: IChangeRequestData): string; - wipe(info: IRegisterData): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/LocationController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/LocationController.d.ts deleted file mode 100644 index 90b6d7a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/LocationController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { LocationGenerator } from "../generators/LocationGenerator"; -import { ILocationBase } from "../models/eft/common/ILocationBase"; -import { ILocationsGenerateAllResponse } from "../models/eft/common/ILocationsSourceDestinationBase"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class LocationController { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected locationGenerator: LocationGenerator; - protected databaseServer: DatabaseServer; - protected timeUtil: TimeUtil; - constructor(jsonUtil: JsonUtil, logger: ILogger, locationGenerator: LocationGenerator, databaseServer: DatabaseServer, timeUtil: TimeUtil); - get(location: string): ILocationBase; - generate(name: string): ILocationBase; - generateAll(): ILocationsGenerateAllResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/MatchController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/MatchController.d.ts deleted file mode 100644 index 71cb7d3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/MatchController.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { ApplicationContext } from "../context/ApplicationContext"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { IEndOfflineRaidRequestData } from "../models/eft/match/IEndOfflineRaidRequestData"; -import { IGetGroupStatusRequestData } from "../models/eft/match/IGetGroupStatusRequestData"; -import { IGetProfileRequestData } from "../models/eft/match/IGetProfileRequestData"; -import { IJoinMatchRequestData } from "../models/eft/match/IJoinMatchRequestData"; -import { IJoinMatchResult } from "../models/eft/match/IJoinMatchResult"; -import { IStartOfflineRaidRequestData } from "../models/eft/match/IStartOffineRaidRequestData"; -import { IInRaidConfig } from "../models/spt/config/IInRaidConfig"; -import { IMatchConfig } from "../models/spt/config/IMatchConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { MatchLocationService } from "../services/MatchLocationService"; -export declare class MatchController { - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected matchLocationService: MatchLocationService; - protected traderHelper: TraderHelper; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - protected matchConfig: IMatchConfig; - protected inraidConfig: IInRaidConfig; - constructor(saveServer: SaveServer, profileHelper: ProfileHelper, matchLocationService: MatchLocationService, traderHelper: TraderHelper, botLootCacheService: BotLootCacheService, configServer: ConfigServer, applicationContext: ApplicationContext); - getEnabled(): boolean; - getProfile(info: IGetProfileRequestData): IPmcData[]; - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; - joinMatch(info: IJoinMatchRequestData, sessionID: string): IJoinMatchResult[]; - protected getMatch(location: string): any; - getGroupStatus(info: IGetGroupStatusRequestData): any; - startOfflineRaid(info: IStartOfflineRaidRequestData, sessionID: string): void; - endOfflineRaid(info: IEndOfflineRaidRequestData, sessionID: string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/NoteController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/NoteController.d.ts deleted file mode 100644 index ee70541..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/NoteController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -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"; -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; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/NotifierController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/NotifierController.d.ts deleted file mode 100644 index 31d7bfe..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/NotifierController.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { NotificationService } from "../services/NotificationService"; -import { INotifierChannel } from "../models/eft/notifier/INotifier"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -export declare class NotifierController { - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected notificationService: NotificationService; - protected pollInterval: number; - protected timeout: number; - constructor(notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, notificationService: NotificationService); - /** - * Resolve an array of session notifications. - * - * If no notifications are currently queued then intermittently check for new notifications until either - * one or more appear or when a timeout expires. - * If no notifications are available after the timeout, use a default message. - */ - notifyAsync(sessionID: string): Promise; - getServer(sessionID: string): string; - getChannel(sessionID: string): INotifierChannel; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/PresetBuildController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/PresetBuildController.d.ts deleted file mode 100644 index adf4084..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/PresetBuildController.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IPresetBuildActionRequestData } from "../models/eft/presetBuild/IPresetBuildActionRequestData"; -import { WeaponBuild } from "../models/eft/profile/IAkiProfile"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -export declare class PresetBuildController { - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - constructor(hashUtil: HashUtil, itemEventRouter: ItemEventRouter, itemHelper: ItemHelper, saveServer: SaveServer); - getUserBuilds(sessionID: string): WeaponBuild[]; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/PresetController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/PresetController.d.ts deleted file mode 100644 index ca1af1a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/PresetController.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PresetHelper } from "../helpers/PresetHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PresetController { - protected presetHelper: PresetHelper; - protected databaseServer: DatabaseServer; - constructor(presetHelper: PresetHelper, databaseServer: DatabaseServer); - initialize(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/ProfileController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/ProfileController.d.ts deleted file mode 100644 index 8c89a02..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/ProfileController.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PlayerScavGenerator } from "../generators/PlayerScavGenerator"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IMiniProfile } from "../models/eft/launcher/IMiniProfile"; -import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; -import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class ProfileController { - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected profileFixerService: ProfileFixerService; - protected playerScavGenerator: PlayerScavGenerator; - protected traderHelper: TraderHelper; - protected profileHelper: ProfileHelper; - constructor(hashUtil: HashUtil, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, profileFixerService: ProfileFixerService, playerScavGenerator: PlayerScavGenerator, traderHelper: TraderHelper, profileHelper: ProfileHelper); - getMiniProfiles(): IMiniProfile[]; - getMiniProfile(sessionID: string): any; - getCompleteProfile(sessionID: string): IPmcData[]; - createProfile(info: IProfileCreateRequestData, sessionID: string): void; - /** - * Generate a player scav object - * pmc profile MUST exist first before pscav can be generated - * @param sessionID - * @returns IPmcData object - */ - generatePlayerScav(sessionID: string): IPmcData; - validateNickname(info: IValidateNicknameRequestData, sessionID: string): string; - changeNickname(info: IProfileChangeNicknameRequestData, sessionID: string): string; - changeVoice(info: IProfileChangeVoiceRequestData, sessionID: string): void; - getFriends(info: ISearchFriendRequestData, sessionID: string): ISearchFriendResponse[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/QuestController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/QuestController.d.ts deleted file mode 100644 index 2cbccfb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/QuestController.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { QuestConditionHelper } from "../helpers/QuestConditionHelper"; -import { QuestHelper } from "../helpers/QuestHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { PlayerService } from "../services/PlayerService"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class QuestController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected questHelper: QuestHelper; - protected questConditionHelper: QuestConditionHelper; - protected playerService: PlayerService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, itemHelper: ItemHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, questHelper: QuestHelper, questConditionHelper: QuestConditionHelper, playerService: PlayerService, localeService: LocaleService, configServer: ConfigServer); - /** - * Get all quests visible to player - * Exclude quests with incomplete preconditions (level/loyalty) - * @param sessionID session id - * @returns array of IQuest - */ - getClientQuests(sessionID: string): IQuest[]; - acceptQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - acceptRepeatableQuest(pmcData: IPmcData, acceptedQuest: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Remove completed quest from profile - * Add newly unlocked quests to profile - * Also recalculate thier level due to exp rewards - * @param pmcData Player profile - * @param body completed quest request - * @param sessionID session id - * @returns ItemEvent response - */ - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - /** - * Send a popup to player on completion of a quest - * @param sessionID session id - * @param pmcData player profile - * @param completedQuestId completed quest id - * @param questRewards rewards given to player - */ - protected sendDialogMessageOnQuestComplete(sessionID: string, pmcData: IPmcData, completedQuestId: string, questRewards: Reward[]): void; - /** - * Returns a list of quests that should be failed when a quest is completed - * @param completedQuestId quest completed id - * @returns array of quests - */ - protected getQuestsFailedByCompletingQuest(completedQuestId: string): IQuest[]; - /** - * Fail the quests provided - * @param sessionID session id - * @param pmcData player profile - * @param questsToFail quests to fail - */ - protected failQuests(sessionID: string, pmcData: IPmcData, questsToFail: IQuest[]): void; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RagfairController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RagfairController.d.ts deleted file mode 100644 index c4ffc15..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RagfairController.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairHelper } from "../helpers/RagfairHelper"; -import { RagfairOfferHelper } from "../helpers/RagfairOfferHelper"; -import { RagfairSellHelper } from "../helpers/RagfairSellHelper"; -import { RagfairSortHelper } from "../helpers/RagfairSortHelper"; -import { RagfairTaxHelper } from "../helpers/RagfairTaxHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IAddOfferRequestData, Requirement } from "../models/eft/ragfair/IAddOfferRequestData"; -import { IExtendOfferRequestData } from "../models/eft/ragfair/IExtendOfferRequestData"; -import { IGetItemPriceResult } from "../models/eft/ragfair/IGetItemPriceResult"; -import { IGetMarketPriceRequestData } from "../models/eft/ragfair/IGetMarketPriceRequestData"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairServer } from "../servers/RagfairServer"; -import { SaveServer } from "../servers/SaveServer"; -import { PaymentService } from "../services/PaymentService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairController { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected httpResponse: HttpResponseUtil; - protected itemEventRouter: ItemEventRouter; - protected ragfairServer: RagfairServer; - protected ragfairPriceService: RagfairPriceService; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected saveServer: SaveServer; - protected ragfairSellHelper: RagfairSellHelper; - protected ragfairTaxHelper: RagfairTaxHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairOfferHelper: RagfairOfferHelper; - protected profileHelper: ProfileHelper; - protected paymentService: PaymentService; - protected handbookHelper: HandbookHelper; - protected paymentHelper: PaymentHelper; - protected inventoryHelper: InventoryHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter, ragfairServer: RagfairServer, ragfairPriceService: RagfairPriceService, databaseServer: DatabaseServer, itemHelper: ItemHelper, saveServer: SaveServer, ragfairSellHelper: RagfairSellHelper, ragfairTaxHelper: RagfairTaxHelper, ragfairSortHelper: RagfairSortHelper, ragfairOfferHelper: RagfairOfferHelper, profileHelper: ProfileHelper, paymentService: PaymentService, handbookHelper: HandbookHelper, paymentHelper: PaymentHelper, inventoryHelper: InventoryHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, ragfairRequiredItemsService: RagfairRequiredItemsService, ragfairOfferGenerator: RagfairOfferGenerator, configServer: ConfigServer); - getOffers(sessionID: string, info: ISearchRequestData): IGetOffersResult; - protected isLinkedSearch(info: ISearchRequestData): boolean; - protected isRequiredSearch(info: ISearchRequestData): boolean; - update(): void; - getItemPrice(info: IGetMarketPriceRequestData): IGetItemPriceResult; - addPlayerOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - createPlayerOffer(profile: IAkiProfile, requirements: Requirement[], items: Item[], sellInOnePiece: boolean, amountToSend: number): IRagfairOffer; - getAllFleaPrices(): Record; - removeOffer(offerId: string, sessionID: string): IItemEventRouterResponse; - extendOffer(info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RepairController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RepairController.d.ts deleted file mode 100644 index 0e78ef6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RepairController.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { QuestHelper } from "../helpers/QuestHelper"; -import { RepairHelper } from "../helpers/RepairHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -export declare class RepairController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - protected traderHelper: TraderHelper; - protected paymentService: PaymentService; - protected repairHelper: RepairHelper; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer); - /** - * Repair with trader - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - /** - * Repair with repair kit - * @param pmcData player profile - * @param body endpoint request data - * @param sessionID session id - * @returns item event router action - */ - repairWithKit(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RepeatableQuestController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RepeatableQuestController.d.ts deleted file mode 100644 index 98d05dd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/RepeatableQuestController.d.ts +++ /dev/null @@ -1,220 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; -import { Exit } from "../models/eft/common/ILocationBase"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { TraderInfo } from "../models/eft/common/tables/IBotBase"; -import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest"; -import { ELocationName } from "../models/enums/ELocationName"; -import { IQuestConfig, IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PaymentService } from "../services/PaymentService"; -import { ProfileFixerService } from "../services/ProfileFixerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { ProbabilityObject, ProbabilityObjectArray, RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export interface IQuestTypePool { - types: string[]; - pool: IQuestPool; -} -export interface IQuestPool { - Exploration: IExplorationPool; - Elimination: IEliminationPool; -} -export interface IExplorationPool { - locations: Partial>; -} -export interface IEliminationPool { - targets: IEliminationTargetPool; -} -export interface IEliminationTargetPool { - Savage?: ITargetLocation; - AnyPmc?: ITargetLocation; - bossBully?: ITargetLocation; - bossGluhar?: ITargetLocation; - bossKilla?: ITargetLocation; - bossSanitar?: ITargetLocation; - bossTagilla?: ITargetLocation; - bossKojaniy?: ITargetLocation; -} -export interface ITargetLocation { - locations: string[]; -} -export declare class RepeatableQuestController { - protected timeUtil: TimeUtil; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected mathUtil: MathUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected profileFixerService: ProfileFixerService; - protected ragfairServerHelper: RagfairServerHelper; - protected itemEventRouter: ItemEventRouter; - protected paymentService: PaymentService; - protected objectId: ObjectId; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(timeUtil: TimeUtil, logger: ILogger, randomUtil: RandomUtil, mathUtil: MathUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, profileFixerService: ProfileFixerService, ragfairServerHelper: RagfairServerHelper, itemEventRouter: ItemEventRouter, paymentService: PaymentService, objectId: ObjectId, configServer: ConfigServer); - /** - * This is the method reached by the /client/repeatalbeQuests/activityPeriods endpoint - * Returns an array of objects in the format of repeatable quests to the client. - * repeatableQuestObject = { - * id: Unique Id, - * name: "Daily", - * endTime: the time when the quests expire - * activeQuests: currently available quests in an array. Each element of quest type format (see assets/database/templates/repeatableQuests.json). - * inactiveQuests: the quests which were previously active (required by client to fail them if they are not completed) - * } - * - * The method checks if the player level requirement for repeatable quests (e.g. daily lvl5, weekly lvl15) is met and if the previously active quests - * are still valid. This ischecked by endTime persisted in profile accordning to the resetTime configured for each repeatable kind (daily, weekly) - * in QuestCondig.js - * - * If the condition is met, new repeatableQuests are created, old quests (which are persisted in the profile.RepeatableQuests[i].activeQuests) are - * moved to profile.RepeatableQuests[i].inactiveQuests. This memory is required to get rid of old repeatable quest data in the profile, otherwise - * they'll litter the profile's Quests field. - * (if the are on "Succeed" but not "Completed" we keep them, to allow the player to complete them and get the rewards) - * The new quests generated are again persisted in profile.RepeatableQuests - * - * - * @param {string} sessionId Player's session id - * @returns {array} array of "repeatableQuestObjects" as descibed above - */ - getClientRepeatableQuests(_info: IEmptyRequestData, sessionID: string): IPmcDataRepeatableQuest[]; - /** - * This method is called by GetClientRepeatableQuests and creates one element of quest type format (see assets/database/templates/repeatableQuests.json). - * It randomly draws a quest type (currently Elimination, Completion or Exploration) as well as a trader who is providing the quest - */ - generateRepeatableQuest(pmcLevel: number, pmcTraderInfo: Record, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IRepeatableQuest; - /** - * Just for debug reasons. Draws dailies a random assort of dailies extracted from dumps - */ - generateDebugDailies(dailiesPool: any, factory: any, number: any): any; - /** - * Generates the base object of quest type format given as templates in assets/database/templates/repeatableQuests.json - * The templates include Elimination, Completion and Extraction quest types - * - * @param {string} type quest type: "Elimination", "Completion" or "Extraction" - * @param {string} traderId trader from which the quest will be provided - * @returns {object} a object which contains the base elements for repeatable quests of the requests type - * (needs to be filled with reward and conditions by called to make a valid quest) - */ - generateRepeatableTemplate(type: string, traderId: string): IRepeatableQuest; - /** - * Generates a valid Exploration quest - * - * @param {integer} pmcLevel player's level for reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Exploration" (see assets/database/templates/repeatableQuests.json) - */ - generateExplorationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IExploration; - /** - * Generates a valid Completion quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Completion" (see assets/database/templates/repeatableQuests.json) - */ - generateCompletionQuest(pmcLevel: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): ICompletion; - /** - * Generates a valid Elimination quest - * - * @param {integer} pmcLevel player's level for requested items and reward generation - * @param {string} traderId trader from which the quest will be provided - * @param {object} questTypePool Pools for quests (used to avoid redundant quests) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of quest type format for "Elimination" (see assets/database/templates/repeatableQuests.json) - */ - generateEliminationQuest(pmcLevel: number, traderId: string, questTypePool: IQuestTypePool, repeatableConfig: IRepeatableQuestConfig): IElimination; - /** - * Exploration repeatable quests can specify a required extraction point. - * This method creates the according object which will be appended to the conditions array - * - * @param {string} exit The exit name to generate the condition for - * @returns {object} Exit condition - */ - generateExplorationExitCondition(exit: Exit): IExplorationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateCompletionQuest to create a completion condition (of which a completion quest theoretically can have many) - * - * @param {string} targetItemId id of the item to request - * @param {integer} value amount of items of this specific type to request - * @returns {object} object of "Completion"-condition - */ - generateCompletionAvailableForFinish(targetItemId: string, value: number): ICompletionAvailableFor; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a location condition. - * - * @param {string} location the location on which to fulfill the elimination quest - * @returns {object} object of "Elimination"-location-subcondition - */ - generateEliminationLocation(location: string[]): IEliminationCondition; - /** - * A repeatable quest, besides some more or less static components, exists of reward and condition (see assets/database/templates/repeatableQuests.json) - * This is a helper method for GenerateEliminationQuest to create a kill condition. - * - * @param {string} target array of target npcs e.g. "AnyPmc", "Savage" - * @param {array} bodyParts array of body parts with which to kill e.g. ["stomach", "thorax"] - * @param {number} distance distance from which to kill (currently only >= supported) - * @returns {object} object of "Elimination"-kill-subcondition - */ - generateEliminationCondition(target: string, bodyPart: string[], distance: number): IEliminationCondition; - /** - * Used to create a quest pool during each cycle of repeatable quest generation. The pool will be subsequently - * narrowed down during quest generation to avoid duplicate quests. Like duplicate extractions or elimination quests - * where you have to e.g. kill scavs in same locations. - * - * @returns {object} the quest pool - */ - generateQuestPool(repeatableConfig: IRepeatableQuestConfig): IQuestTypePool; - /** - * Generate the reward for a mission. A reward can consist of - * - Experience - * - Money - * - Items - * - Trader Reputation - * - * The reward is dependent on the player level as given by the wiki. The exact mapping of pmcLevel to - * experience / money / items / trader reputation can be defined in QuestConfig.js - * - * There's also a random variation of the reward the spread of which can be also defined in the config. - * - * Additonaly, a scaling factor w.r.t. quest difficulty going from 0.2...1 can be used - * - * @param {integer} pmcLevel player's level - * @param {number} difficulty a reward scaling factor goint from 0.2 to 1 - * @param {string} traderId the trader for reputation gain (and possible in the future filtering of reward item type based on trader) - * @param {object} repeatableConfig The configuration for the repeatably kind (daily, weekly) as configured in QuestConfig for the requestd quest - * @returns {object} object of "Reward"-type that can be given for a repeatable mission - */ - generateReward(pmcLevel: number, difficulty: number, traderId: string, repeatableConfig: IRepeatableQuestConfig): IRewards; - /** - * Helper to create a reward item structured as required by the client - * - * @param {string} tpl itemId of the rewarded item - * @param {integer} value amount of items to give - * @param {integer} index all rewards will be appended to a list, for unkown reasons the client wants the index - * @returns {object} object of "Reward"-item-type - */ - generateRewardItem(tpl: string, value: number, index: number, preset?: any): IReward; - debugLogRepeatableQuestIds(pmcData: IPmcData): void; - probabilityObjectArray(configArrayInput: ProbabilityObject[]): ProbabilityObjectArray; - changeRepeatableQuest(pmcDataIn: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/TradeController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/TradeController.d.ts deleted file mode 100644 index c86745c..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/TradeController.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { RagfairServer } from "../servers/RagfairServer"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TradeHelper } from "../helpers/TradeHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../models/eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { IProcessBaseTradeRequestData } from "../models/eft/trade/IProcessBaseTradeRequestData"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ILogger } from "../models/spt/utils/ILogger"; -declare class TradeController { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected tradeHelper: TradeHelper; - protected profileHelper: ProfileHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, tradeHelper: TradeHelper, profileHelper: ProfileHelper, ragfairServer: RagfairServer); - confirmTrading(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string, foundInRaid?: boolean, upd?: Upd): IItemEventRouterResponse; - confirmRagfairTrading(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} -export { TradeController }; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/TraderController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/TraderController.d.ts deleted file mode 100644 index 7bab158..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/TraderController.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { TraderAssortHelper } from "../helpers/TraderAssortHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class TraderController { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected traderAssortHelper: TraderAssortHelper; - protected profileHelper: ProfileHelper; - protected traderHelper: TraderHelper; - protected timeUtil: TimeUtil; - protected traderAssortService: TraderAssortService; - protected jsonUtil: JsonUtil; - constructor(logger: ILogger, databaseServer: DatabaseServer, traderAssortHelper: TraderAssortHelper, profileHelper: ProfileHelper, traderHelper: TraderHelper, timeUtil: TimeUtil, traderAssortService: TraderAssortService, jsonUtil: JsonUtil); - load(): void; - getTrader(traderID: string, sessionID: string): ITraderBase; - getAllTraders(sessionID: string): ITraderBase[]; - updateTraders(): boolean; - getAssort(sessionId: string, traderId: string): ITraderAssort; - getPurchasesData(traderID: string, sessionID: string): Record; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/WeatherController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/WeatherController.d.ts deleted file mode 100644 index ca7f5eb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/WeatherController.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WeatherGenerator } from "../generators/WeatherGenerator"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WeatherController { - protected weatherGenerator: WeatherGenerator; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weatherGenerator: WeatherGenerator, configServer: ConfigServer); - generate(): IWeatherData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/WishlistController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/WishlistController.d.ts deleted file mode 100644 index a96c522..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/controllers/WishlistController.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IWishlistActionData } from "../models/eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class WishlistController { - protected itemEvenRouter: ItemEventRouter; - constructor(itemEvenRouter: ItemEventRouter); - addToWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishList(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Container.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Container.d.ts deleted file mode 100644 index 17791b0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Container.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class Container { - static registerTypes(depContainer: DependencyContainer): void; - static registerListTypes(depContainer: DependencyContainer): void; - private static registerUtils; - private static registerRouters; - private static registerGenerators; - private static registerHelpers; - private static registerLoaders; - private static registerCallbacks; - private static registerServices; - private static registerServers; - private static registerControllers; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnLoad.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnLoad.d.ts deleted file mode 100644 index 064d07d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnLoad.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnLoad { - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnLoadOnUpdate.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnLoadOnUpdate.d.ts deleted file mode 100644 index 8bd3dc3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnLoadOnUpdate.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { OnLoad } from "./OnLoad"; -import { OnUpdate } from "./OnUpdate"; -export declare class OnLoadOnUpdate implements OnLoad, OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnUpdate.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnUpdate.d.ts deleted file mode 100644 index 7fbbe09..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/OnUpdate.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare class OnUpdate { - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Router.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Router.d.ts deleted file mode 100644 index 2fb98e0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Router.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -export declare class Router { - private handledRoutes; - getTopLevelRoute(): string; - protected getHandledRoutes(): HandledRoute[]; - private getInternalHandledRoutes; - canHandle(url: string, partialMatch?: boolean): boolean; -} -export declare class StaticRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleStatic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class DynamicRouter extends Router { - private routes; - constructor(routes: RouteAction[]); - handleDynamic(url: string, info: any, sessionID: string, output: string): any; - getHandledRoutes(): HandledRoute[]; -} -export declare class ItemEventRouterDefinition extends Router { - constructor(); - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} -export declare class SaveLoadRouter extends Router { - constructor(); - handleLoad(profile: IAkiProfile): IAkiProfile; -} -export declare class HandledRoute { - route: string; - dynamic: boolean; - constructor(route: string, dynamic: boolean); -} -export declare class RouteAction { - url: string; - action: (url: string, info: any, sessionID: string, output: string) => any; - constructor(url: string, action: (url: string, info: any, sessionID: string, output: string) => any); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Serializer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Serializer.d.ts deleted file mode 100644 index 70aa7c5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/di/Serializer.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IHttpServer } from "../models/spt/server/IHttpServer"; -export declare class Serializer { - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(something: string): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotGenerator.d.ts deleted file mode 100644 index a5fc0ad..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotGenerator.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData"; -import { Health as PmcHealth, IBotBase, Skills } from "../models/eft/common/tables/IBotBase"; -import { Health, IBotType, Inventory } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotEquipmentFilterService } from "../services/BotEquipmentFilterService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotInventoryGenerator } from "./BotInventoryGenerator"; -declare namespace BotGenerator { - interface IRandomisedBotLevelResult { - level: number; - exp: number; - } -} -export declare class BotGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected databaseServer: DatabaseServer; - protected botInventoryGenerator: BotInventoryGenerator; - protected botEquipmentFilterService: BotEquipmentFilterService; - protected botHelper: BotHelper; - protected gameEventHelper: GameEventHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, jsonUtil: JsonUtil, profileHelper: ProfileHelper, databaseServer: DatabaseServer, botInventoryGenerator: BotInventoryGenerator, botEquipmentFilterService: BotEquipmentFilterService, botHelper: BotHelper, gameEventHelper: GameEventHelper, configServer: ConfigServer); - /** - * Generate a player scav bot object - * @param role e.g. assault / pmcbot - * @param difficulty easy/normal/hard/impossible - * @param botTemplate base bot template to use (e.g. assault/pmcbot) - * @returns - */ - generatePlayerScav(role: string, difficulty: string, botTemplate: IBotType): IBotBase; - generate(sessionId: string, info: IGenerateBotsRequestData): IBotBase[]; - /** - * Choose if a bot should become a PMC by checking if bot type is allowed to become a Pmc in botConfig.convertFromChances and doing a random int check - * @param botRole the bot role to check if should be a pmc - * @returns true if should be a pmc - */ - protected shouldBotBePmc(botRole: string): boolean; - /** - * Get a randomised PMC side based on bot config value 'isUsec' - * @returns pmc side as string - */ - protected getRandomisedPmcSide(): string; - /** - * Get a clone of the database\bots\base.json file - * @returns IBotBase object - */ - protected getCloneOfBotBase(): IBotBase; - protected generateBot(bot: IBotBase, role: string, node: IBotType, isPmc: boolean, isPlayerScav?: boolean): IBotBase; - /** - * Log the number of PMCs generated to the debug console - */ - protected logPmcGeneratedCount(output: IBotBase[]): void; - protected generateRandomLevel(min: number, max: number): BotGenerator.IRandomisedBotLevelResult; - /** - * Converts health object to the required format - * @param healthObj health object from bot json - * @param playerScav Is a pscav bot being generated - * @returns PmcHealth object - */ - protected generateHealth(healthObj: Health, playerScav?: boolean): PmcHealth; - protected generateSkills(skillsObj: Skills): Skills; - /** - * Convert from pmc side (usec/bear) to the side as defined in the bot config (usecType/bearType) - * @param pmcSide eft side (usec/bear) - * @returns pmc side as defined in config - */ - protected getPmcRole(pmcSide: string): string; - /** - * Iterate through bots inventory and loot to find and remove christmas items (as defined in GameEventHelper) - * @param nodeInventory Bots inventory to iterate over - */ - protected removeChristmasItemsFromBotInventory(nodeInventory: Inventory): void; - protected generateId(bot: IBotBase): IBotBase; - protected generateInventoryID(profile: IBotBase): IBotBase; - protected getPMCDifficulty(requestedDifficulty: string): string; - /** - * Add a side-specific (usec/bear) dogtag item to a bots inventory - * @param bot bot to add dogtag to - * @returns Bot with dogtag added - */ - protected generateDogtag(bot: IBotBase): IBotBase; -} -export {}; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotInventoryGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotInventoryGenerator.d.ts deleted file mode 100644 index 35d1ee8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotInventoryGenerator.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation, Mods } from "../models/eft/common/tables/IBotType"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -import { BotLootGenerator } from "./BotLootGenerator"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -export declare class BotInventoryGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootGenerator: BotLootGenerator; - protected botGeneratorHelper: BotGeneratorHelper; - protected weightedRandomHelper: WeightedRandomHelper; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, botWeaponGenerator: BotWeaponGenerator, botLootGenerator: BotLootGenerator, botGeneratorHelper: BotGeneratorHelper, weightedRandomHelper: WeightedRandomHelper); - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; - protected generateEquipment(equipmentSlot: string, equipmentPool: Record, modPool: Mods, spawnChances: Chances, botRole: string, inventory: PmcInventory): void; - protected generateInventoryBase(): PmcInventory; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotLootGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotLootGenerator.d.ts deleted file mode 100644 index c6a3f29..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotLootGenerator.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Chances, Inventory, ItemMinMax, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotWeaponGenerator } from "./BotWeaponGenerator"; -export declare class BotLootGenerator { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected botWeaponGenerator: BotWeaponGenerator; - protected botLootCacheService: BotLootCacheService; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, hashUtil: HashUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, botGeneratorHelper: BotGeneratorHelper, botWeaponGenerator: BotWeaponGenerator, botLootCacheService: BotLootCacheService, configServer: ConfigServer); - generateLoot(templateInventory: Inventory, itemCounts: ItemMinMax, isPmc: boolean, botRole: string, botInventory: PmcInventory, equipmentChances: Chances): void; - protected getRandomisedCount(min: number, max: number, nValue: number): number; - /** - * Take random items from a pool and add to an inventory until totalItemCount or totalValueLimit is reached - * @param pool pool of items to pick from - * @param equipmentSlots What equality slot will the loot items be added to - * @param totalItemCount Max count of items to add - * @param inventoryToAddItemsTo bot inventory loot will be added to - * @param botRole role of the bot loot is being generated for (assault/pmcbot) - * @param useLimits should item limit counts be used as defined in config/bot.json - * @param totalValueLimitRub total value of loot allowed in roubles - * @param isPmc is the bot being generated for a pmc - */ - protected addLootFromPool(pool: ITemplateItem[], equipmentSlots: string[], totalItemCount: number, inventoryToAddItemsTo: PmcInventory, botRole: string, useLimits?: boolean, totalValueLimitRub?: number, isPmc?: boolean): void; - /** - * Add generated weapons to inventory as loot - * @param botInventory inventory to add preset to - * @param equipmentSlot slot to place the preset in (backpack) - * @param templateInventory bots template, assault.json - * @param modChances chances for mods to spawn on weapon - * @param botRole bots role, .e.g. pmcBot - * @param isPmc are we generating for a pmc - */ - protected addLooseWeaponsToInventorySlot(botInventory: PmcInventory, equipmentSlot: string, templateInventory: Inventory, modChances: ModsChances, botRole: string, isPmc: boolean): void; - /** - * Get a random item from the pool parameter using the biasedRandomNumber system - * @param pool pool of items to pick an item from - * @param isPmc is the bot being created a pmc - * @returns ITemplateItem object - */ - protected getRandomItemFromPool(pool: ITemplateItem[], isPmc: boolean): ITemplateItem; - /** - * Get the loot nvalue from botconfig - * @param isPmc if true the pmc nvalue is returned - * @returns nvalue as number - */ - protected getBotLootNValue(isPmc: boolean): number; - /** - * Update item limit array to contain items that have a limit - * All values are set to 0 - * @param isPmc is the bot a pmc - * @param botRole role the bot has - * @param limitCount - */ - protected initItemLimitArray(isPmc: boolean, botRole: string, limitCount: Record): void; - /** - * Check if an item has reached its bot-specific spawn limit - * @param itemTemplate Item we check to see if its reached spawn limit - * @param botRole Bot type - * @param isPmc Is bot we're working with a pmc - * @param limitCount spawn limits for items on bot - * @param itemSpawnLimits the limits this bot is allowed to have - * @returns true if item has reached spawn limit - */ - protected itemHasReachedSpawnLimit(itemTemplate: ITemplateItem, botRole: string, isPmc: boolean, limitCount: Record, itemSpawnLimits: Record): boolean; - /** - * Is the item an ammo box - * @param props props of the item to check - * @returns true if item is an ammo box - */ - protected isAmmoBox(props: Props): boolean; - /** - * Create an object that contains the ammo stack for an ammo box - * @param parentId ammo box id - * @param props ammo box props - * @returns Item object - */ - protected createAmmoForAmmoBox(parentId: string, props: Props): Item; - /** - * Randomise the stack size of a money object, uses different values for pmc or scavs - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param moneyItem Money stack to randomise - */ - protected randomiseMoneyStackSize(isPmc: boolean, itemTemplate: ITemplateItem, moneyItem: Item): void; - /** - * Randomise the size of an ammo stack - * @param isPmc is this a PMC - * @param itemTemplate item details - * @param ammoItem Ammo stack to randomise - */ - protected randomiseAmmoStackSize(isPmc: boolean, itemTemplate: ITemplateItem, ammoItem: Item): void; - /** - * Get spawn limits for a specific bot type from bot.json config - * If no limit found for a non pmc bot, fall back to defaults - * @param isPmc is the bot we want limits for a pmc - * @param botRole what role does the bot have - * @returns dictionary of tplIds and limit - */ - protected getItemSpawnLimitsForBotType(isPmc: boolean, botRole: string): Record; - /** - * Get the parentId or tplId of item inside spawnLimits object if it exists - * @param itemTemplate item we want to look for in spawn limits - * @param spawnLimits Limits to check for item - * @returns id as string, otherwise undefined - */ - protected getMatchingIdFromSpawnLimits(itemTemplate: ITemplateItem, spawnLimits: Record): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotWeaponGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotWeaponGenerator.d.ts deleted file mode 100644 index 9215214..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/BotWeaponGenerator.d.ts +++ /dev/null @@ -1,173 +0,0 @@ -import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { MinMax } from "../models/common/MinMax"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Inventory, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { GenerateWeaponResult } from "../models/spt/bots/GenerateWeaponResult"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotWeaponGenerator { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected hashUtil: HashUtil; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected weightedRandomHelper: WeightedRandomHelper; - protected botGeneratorHelper: BotGeneratorHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected readonly modMagazineSlotId = "mod_magazine"; - protected botConfig: IBotConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, hashUtil: HashUtil, databaseServer: DatabaseServer, itemHelper: ItemHelper, weightedRandomHelper: WeightedRandomHelper, botGeneratorHelper: BotGeneratorHelper, randomUtil: RandomUtil, configServer: ConfigServer); - /** - * Get a random weapon from a bots pool of weapons (weighted) - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @returns weapon tpl - */ - pickWeightedWeaponTplFromPool(equipmentSlot: string, botTemplateInventory: Inventory): string; - /** - * Generated a weapon based on the supplied weapon tpl - * @param weaponTpl weapon tpl to generate (use pickWeightedWeaponTplFromPool()) - * @param equipmentSlot slot to fit into, primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateWeaponByTpl(weaponTpl: string, equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Generate an entirely random weapon - * @param equipmentSlot Primary/secondary/holster - * @param botTemplateInventory e.g. assault.json - * @param weaponParentId - * @param modChances - * @param botRole - * @param isPmc - * @returns GenerateWeaponResult object - */ - generateRandomWeapon(equipmentSlot: string, botTemplateInventory: Inventory, weaponParentId: string, modChances: ModsChances, botRole: string, isPmc: boolean): GenerateWeaponResult; - /** - * Create array with weapon base as only element - * Add additional properties as required - * @param weaponTpl - * @param weaponParentId - * @param equipmentSlot - * @param weaponItemTemplate - * @param botRole for durability values - * @returns - */ - constructWeaponBaseArray(weaponTpl: string, weaponParentId: string, equipmentSlot: string, weaponItemTemplate: ITemplateItem, botRole: string): Item[]; - /** - * Add compatible magazines to an inventory based on a generated weapon - * @param weaponDetails - * @param magCounts - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - */ - addExtraMagazinesToInventory(weaponDetails: GenerateWeaponResult, magCounts: MinMax, inventory: PmcInventory, botRole: string): void; - /** - * Get the mods necessary to kit out a weapon to its preset level - * @param weaponTpl weapon to find preset for - * @param equipmentSlot the slot the weapon will be placed in - * @param weaponParentId Value used for the parentid - * @returns array of weapon mods - */ - protected getPresetWeaponMods(weaponTpl: string, equipmentSlot: string, weaponParentId: string, itemTemplate: ITemplateItem, botRole: string): Item[]; - /** Checks if all required slots are occupied on a weapon and all it's mods */ - protected isWeaponValid(weaponItemArray: Item[]): boolean; - /** - * Generates extra magazines or bullets (if magazine is internal) and adds them to TacticalVest and Pockets. - * Additionally, adds extra bullets to SecuredContainer - * @param weaponMods - * @param weaponTemplate - * @param magCounts - * @param ammoTpl - * @param inventory - * @param botRole the bot type we're getting generating extra mags for - * @returns - */ - protected generateExtraMagazines(weaponMods: Item[], weaponTemplate: ITemplateItem, magCounts: MinMax, ammoTpl: string, inventory: PmcInventory, botRole: string): void; - /** - * Get a randomised number of bullets for a specific magazine - * @param magCounts min and max count of magazines - * @param magTemplate magazine to generate bullet count for - * @returns bullet count number - */ - protected getRandomisedBulletCount(magCounts: MinMax, magTemplate: ITemplateItem): number; - /** - * Get a randomised count of magazines - * @param magCounts min and max value returned value can be between - * @returns numberical value of magazine count - */ - protected getRandomisedMagazineCount(magCounts: MinMax): number; - /** - * Add ammo to the secure container - * @param stackCount How many stacks of ammo to add - * @param ammoTpl Ammo type to add - * @param stackSize Size of the ammo stack to add - * @param inventory Player inventory - */ - protected addAmmoToSecureContainer(stackCount: number, ammoTpl: string, stackSize: number, inventory: PmcInventory): void; - /** - * Get a weapons magazine tpl from a weapon template - * @param weaponMods mods from a weapon template - * @param weaponTemplate Weapon to get magazine tpl for - * @param botRole the bot type we are getting the magazine for - * @returns magazine tpl string - */ - protected getMagazineTplFromWeaponTemplate(weaponMods: Item[], weaponTemplate: ITemplateItem, botRole: string): string; - /** - * Get a weapons default magazine template id - * @param weaponTemplate weapon to get default magazine for - * @returns tpl of magazine - */ - protected getWeaponsDefaultMagazineTpl(weaponTemplate: ITemplateItem): string; - protected addBulletsToVestAndPockets(ammoTpl: string, bulletCount: number, inventory: PmcInventory): void; - /** - * Finds and return a compatible ammo tpl based on the bots ammo weightings (x.json/inventory/equipment/ammo) - * @param ammo a list of ammo tpls the weapon can use - * @param weaponTemplate the weapon we want to pick ammo for - * @param isPmc is the ammo being gathered for a pmc (runs pmc ammo filtering) - * @returns an ammo tpl that works with the desired gun - */ - protected getCompatibleAmmo(ammo: Record>, weaponTemplate: ITemplateItem, isPmc: boolean): string; - /** - * Get a weapons compatible cartridge caliber - * @param weaponTemplate Weapon to look up caliber of - * @returns caliber as string - */ - protected getWeaponCaliber(weaponTemplate: ITemplateItem): string; - /** - * Fill existing magazines to full, while replacing their contents with specified ammo - * @param weaponMods - * @param magazine - * @param ammoTpl - */ - protected fillExistingMagazines(weaponMods: Item[], magazine: Item, ammoTpl: string): void; - /** - * Add cartridge item to weapon Item array, if it already exists, update - * @param weaponMods Weapon items array to amend - * @param magazine magazine item details we're adding cartridges to - * @param chosenAmmo cartridge to put into the magazine - * @param newStackSize how many cartridges should go into the magazine - */ - protected addOrUpdateMagazinesChildWithAmmo(weaponMods: Item[], magazine: Item, chosenAmmo: string, newStackSize: number): void; - /** - * Fill each Camora with a bullet - * @param weaponMods Weapon mods to find and update camora mod(s) from - * @param magazineId magazine id to find and add to - * @param ammoTpl ammo template id to hydate with - */ - protected fillCamorasWithAmmo(weaponMods: Item[], magazineId: string, ammoTpl: string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/LocationGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/LocationGenerator.d.ts deleted file mode 100644 index bd368b5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/LocationGenerator.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ContainerHelper } from "../helpers/ContainerHelper"; -import { GameEventHelper } from "../helpers/GameEventHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILocationConfig } from "../models/spt/config/ILocationConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { ObjectId } from "../utils/ObjectId"; -import { RandomUtil } from "../utils/RandomUtil"; -export interface IContainerItem { - items: Item[]; - width: number; - height: number; -} -export declare class LocationGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected objectId: ObjectId; - protected randomUtil: RandomUtil; - protected ragfairServerHelper: RagfairServerHelper; - protected itemHelper: ItemHelper; - protected mathUtil: MathUtil; - protected gameEventHelper: GameEventHelper; - protected containerHelper: ContainerHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected locationConfig: ILocationConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, objectId: ObjectId, randomUtil: RandomUtil, ragfairServerHelper: RagfairServerHelper, itemHelper: ItemHelper, mathUtil: MathUtil, gameEventHelper: GameEventHelper, containerHelper: ContainerHelper, presetHelper: PresetHelper, configServer: ConfigServer); - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - protected getLooseLootMultiplerForLocation(location: string): number; - protected getStaticLootMultiplerForLocation(location: string): number; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; - protected createItem(tpl: string, staticAmmoDist: Record, parentId?: string): IContainerItem; - protected getRandomCompatibleCaliberTemplateId(item: ITemplateItem): string; - protected getRandomValidCaliber(magTemplate: ITemplateItem): string; - protected drawAmmoTpl(caliber: string, staticAmmoDist: Record): string; - protected createRandomMagCartridges(magTemplate: ITemplateItem, parentId: string, staticAmmoDist: Record, caliber?: string): Item; - protected createCartidges(parentId: string, ammoTpl: string, stackCount: number): Item; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/PMCLootGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/PMCLootGenerator.d.ts deleted file mode 100644 index 64e6f7f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/PMCLootGenerator.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -export declare class PMCLootGenerator { - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected pocketLootPool: string[]; - protected backpackLootPool: string[]; - protected botConfig: IBotConfig; - constructor(itemHelper: ItemHelper, databaseServer: DatabaseServer, configServer: ConfigServer); - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/PlayerScavGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/PlayerScavGenerator.d.ts deleted file mode 100644 index bb2c730..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/PlayerScavGenerator.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { BotHelper } from "../helpers/BotHelper"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Skills, Stats } from "../models/eft/common/tables/IBotBase"; -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { IPlayerScavConfig, KarmaLevel } from "../models/spt/config/IPlayerScavConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { BotGenerator } from "./BotGenerator"; -export declare class PlayerScavGenerator { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected botHelper: BotHelper; - protected jsonUtil: JsonUtil; - protected fenceService: FenceService; - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - protected configServer: ConfigServer; - protected playerScavConfig: IPlayerScavConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, botHelper: BotHelper, jsonUtil: JsonUtil, fenceService: FenceService, botLootCacheService: BotLootCacheService, botGenerator: BotGenerator, configServer: ConfigServer); - /** - * Update a player profile to include a new player scav profile - * @param sessionID session id to specify what profile is updated - * @returns profile object - */ - generate(sessionID: string): IPmcData; - /** - * Get the scav karama level for a profile - * Is also the fence trader rep level - * @param pmcData pmc profile - * @returns karma level - */ - protected getScavKarmaLevel(pmcData: IPmcData): number; - /** - * Get a baseBot template - * If the parameter doesnt match "assault", take parts from the loot type and apply to the return bot template - * @param botTypeForLoot bot type to use for inventory/chances - * @returns IBotType object - */ - protected constructBotBaseTemplate(botTypeForLoot: string): IBotType; - /** - * Adjust equipment/mod/item generation values based on scav karma levels - * @param karmaSettings Values to modify the bot template with - * @param baseBotNode bot template to modify according to karama level settings - */ - protected adjustBotTemplateWithKarmaSpecificSettings(karmaSettings: KarmaLevel, baseBotNode: IBotType): void; - protected getScavSkills(scavProfile: IPmcData): Skills; - protected getDefaultScavSkills(): Skills; - protected getScavStats(scavProfile: IPmcData): Stats; - protected getScavLevel(scavProfile: IPmcData): number; - protected getScavExperience(scavProfile: IPmcData): number; - /** - * Set cooldown till pscav is playable - * take into account scav cooldown bonus - * @param scavData scav profile - * @param pmcData pmc profile - * @returns - */ - protected setScavCooldownTimer(scavData: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/RagfairAssortGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/RagfairAssortGenerator.d.ts deleted file mode 100644 index cbdd7f2..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/RagfairAssortGenerator.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class RagfairAssortGenerator { - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected generatedAssortItems: Item[]; - constructor(jsonUtil: JsonUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer); - /** - * Get an array of unique items that can be sold on the flea - * @returns array of unique items - */ - getAssortItems(): Item[]; - protected assortsAreGenerated(): boolean; - /** - * Generate an array of items the flea can sell - * @returns array of unique items - */ - protected generateRagfairAssortItems(): Item[]; - protected createRagfairAssortItem(tplId: string, id?: string): Item; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/RagfairOfferGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/RagfairOfferGenerator.d.ts deleted file mode 100644 index 3e7f4cc..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/RagfairOfferGenerator.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairAssortGenerator } from "./RagfairAssortGenerator"; -export declare class RagfairOfferGenerator { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected ragfairServerHelper: RagfairServerHelper; - protected saveServer: SaveServer; - protected presetHelper: PresetHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairPriceService: RagfairPriceService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected fenceService: FenceService; - protected itemHelper: ItemHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, ragfairServerHelper: RagfairServerHelper, saveServer: SaveServer, presetHelper: PresetHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferService: RagfairOfferService, ragfairPriceService: RagfairPriceService, ragfairCategoriesService: RagfairCategoriesService, fenceService: FenceService, itemHelper: ItemHelper, configServer: ConfigServer); - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; - protected getTraderId(userID: string): string; - protected getRating(userID: string): number; - protected getRatingGrowing(userID: string): boolean; - protected getOfferEndTime(userID: string, time: number): number; - /** - * Create multiple offers for items by using a unique list of items we've generated previously - * @param expiredOffers - */ - generateDynamicOffers(expiredOffers?: Item[]): void; - generateTraderOffers(traderID: string): void; - protected getItemCondition(userID: string, items: Item[], itemDetails: ITemplateItem): Item[]; - protected addMissingCondition(item: Item): Item; - protected getOfferRequirements(items: Item[]): { - count: number; - _tpl: string; - }[]; - /** - * Create a flea offer and store it in the Ragfair server offers array - */ - createFleaOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece?: boolean): IRagfairOffer; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/ScavCaseRewardGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/ScavCaseRewardGenerator.d.ts deleted file mode 100644 index c7d6ab7..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/ScavCaseRewardGenerator.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { ItemHelper } from "../helpers/ItemHelper"; -import { Product } from "../models/eft/common/tables/IBotBase"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IHideoutScavCase } from "../models/eft/hideout/IHideoutScavCase"; -import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData"; -import { IScavCaseConfig } from "../models/spt/config/IScavCaseConfig"; -import { RewardCountAndPriceDetails, ScavCaseRewardCountsAndPrices } from "../models/spt/hideout/ScavCaseRewardCountsAndPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { HashUtil } from "../utils/HashUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ScavCaseRewardGenerator { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected configServer: ConfigServer; - protected scavCaseConfig: IScavCaseConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, hashUtil: HashUtil, itemHelper: ItemHelper, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, configServer: ConfigServer); - /** - * Create an array of rewards that will be given to the player upon completing their scav case build - * @param body client request - * @returns Product array - */ - generate(body: IHideoutScavCaseStartRequestData): Product[]; - /** - * Get all db items that are not blacklisted in scavcase config - * @returns filtered array of db items - */ - protected getDbItems(): ITemplateItem[]; - /** - * Check if a template id has a blacklisted parent id - * @param tplid template id to check - * @returns true if item is blacklisted - */ - protected itemHasBlacklistedParent(tplid: string): boolean; - /** - * Pick a number of items to be rewards, the count is defined by the values in - * @param items item pool to pick rewards from - * @param itemFilters how the rewards should be filtered down (by item count) - * @returns - */ - protected pickRandomRewards(items: ITemplateItem[], itemFilters: RewardCountAndPriceDetails, rarity: string): ITemplateItem[]; - /** - * Choose if money should be a reward based on the moneyRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be money - */ - protected rewardShouldBeMoney(): boolean; - /** - * Choose if ammo should be a reward based on the ammoRewardChancePercent config chance in scavCaseConfig - * @returns true if reward should be ammo - */ - protected rewardShouldBeAmmo(): boolean; - /** - * Choose from rouble/dollar/euro at random - */ - protected getRandomMoney(): ITemplateItem; - /** - * Get a random ammo from items.json that is not in the ammo blacklist AND inside the price rage defined in scavcase.json config - * @param rarity The rarity this ammo reward is for - * @returns random ammo item from items.json - */ - protected getRandomAmmo(rarity: string): ITemplateItem; - /** - * Take all the rewards picked create the Product object array ready to return to calling code - * Also add a stack count to ammo and money - * @param rewardItems items to convert - * @returns Product array - */ - protected randomiseContainerItemRewards(rewardItems: ITemplateItem[], rarity: string): Product[]; - /** - * Add a randomised stack count to ammo or money items - * @param item money or ammo item - * @param resultItem money or ammo item with a randomise stack size - */ - protected addStackCountToAmmoAndMoney(item: ITemplateItem, resultItem: { - _id: string; - _tpl: string; - upd: any; - }, rarity: string): void; - /** - * - * @param dbItems all items from the items.json - * @param itemFilters controls how the dbItems will be filtered and returned (handbook price) - * @returns filtered dbItems array - */ - protected getFilteredItemsByPrice(dbItems: ITemplateItem[], itemFilters: RewardCountAndPriceDetails): ITemplateItem[]; - /** - * Gathers the reward options from config and scavcase.json into a single object - * @param scavCaseDetails scavcase.json values - * @returns ScavCaseRewardCountsAndPrices object - */ - protected getScavCaseRewardCountsAndPrices(scavCaseDetails: IHideoutScavCase): ScavCaseRewardCountsAndPrices; - /** - * Randomises the size of ammo and money stacks - * @param itemToCalculate ammo or money item - * @param rarity rarity (common/rare/superrare) - * @returns value to set stack count to - */ - protected getRandomAmountRewardForScavCase(itemToCalculate: ITemplateItem, rarity: string): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/WeatherGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/WeatherGenerator.d.ts deleted file mode 100644 index 44cecbb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/generators/WeatherGenerator.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { WeightedRandomHelper } from "../helpers/WeightedRandomHelper"; -import { ConfigServer } from "../servers/ConfigServer"; -import { IWeatherData } from "../models/eft/weather/IWeatherData"; -import { IWeatherConfig } from "../models/spt/config/IWeatherConfig"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class WeatherGenerator { - protected weightedRandomHelper: WeightedRandomHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected weatherConfig: IWeatherConfig; - constructor(weightedRandomHelper: WeightedRandomHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateTime(data: IWeatherData): IWeatherData; - /** - * Get server uptime seconds multiplied by a multiplier and add to current time as seconds - * Format to BSGs requirements - * @param computedDate current date - * @returns formatted time - */ - protected getAcceleratedTime(computedDate: Date): string; - /** - * Get current time formatted to fit BSGs requirement - * @param computedDate - * @returns - */ - protected getNormalTime(computedDate: Date): string; - generateWeather(data: IWeatherData): IWeatherData; - protected getWeightedFog(): string; - protected getWeightedRain(): number; - protected getRandomFloat(node: string): number; - protected getRandomInt(node: string): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/AssortHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/AssortHelper.d.ts deleted file mode 100644 index 15586b9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/AssortHelper.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ItemHelper } from "./ItemHelper"; -import { QuestHelper } from "./QuestHelper"; -export declare class AssortHelper { - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected databaseServer: DatabaseServer; - protected questHelper: QuestHelper; - constructor(logger: ILogger, itemHelper: ItemHelper, databaseServer: DatabaseServer, questHelper: QuestHelper); - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort assort items from a trader - * @returns assort items minus locked quest assorts - */ - stripLockedQuestAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove assorts from a trader that have not been unlocked yet - * @param pmcProfile player profile - * @param traderId traders id - * @param assort traders assorts - * @returns traders assorts minus locked loyality assorts - */ - stripLockedLoyaltyAssort(pmcProfile: IPmcData, traderId: string, assort: ITraderAssort): ITraderAssort; - /** - * Remove an item from an assort - * @param assort assort to modify - * @param itemID item id to remove from asort - * @returns Modified assort - */ - removeItemFromAssort(assort: ITraderAssort, itemID: string): ITraderAssort; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/BotGeneratorHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/BotGeneratorHelper.d.ts deleted file mode 100644 index 3cd7256..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/BotGeneratorHelper.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { DurabilityLimitsHelper } from "../helpers/DurabilityLimitsHelper"; -import { Inventory as PmcInventory } from "../models/eft/common/tables/IBotBase"; -import { Mods, ModsChances } from "../models/eft/common/tables/IBotType"; -import { Item, Repairable, Upd } from "../models/eft/common/tables/IItem"; -import { Grid, ITemplateItem, Slot } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { InventoryHelper } from "./InventoryHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProbabilityHelper } from "./ProbabilityHelper"; -export declare class BotGeneratorHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected randomUtil: RandomUtil; - protected probabilityHelper: ProbabilityHelper; - protected databaseServer: DatabaseServer; - protected durabilityLimitsHelper: DurabilityLimitsHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected containerHelper: ContainerHelper; - 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): Item[]; - /** - * Is this magazine cylinder related (revolvers and grenade launchers) - * @param magazineParentName the name of the magazines parent - * @returns true if it is cylinder related - */ - magazineIsCylinderRelated(magazineParentName: string): boolean; - /** - * randomly choose if a mod should be spawned, 100% for required mods OR mod is ammo slot - * never return true for an item that has 0% spawn chance - * @param itemSlot slot the item sits in - * @param modSlot slot the mod sits in - * @param modSpawnChances Chances for various mod spawns - * @returns boolean true if it should spawn - */ - protected shouldModBeSpawned(itemSlot: Slot, modSlot: string, modSpawnChances: ModsChances): boolean; - /** - * Get a list of containers that hold ammo - * e.g. mod_magazine - * @returns string array - */ - protected getAmmoContainers(): string[]; - /** - * Get the slot details for an item (chamber/cartridge/slot) - * @param modSlot e.g patron_in_weapon - * @param parentTemplate item template - * @returns - */ - protected getModItemSlot(modSlot: string, parentTemplate: ITemplateItem): Slot; - /** - * With the shotgun revolver (60db29ce99594040e04c4a27) 12.12 introduced CylinderMagazines. - * Those magazines (e.g. 60dc519adf4c47305f6d410d) have a "Cartridges" entry with a _max_count=0. - * Ammo is not put into the magazine directly but assigned to the magazine's slots: The "camora_xxx" slots. - * This function is a helper called by generateModsForItem for mods with parent type "CylinderMagazine" - * - * @param {object} items The items where the CylinderMagazine's camora are appended to - * @param {object} modPool modPool which should include available cartrigdes - * @param {string} parentId The CylinderMagazine's UID - * @param {object} parentTemplate The CylinderMagazine's template - */ - protected fillCamora(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem): void; - /** - * Take a record of camoras and merge the compatable shells into one array - * @param camorasWithShells camoras we want to merge into one array - * @returns string array of shells fro luitple camora sources - */ - protected mergeCamoraPoolsTogether(camorasWithShells: Record): string[]; - generateExtraPropertiesForItem(itemTemplate: ITemplateItem, botRole?: any): { - upd?: Upd; - }; - /** - * Create a repairable object for a weapon that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateWeaponRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - /** - * Create a repairable object for an armor that containers durability + max durability properties - * @param itemTemplate weapon object being generated for - * @param botRole type of bot being generated for - * @returns Repairable object - */ - protected generateArmorRepairableProperties(itemTemplate: ITemplateItem, botRole: string): Repairable; - protected getModTplFromItemDb(modTpl: string, parentSlot: Slot, modSlot: string, items: Item[]): string; - /** - * Sort by spawn chance, highest to lowest, higher is more common - * @param unsortedModArray String array to sort - * @returns Sorted string array - */ - protected sortModArray(unsortedModArray: string[]): string[]; - /** - * Can an item be added to an item without issue - * @param items - * @param tplToCheck - * @param equipmentSlot - * @returns true if possible - */ - isItemIncompatibleWithCurrentItems(items: Item[], tplToCheck: string, equipmentSlot: string): boolean; - /** - * Adds an item with all its childern into specified equipmentSlots, wherever it fits. - * @param equipmentSlots - * @param parentId - * @param parentTpl - * @param itemWithChildren - * @param inventory - * @returns a `boolean` indicating item was added - */ - addItemWithChildrenToEquipmentSlot(equipmentSlots: string[], parentId: string, parentTpl: string, itemWithChildren: Item[], inventory: PmcInventory): boolean; - protected itemAllowedInContainer(slot: Grid, itemTpl: string): boolean; -} -export declare class ExhaustableArray { - private itemPool; - private randomUtil; - private jsonUtil; - private pool; - constructor(itemPool: T[], randomUtil: RandomUtil, jsonUtil: JsonUtil); - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/BotHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/BotHelper.d.ts deleted file mode 100644 index 9b89481..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/BotHelper.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Difficulty, IBotType } from "../models/eft/common/tables/IBotType"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class BotHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, configServer: ConfigServer); - getBotDifficultySettings(type: string, difficulty: string): Difficulty; - getBotTemplate(role: string): IBotType; - getPmcDifficultySettings(type: string, difficulty: string): Difficulty; - /** - * Randomise the chance the PMC will attack their own side - * @param difficultySettings pmc difficulty settings - */ - randomisePmcHostility(difficultySettings: Difficulty): void; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - /** - * Add a bot to the FRIENDLY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typeToAdd bot type to add to friendly list - */ - addBotToFriendlyList(difficultySettings: Difficulty, typeToAdd: string): void; - /** - * Add a bot to the ENEMY_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to enemy list - */ - addBotToEnemyList(difficultySettings: Difficulty, typesToAdd: string[], typeBeingEdited: string): void; - /** - * Add a bot to the REVENGE_BOT_TYPES array - * @param difficultySettings bot settings to alter - * @param typesToAdd bot type to add to revenge list - */ - addBotToRevengeList(difficultySettings: Difficulty, typesToAdd: string[]): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ContainerHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ContainerHelper.d.ts deleted file mode 100644 index 3c2ee93..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ContainerHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export declare class FindSlotResult { - success: boolean; - x: any; - y: any; - rotation: boolean; - constructor(success?: boolean, x?: any, y?: any, rotation?: boolean); -} -export declare class ContainerHelper { - protected locateSlot(container2D: number[][], containerX: number, containerY: number, x: number, y: number, itemW: number, itemH: number): boolean; - findSlotForItem(container2D: number[][], itemWidth: number, itemHeight: number): FindSlotResult; - fillContainerMapWithItem(container2D: number[][], x: number, y: number, itemW: number, itemH: number, rotate: boolean): any; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/DialogueHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/DialogueHelper.d.ts deleted file mode 100644 index e3e2bda..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/DialogueHelper.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { Dialogue, MessageContent, MessagePreview } from "../models/eft/profile/IAkiProfile"; -import { MessageType } from "../models/enums/MessageType"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HashUtil } from "../utils/HashUtil"; -import { ItemHelper } from "./ItemHelper"; -import { NotificationSendHelper } from "./NotificationSendHelper"; -import { NotifierHelper } from "./NotifierHelper"; -export declare class DialogueHelper { - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected notificationSendHelper: NotificationSendHelper; - protected itemHelper: ItemHelper; - constructor(hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, notificationSendHelper: NotificationSendHelper, itemHelper: ItemHelper); - createMessageContext(templateId: string, messageType: MessageType, maxStoreTime: number): MessageContent; - /** - * Add a templated message to the dialogue. - * @param dialogueID - * @param messageContent - * @param sessionID - * @param rewards - */ - addDialogueMessage(dialogueID: string, messageContent: MessageContent, sessionID: string, rewards?: any[]): void; - /** - * Get the preview contents of the last message in a dialogue. - * @param dialogue - * @returns - */ - getMessagePreview(dialogue: Dialogue): MessagePreview; - /** - * Get the item contents for a particular message. - * @param messageID - * @param sessionID - * @returns - */ - getMessageItemContents(messageID: string, sessionID: string): Item[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/DurabilityLimitsHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/DurabilityLimitsHelper.d.ts deleted file mode 100644 index 07a5db1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/DurabilityLimitsHelper.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { IBotConfig } from "../models/spt/config/IBotConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { BotHelper } from "./BotHelper"; -export declare class DurabilityLimitsHelper { - protected randomUtil: RandomUtil; - protected botHelper: BotHelper; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - constructor(randomUtil: RandomUtil, botHelper: BotHelper, configServer: ConfigServer); - getRandomisedMaxWeaponDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedMaxArmorDurability(itemTemplate: ITemplateItem, botRole: string): number; - getRandomisedWeaponDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - getRandomisedArmorDurability(itemTemplate: ITemplateItem, botRole: string, maxDurability: number): number; - protected generateMaxWeaponDurability(botRole: string): number; - protected generateMaxPmcArmorDurability(itemMaxDurability: number): number; - protected getLowestMaxWeaponFromConfig(botRole: string): number; - protected getHighestMaxWeaponDurabilityFromConfig(botRole: string): number; - protected generateWeaponDurability(botRole: string, maxDurability: number): number; - protected generateArmorDurability(botRole: string, maxDurability: number): number; - protected getMinWeaponDeltaFromConfig(botRole: string): number; - protected getMaxWeaponDeltaFromConfig(botRole: string): number; - protected getMinArmorDeltaFromConfig(botRole: string): number; - protected getMaxArmorDeltaFromConfig(botRole: string): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/GameEventHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/GameEventHelper.d.ts deleted file mode 100644 index 7613053..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/GameEventHelper.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class GameEventHelper { - protected databaseServer: DatabaseServer; - constructor(databaseServer: DatabaseServer); - get events(): Record; - get christmasEventItems(): string[]; - itemIsChristmasRelated(itemId: string): boolean; - christmasEventEnabled(): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HandbookHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HandbookHelper.d.ts deleted file mode 100644 index b47d466..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HandbookHelper.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare class LookupItem { - byId: Record; - byParent: Record; - constructor(); -} -export declare class LookupCollection { - items: LookupItem; - categories: LookupItem; - constructor(); -} -export declare class HandbookHelper { - protected lookup: LookupCollection; - hydrateLookup(lookup: LookupCollection): void; - getTemplatePrice(x: string): number; - templatesWithParent(x: string): string[]; - isCategory(x: string): boolean; - childrenCategories(x: string): string[]; - /** - * Gets Currency to Ruble conversion Value - * @param {number} value - * @param {string} currencyFrom - * @returns number - */ - inRUB(value: number, currencyFrom: string): number; - /** - * Gets Ruble to Currency conversion Value - * @param {number} value - * @param {string} currencyTo - * @returns number - */ - fromRUB(value: number, currencyTo: string): number; -} -export {}; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HealthHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HealthHelper.d.ts deleted file mode 100644 index 3116c9c..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HealthHelper.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IHealthConfig } from "../models/spt/config/IHealthConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class HealthHelper { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected configServer: ConfigServer; - protected healthConfig: IHealthConfig; - constructor(jsonUtil: JsonUtil, logger: ILogger, timeUtil: TimeUtil, saveServer: SaveServer, configServer: ConfigServer); - /** - * Resets the profiles vitality/healh and vitality/effects properties to their defaults - * @param sessionID Session Id - * @returns updated profile - */ - resetVitality(sessionID: string): IAkiProfile; - /** - * Update player profile with changes from request object - * @param pmcData Player profile - * @param info Request object - * @param sessionID Session id - * @param addEffects Should effects be added or removed (default - add) - */ - saveVitality(pmcData: IPmcData, info: ISyncHealthRequestData, sessionID: string, addEffects?: boolean): void; - protected saveHealth(pmcData: IPmcData, sessionID: string): void; - /** - * Save effects to profile - * Works by removing all effects and adding them back from profile - * Remoces empty 'Effects' objects if found - * @param pmcData Player profile - * @param sessionID Session id - * @param addEffects Should effects be added back to profile - * @returns - */ - protected saveEffects(pmcData: IPmcData, sessionID: string, addEffects: boolean): void; - /** - * Add effect to body part in profile - * @param pmcData Player profile - * @param effectBodyPart body part to edit - * @param effectType Effect to add to body part - */ - protected addEffect(pmcData: IPmcData, effectBodyPart: string, effectType: string): void; - protected isEmpty(map: any): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HideoutHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HideoutHelper.d.ts deleted file mode 100644 index 36e4009..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HideoutHelper.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Common, HideoutArea, Production, Productive } from "../models/eft/common/tables/IBotBase"; -import { Upd } from "../models/eft/common/tables/IItem"; -import { StageBonus } from "../models/eft/hideout/IHideoutArea"; -import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IHideoutConfig } from "../models/spt/config/IHideoutConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { PlayerService } from "../services/PlayerService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class HideoutHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected timeUtil: TimeUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected profileHelper: ProfileHelper; - protected inventoryHelper: InventoryHelper; - protected playerService: PlayerService; - protected configServer: ConfigServer; - 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; - /** - * This convinience function intialies new Production Object - * with all the constants. - */ - initProduction(recipeId: string, productionTime: number): Production; - isProductionType(productive: Productive): productive is Production; - applyPlayerUpgradesBonuses(pmcData: IPmcData, bonus: StageBonus): void; - protected applySkillXPBoost(pmcData: IPmcData, bonus: StageBonus): void; - updatePlayerHideout(sessionID: string): void; - protected updateWaterCollector(sessionId: string, pmcData: IPmcData, area: HideoutArea, isGeneratorOn: boolean): void; - protected doesWaterCollectorHaveFilter(waterCollector: HideoutArea): boolean; - protected updateFuel(generatorArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateWaterFilters(waterFilterArea: HideoutArea, pwProd: Production, isGeneratorOn: boolean, pmcData: IPmcData): HideoutArea; - protected getAreaUpdObject(stackCount: number, resourceValue: number, resourceUnitsConsumed: number): Upd; - protected updateAirFilters(airFilterArea: HideoutArea, pmcData: IPmcData): HideoutArea; - protected updateBitcoinFarm(pmcData: IPmcData, btcFarmCGs: number, isGeneratorOn: boolean): Production; - protected getBTCSlots(pmcData: IPmcData): number; - protected getManagementSkillsSlots(): number; - protected hasManagementSkillSlots(pmcData: IPmcData): boolean; - protected getHideoutManagementSkill(pmcData: IPmcData): Common; - protected getHideoutManagementConsumptionBonus(pmcData: IPmcData): number; - isProduction(productive: Productive): productive is Production; - getBTC(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HttpServerHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HttpServerHelper.d.ts deleted file mode 100644 index c6e5296..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/HttpServerHelper.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class HttpServerHelper { - protected configServer: ConfigServer; - protected httpConfig: IHttpConfig; - protected mime: { - css: string; - bin: string; - html: string; - jpg: string; - js: string; - json: string; - png: string; - svg: string; - txt: string; - }; - constructor(configServer: ConfigServer); - getMimeText(key: string): string; - buildUrl(): string; - getBackendUrl(): string; - getWebsocketUrl(): string; - sendTextJson(resp: any, output: any): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/InRaidHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/InRaidHelper.d.ts deleted file mode 100644 index c3cbfbb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/InRaidHelper.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Victim } from "../models/eft/common/tables/IBotBase"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { InventoryHelper } from "./InventoryHelper"; -import { PaymentHelper } from "./PaymentHelper"; -export declare class InRaidHelper { - protected logger: ILogger; - protected saveServer: SaveServer; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, saveServer: SaveServer, jsonUtil: JsonUtil, databaseServer: DatabaseServer, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Reset the SPT inraid property stored in a profile to 'none' - * @param sessionID Session id - */ - protected removePlayer(sessionID: string): void; - /** - * Some maps have one-time-use keys (e.g. Labs - * Remove the relevant key from an inventory based on the post-raid request data passed in - * @param offraidData post-raid data - * @param sessionID Session id - */ - protected removeMapAccessKey(offraidData: ISaveProgressRequestData, sessionID: string): void; - /** - * Check an array of items and add an upd object to money items with a stack count of 1 - * Single stack money items have no upd object and thus no StackObjectsCount, causing issues - * @param items Items array to check - */ - addUpdToMoneyFromRaid(items: Item[]): void; - /** - * Add karma changes up and return the new value - * @param existingFenceStanding Current fence standing level - * @param victims Array of kills player performed - * @returns adjusted karma level after kills are taken into account - */ - calculateFenceStandingChangeFromKills(existingFenceStanding: number, victims: Victim[]): number; - /** - * Reset a profile to a baseline, used post-raid - * Reset points earned during session property - * Increment exp - * Remove Labs keycard - * @param profileData Profile to update - * @param saveProgressRequest post raid save data request data - * @param sessionID Sessino id - * @returns Reset profile object - */ - updateProfileBaseStats(profileData: IPmcData, saveProgressRequest: ISaveProgressRequestData, sessionID: string): IPmcData; - /** - * Adds SpawnedInSession property to items found in a raid - * Removes SpawnedInSession for non-scav players if item was taken into raid with SpawnedInSession = true - * @param preRaidProfile profile to update - * @param postRaidProfile profile to upate inventory contents of - * @param isPlayerScav Was this a p scav raid - * @returns - */ - addSpawnedInSessionPropertyToItems(preRaidProfile: IPmcData, postRaidProfile: IPmcData, isPlayerScav: boolean): IPmcData; - /** - * Iterate over inventory items and remove the property that defines an item as Found in Raid - * Only removes property if item had FiR when entering raid - * @param postRaidProfile profile to update items for - * @returns Updated profile with SpawnedInSession removed - */ - removeSpawnedInSessionPropertyFromItems(postRaidProfile: IPmcData): IPmcData; - /** - * Update a players inventory post-raid - * Remove equipped items from pre-raid - * Add new items found in raid to profile - * Store insurance items in profile - * @param sessionID - * @param pmcData Profile to update - * @param postRaidProfile Profile returned by client after a raid - * @returns Updated profile - */ - setInventory(sessionID: string, pmcData: IPmcData, postRaidProfile: IPmcData): IPmcData; - /** - * Clear pmc inventory of all items except those that are exempt - * Used post-raid to remove items after death - * @param pmcData Player profile - * @param sessionID Session id - * @returns Player profile with pmc inventory cleared - */ - deleteInventory(pmcData: IPmcData, sessionID: string): IPmcData; - /** - * Does the provided items slotId mean its kept on the player after death - * @param slotId slotid of item to check - * @returns true if item is kept after death - */ - isItemKeptAfterDeath(slotId: string): boolean; - getPlayerGear(items: Item[]): Item[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/InventoryHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/InventoryHelper.d.ts deleted file mode 100644 index dc7cbca..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/InventoryHelper.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IAddItemRequestData } from "../models/eft/inventory/IAddItemRequestData"; -import { IInventoryMergeRequestData } from "../models/eft/inventory/IInventoryMergeRequestData"; -import { IInventoryMoveRequestData } from "../models/eft/inventory/IInventoryMoveRequestData"; -import { IInventorySplitRequestData } from "../models/eft/inventory/IInventorySplitRequestData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IInventoryConfig } from "../models/spt/config/IInventoryConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { HashUtil } from "../utils/HashUtil"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { ContainerHelper } from "./ContainerHelper"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class InventoryHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected httpResponse: HttpResponseUtil; - protected fenceService: FenceService; - protected databaseServer: DatabaseServer; - protected paymentHelper: PaymentHelper; - protected traderAssortHelper: TraderAssortHelper; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected containerHelper: ContainerHelper; - protected profileHelper: ProfileHelper; - protected configServer: ConfigServer; - protected inventoryConfig: IInventoryConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, httpResponse: HttpResponseUtil, fenceService: FenceService, databaseServer: DatabaseServer, paymentHelper: PaymentHelper, traderAssortHelper: TraderAssortHelper, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, containerHelper: ContainerHelper, profileHelper: ProfileHelper, configServer: ConfigServer); - addItem(pmcData: IPmcData, body: IAddItemRequestData, output: IItemEventRouterResponse, sessionID: string, callback: any, foundInRaid?: boolean, addUpd?: any): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, itemId: string, sessionID: string, output?: IItemEventRouterResponse): IItemEventRouterResponse; - getItemSize(itemTpl: string, itemID: string, inventoryItem: Item[]): Record; - protected getSizeByInventoryItemHash(itemTpl: string, itemID: string, inventoryItemHash: InventoryHelper.InventoryItemHash): Record; - protected getInventoryItemHash(inventoryItem: Item[]): InventoryHelper.InventoryItemHash; - getContainerMap(containerW: number, containerH: number, itemList: Item[], containerId: string): number[][]; - /** - * Based on the item action, determine whose inventories we should be looking at for from and to. - */ - getOwnerInventoryItems(body: IInventoryMoveRequestData | IInventorySplitRequestData | IInventoryMergeRequestData, sessionID: string): OwnerInventoryItems; - /** - * Made a 2d array table with 0 - free slot and 1 - used slot - * @param {Object} pmcData - * @param {string} sessionID - * @returns Array - */ - protected getStashSlotMap(pmcData: IPmcData, sessionID: string): number[][]; - protected getStashType(sessionID: string): string; - protected getPlayerStashSize(sessionID: string): Record; - /** - * Internal helper function to transfer an item from one profile to another. - * fromProfileData: Profile of the source. - * toProfileData: Profile of the destination. - * body: Move request - */ - moveItemToProfile(fromItems: Item[], toItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to move item within the same profile_f. - */ - moveItemInternal(inventoryItems: Item[], body: IInventoryMoveRequestData): void; - /** - * Internal helper function to handle cartridges in inventory if any of them exist. - */ - protected handleCartridges(items: Item[], body: IInventoryMoveRequestData): void; -} -declare namespace InventoryHelper { - interface InventoryItemHash { - byItemId: Record; - byParentId: Record; - } -} -export {}; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ItemHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ItemHelper.d.ts deleted file mode 100644 index 1701c62..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ItemHelper.d.ts +++ /dev/null @@ -1,206 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { InsuredItem } from "../models/eft/common/tables/IBotBase"; -import { Item, Repairable } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -declare class ItemHelper { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Checks if a id is a valid item. Valid meaning that it's an item that be stored in stash - * @param {string} tpl the template id / tpl - * @returns boolean; true for items that may be in player posession and not quest items - */ - isValidItem(tpl: string, invalidBaseTypes?: string[]): boolean; - /** - * Checks if an id is a valid item. Valid meaning that it's an item that may be a reward - * or content of bot loot. Items that are tested as valid may be in a player backpack or stash. - * @param {*} tpl template id of item to check - * @returns boolean: true if item is valid reward - */ - isValidRewardItem(tpl: string): boolean; - /** - * Picks rewardable items from items.json. This means they need to fit into the inventory and they shouldn't be keys (debatable) - * @returns a list of rewardable items [[_tpl, itemTemplate],...] - */ - getRewardableItems(): [string, ITemplateItem][]; - /** - * Check if the tpl / template Id provided is a descendent of the baseclass - * - * @param {string} tpl the item template id to check - * @param {string} baseclassTpl the baseclass to check for - * @return {boolean} is the tpl a descendent? - */ - isOfBaseclass(tpl: string, baseclassTpl: string): boolean; - /** - * Returns the item price based on the handbook or as a fallback from the prices.json if the item is not - * found in the handbook. If the price can't be found at all return 0 - * - * @param {string} tpl the item template to check - * @returns {integer} The price of the item or 0 if not found - */ - getItemPrice(tpl: string): number; - fixItemStackCount(item: Item): Item; - /** - * AmmoBoxes contain StackSlots which need to be filled for the AmmoBox to have content. - * Here's what a filled AmmoBox looks like: - * { - * "_id": "b1bbe982daa00ac841d4ae4d", - * "_tpl": "57372c89245977685d4159b1", - * "parentId": "5fe49a0e2694b0755a504876", - * "slotId": "hideout", - * "location": { - * "x": 3, - * "y": 4, - * "r": 0 - * }, - * "upd": { - * "StackObjectsCount": 1 - * } - * }, - * { - * "_id": "b997b4117199033afd274a06", - * "_tpl": "56dff061d2720bb5668b4567", - * "parentId": "b1bbe982daa00ac841d4ae4d", - * "slotId": "cartridges", - * "location": 0, - * "upd": { - * "StackObjectsCount": 30 - * } - * } - * Given the AmmoBox Item (first object) this function generates the StackSlot (second object) and returns it. - * StackSlots are only used for AmmoBoxes which only have one element in StackSlots. However, it seems to be generic - * to possibly also have more than one StackSlot. As good as possible, without seeing items having more than one - * StackSlot, this function takes account of this and creates and returns an array of StackSlotItems - * - * @param {object} item The item template of the AmmoBox as given in items.json - * @param {string} parentId The id of the AmmoBox instance these StackSlotItems should be children of - * @returns {array} The array of StackSlotItems - */ - generateItemsFromStackSlot(item: ITemplateItem, parentId: string): Item[]; - /** - * Gets item data from items.json - * @param tpl items template id to look up - * @returns bool - is valid + template item object as array - */ - getItem(tpl: string): [boolean, ITemplateItem]; - /** - * get normalized value (0-1) based on item condition - * @param item - * @returns number between 0 and 1 - */ - getItemQualityModifier(item: Item): number; - /** - * Get a quality value based on a repairable items (weapon/armor) current state between current and max durability - * @param itemDetails - * @param repairable repairable object - * @param item - * @returns a number between 0 and 1 - */ - protected getRepairableItemQualityValue(itemDetails: ITemplateItem, repairable: Repairable, item: Item): number; - /** - * Recursive function that looks at every item from parameter and gets their childrens Ids - * @param items - * @param itemID - * @returns an array of strings - */ - findAndReturnChildrenByItems(items: Item[], itemID: string): string[]; - /** - * A variant of findAndReturnChildren where the output is list of item objects instead of their ids. - * @param items - * @param baseItemId - * @returns An array of Item objects - */ - findAndReturnChildrenAsItems(items: Item[], baseItemId: string): Item[]; - /** - * Find children of the item in a given assort (weapons parts for example, need recursive loop function) - * @param itemIdToFind Template id of item to check for - * @param assort Array of items to check in - * @returns Array of children of requested item - */ - findAndReturnChildrenByAssort(itemIdToFind: string, assort: Item[]): Item[]; - /** - * Check if the passed in item has buy count restrictions - * @param itemToCheck Item to check - * @returns true if it has buy restrictions - */ - hasBuyRestrictions(itemToCheck: Item): boolean; - /** - * is the passed in template id a dog tag - * @param tpl Template id to check - * @returns true if it is a dogtag - */ - isDogtag(tpl: string): boolean; - /** - * Can the item passed in be sold to a trader because it is raw money - * @param tpl Item template id to check - * @returns true if unsellable - */ - isNotSellable(tpl: string): boolean; - /** - * Gets the identifier for a child using slotId, locationX and locationY. - * @param item - * @returns "slotId OR slotid,locationX,locationY" - */ - getChildId(item: Item): string; - /** - * Can the pased in item be stacked - * @param tpl item to check - * @returns true if it can be stacked - */ - isItemTplStackable(tpl: string): boolean; - /** - * split item stack if it exceeds StackMaxSize - */ - splitStack(item: Item): Item[]; - /** - * Find Barter items in the inventory - * @param {string} by - * @param {Object} pmcData - * @param {string} barterItemId - * @returns Array of Item objects - */ - findBarterItems(by: string, pmcData: IPmcData, barterItemId: string): Item[]; - /** - * - * @param pmcData - * @param items - * @param insuredItems insured items to not replace ids for - * @param fastPanel - * @returns - */ - replaceIDs(pmcData: IPmcData, items: Item[], insuredItems?: InsuredItem[], fastPanel?: any): any[]; - /** - * Recursivly loop down through an items hierarchy to see if any of the ids match the supplied list, return true if any do - * @param {string} tpl - * @param {Array} tplsToCheck - * @returns boolean - */ - doesItemOrParentsIdMatch(tpl: string, tplsToCheck: string[]): boolean; - /** - * Return true if item is a quest item - * @param {string} tpl - * @returns boolean - */ - isQuestItem(tpl: string): boolean; - /** - * Get the inventory size of an item - * @param items - * @param rootItemId - * @returns ItemSize object (width and height) - */ - getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize; -} -declare namespace ItemHelper { - interface ItemSize { - width: number; - height: number; - } -} -export { ItemHelper }; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/NotificationSendHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/NotificationSendHelper.d.ts deleted file mode 100644 index 34e62d9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/NotificationSendHelper.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { NotificationService } from "../services/NotificationService"; -export declare class NotificationSendHelper { - protected httpServer: IHttpServer; - protected notificationService: NotificationService; - constructor(httpServer: IHttpServer, notificationService: NotificationService); - /** - * Send notification message to the appropiate channel - */ - sendMessage(sessionID: string, notificationMessage: INotification): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/NotifierHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/NotifierHelper.d.ts deleted file mode 100644 index 738b69a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/NotifierHelper.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -import { Message, MessageContentRagfair } from "../models/eft/profile/IAkiProfile"; -import { HttpServerHelper } from "./HttpServerHelper"; -export declare class NotifierHelper { - protected httpServerHelper: HttpServerHelper; - /** - * The default notification sent when waiting times out. - */ - protected defaultNotification: INotification; - constructor(httpServerHelper: HttpServerHelper); - getDefaultNotification(): INotification; - /** Creates a new notification that displays the "Your offer was sold!" prompt and removes sold offer from "My Offers" on clientside */ - createRagfairOfferSoldNotification(dialogueMessage: Message, ragfairData: MessageContentRagfair): INotification; - /** Creates a new notification with the specified dialogueMessage object. */ - createNewMessageNotification(dialogueMessage: Message): INotification; - getWebSocketServer(sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/PaymentHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/PaymentHelper.d.ts deleted file mode 100644 index 2d068a4..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/PaymentHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export declare class PaymentHelper { - /** - * Check whether tpl is Money - * @param {string} tpl - * @returns void - */ - isMoneyTpl(tpl: string): boolean; - /** - * Gets currency TPL from TAG - * @param {string} currency - * @returns string - */ - getCurrency(currency: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/PresetHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/PresetHelper.d.ts deleted file mode 100644 index a469582..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/PresetHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Preset } from "../models/eft/common/IGlobals"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -export declare class PresetHelper { - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected lookup: Record; - constructor(jsonUtil: JsonUtil, databaseServer: DatabaseServer); - hydratePresetStore(input: Record): void; - isPreset(id: string): boolean; - hasPreset(templateId: string): boolean; - getPreset(id: string): Preset; - getPresets(templateId: string): Preset[]; - getDefaultPreset(templateId: string): Preset; - getBaseItemTpl(presetId: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ProbabilityHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ProbabilityHelper.d.ts deleted file mode 100644 index 7a0676c..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ProbabilityHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class ProbabilityHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - constructor(logger: ILogger, randomUtil: RandomUtil); - /** - * Chance to roll a number out of 100 - * @param chance Percentage chance roll should success - * @param scale scale of chance to allow support of numbers > 1-100 - * @returns true if success - */ - rollChance(chance: number, scale?: number): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ProfileHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ProfileHelper.d.ts deleted file mode 100644 index 6c150c8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/ProfileHelper.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Stats } from "../models/eft/common/tables/IBotBase"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -export declare class ProfileHelper { - protected jsonUtil: JsonUtil; - protected watermark: Watermark; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected itemHelper: ItemHelper; - protected fenceService: FenceService; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, fenceService: FenceService); - resetProfileQuestCondition(sessionID: string, conditionId: string): void; - getCompleteProfile(sessionID: string): IPmcData[]; - isNicknameTaken(info: IValidateNicknameRequestData, sessionID: string): boolean; - /** - * Add experience to a PMC inside the players profile - * @param sessionID Session id - * @param experienceToAdd Experiecne to add to PMC character - */ - addExperienceToPmc(sessionID: string, experienceToAdd: number): void; - getProfileByPmcId(pmcId: string): IPmcData; - getExperience(level: number): number; - getMaxLevel(): number; - getDefaultAkiDataObject(): any; - getFullProfile(sessionID: string): IAkiProfile; - getPmcProfile(sessionID: string): IPmcData; - getScavProfile(sessionID: string): IPmcData; - getDefaultCounters(): Stats; - protected isWiped(sessionID: string): boolean; - protected getServerVersion(): string; - /** - * Iterate over player profile inventory items and find the secure container and remove it - * @param profile Profile to remove secure container from - * @returns profile without secure container - */ - removeSecureContainer(profile: IPmcData): IPmcData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/QuestConditionHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/QuestConditionHelper.d.ts deleted file mode 100644 index 90ee560..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/QuestConditionHelper.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { AvailableForConditions } from "../models/eft/common/tables/IQuest"; -export declare class QuestConditionHelper { - getQuestConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLevelConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - getLoyaltyConditions(q: AvailableForConditions[], furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; - protected filterConditions(q: AvailableForConditions[], questType: string, furtherFilter?: (a: AvailableForConditions) => AvailableForConditions[]): AvailableForConditions[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/QuestHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/QuestHelper.d.ts deleted file mode 100644 index 0f68cd5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/QuestHelper.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { AvailableForConditions, AvailableForProps, IQuest, Reward } from "../models/eft/common/tables/IQuest"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData"; -import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData"; -import { QuestStatus } from "../models/enums/QuestStatus"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { TraderHelper } from "./TraderHelper"; -export declare class QuestHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemHelper: ItemHelper; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - protected ragfairServerHelper: RagfairServerHelper; - protected dialogueHelper: DialogueHelper; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected traderHelper: TraderHelper; - protected configServer: ConfigServer; - protected questConfig: IQuestConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, timeUtil: TimeUtil, hashUtil: HashUtil, itemHelper: ItemHelper, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, localeService: LocaleService, ragfairServerHelper: RagfairServerHelper, dialogueHelper: DialogueHelper, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, traderHelper: TraderHelper, configServer: ConfigServer); - questStatus(pmcData: IPmcData, questID: string): QuestStatus; - /** - * returns true is the condition is satisfied - */ - evaluateLevel(pmcProfile: IPmcData, cond: AvailableForConditions): boolean; - getDeltaQuests(before: IQuest[], after: IQuest[]): IQuest[]; - rewardSkillPoints(sessionID: string, pmcData: IPmcData, output: IItemEventRouterResponse, skillName: string, progress: number): void; - getQuestLocale(questId: string): any; - /** - * Debug Routine for showing some information on the - * quest list in question. - */ - dumpQuests(quests: any): void; - loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean; - protected processReward(reward: Reward): any[]; - getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[]; - /** - * Add quest with new state value to pmc profile - * @param pmcData profile to add quest to - * @param newState state the new quest should be in when added - * @param acceptedQuest Details of quest being added - */ - addQuestToPMCData(pmcData: IPmcData, newState: QuestStatus, acceptedQuest: IAcceptQuestRequestData): void; - acceptedUnlocked(acceptedQuestId: string, sessionID: string): IQuest[]; - failedUnlocked(failedQuestId: string, sessionID: string): IQuest[]; - applyMoneyBoost(quest: IQuest, moneyBoost: number): IQuest; - changeItemStack(pmcData: IPmcData, id: string, value: number, sessionID: string, output: any): void; - /** - * Get List of All Quests as an array - * @returns Array of IQuest objects - */ - questValues(): IQuest[]; - /** - * Reest AvailableForStart conditions for quests - * @param quests queststo clean - * @returns quest array without conditions - */ - protected cleanQuestList(quests: IQuest[]): IQuest[]; - /** - * Reset AvailableForStart conditions on a quest - * @param quest quest to clean - * @returns reset IQuest object - */ - cleanQuestConditions(quest: IQuest): IQuest; - failQuest(pmcData: IPmcData, body: any, sessionID: string): any; - /** - * Get quest by id from database - * @param questId questid to look for - * @param pmcData player profile - * @returns IQuest object - */ - getQuestFromDb(questId: string, pmcData: IPmcData): IQuest; - getQuestLocaleIdFromDb(messageId: string): string; - /** - * Alter a quests state + Add a record to tis status timers object - * @param pmcData Profile to update - * @param newQuestState new state the qeust should be in - * @param questId id of the quest to alter the status of - */ - updateQuestState(pmcData: IPmcData, newQuestState: QuestStatus, questId: string): void; - /** - * Give player quest rewards - Skills/exp/trader standing/items/assort unlocks - * @param pmcData Player profile - * @param body complete quest request - * @param state State of the quest now its complete - * @param sessionID Seession id - * @returns array of reward objects - */ - applyQuestReward(pmcData: IPmcData, body: ICompleteQuestRequestData, state: QuestStatus, sessionID: string): Reward[]; - /** - * Get the intel center bonus a player has - * @param pmcData player profile - * @returns bonus in percent - */ - protected getIntelCenterRewardBonus(pmcData: IPmcData): number; - getFindItemIdForQuestItem(itemTpl: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairHelper.d.ts deleted file mode 100644 index 2c8dbb5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairHelper.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IGetOffersResult } from "../models/eft/ragfair/IGetOffersResult"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairLinkedItemService } from "../services/RagfairLinkedItemService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { TraderAssortHelper } from "./TraderAssortHelper"; -import { UtilityHelper } from "./UtilityHelper"; -export declare class RagfairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected traderAssortHelper: TraderAssortHelper; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected ragfairLinkedItemService: RagfairLinkedItemService; - protected utilityHelper: UtilityHelper; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, traderAssortHelper: TraderAssortHelper, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, ragfairLinkedItemService: RagfairLinkedItemService, utilityHelper: UtilityHelper, configServer: ConfigServer); - /** - * Gets currency TAG from TPL - * @param {string} currency - * @returns string - */ - getCurrencyTag(currency: string): string; - filterCategories(sessionID: string, info: ISearchRequestData): string[]; - getDisplayableAssorts(sessionID: string): Record; - protected getCategoryList(handbookId: string): string[]; - countCategories(result: IGetOffersResult): void; - /** - * Merges Root Items - * Ragfair allows abnormally large stacks. - */ - mergeStackable(items: Item[]): Item[]; - getCurrencySymbol(currencyTpl: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairOfferHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairOfferHelper.d.ts deleted file mode 100644 index 8d03bee..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairOfferHelper.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ISearchRequestData } from "../models/eft/ragfair/ISearchRequestData"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { HashUtil } from "../utils/HashUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { PresetHelper } from "./PresetHelper"; -import { ProfileHelper } from "./ProfileHelper"; -import { RagfairHelper } from "./RagfairHelper"; -import { RagfairServerHelper } from "./RagfairServerHelper"; -import { RagfairSortHelper } from "./RagfairSortHelper"; -export declare class RagfairOfferHelper { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected hashUtil: HashUtil; - protected itemEventRouter: ItemEventRouter; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected dialogueHelper: DialogueHelper; - protected itemHelper: ItemHelper; - protected paymentHelper: PaymentHelper; - protected presetHelper: PresetHelper; - protected profileHelper: ProfileHelper; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairSortHelper: RagfairSortHelper; - protected ragfairHelper: RagfairHelper; - protected ragfairOfferService: RagfairOfferService; - protected localeService: LocaleService; - protected configServer: ConfigServer; - 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); - getValidOffers(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - getOffersForBuild(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, pmcProfile: IPmcData): IRagfairOffer[]; - processOffers(sessionID: string): boolean; - protected getProfileOffers(sessionID: string): IRagfairOffer[]; - protected deleteOfferByOfferId(sessionID: string, offerId: string): void; - protected completeOffer(sessionID: string, offer: IRagfairOffer, boughtAmount: number): IItemEventRouterResponse; - isDisplayableOffer(info: ISearchRequestData, itemsToAdd: string[], assorts: Record, offer: IRagfairOffer, pmcProfile: IPmcData): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairSellHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairSellHelper.d.ts deleted file mode 100644 index 6ec004a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairSellHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { SellResult } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class RagfairSellHelper { - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, randomUtil: RandomUtil, timeUtil: TimeUtil, configServer: ConfigServer); - calculateSellChance(baseChance: number, offerPrice: number, requirementsPriceInRub: number): number; - rollForSale(sellChance: number, count: number): SellResult[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairServerHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairServerHelper.d.ts deleted file mode 100644 index e4939d1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairServerHelper.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { MemberCategory } from "../models/enums/MemberCategory"; -import { IQuestConfig } from "../models/spt/config/IQuestConfig"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { LocaleService } from "../services/LocaleService"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { DialogueHelper } from "./DialogueHelper"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class RagfairServerHelper { - protected randomUtil: RandomUtil; - protected hashUtil: HashUtil; - protected saveServer: SaveServer; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected itemHelper: ItemHelper; - protected localeService: LocaleService; - protected dialogueHelper: DialogueHelper; - protected jsonUtil: JsonUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected questConfig: IQuestConfig; - protected static 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 - * @param itemDetails - * @returns boolean - */ - isItemValidRagfairItem(itemDetails: [boolean, ITemplateItem]): boolean; - protected isItemBlacklisted(itemTemplateId: string): boolean; - isTrader(userID: string): boolean; - isPlayer(userID: string): boolean; - returnItems(sessionID: string, items: any[]): void; - calculateDynamicStackCount(tplId: string, isWeaponPreset: boolean): number; - getDynamicOfferCurrency(): string; - getMemberType(userID: string): MemberCategory; - getNickname(userID: string): string; - getPresetItems(item: any): Item[]; - getPresetItemsByTpl(item: Item): Item[]; - reparentPresets(item: Item, preset: Item[]): Item[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairSortHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairSortHelper.d.ts deleted file mode 100644 index d20e10c..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairSortHelper.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { LocaleService } from "../services/LocaleService"; -export declare class RagfairSortHelper { - protected databaseServer: DatabaseServer; - protected localeService: LocaleService; - constructor(databaseServer: DatabaseServer, localeService: LocaleService); - sortOffers(offers: IRagfairOffer[], type: number, direction?: number): IRagfairOffer[]; - protected sortOffersByID(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByRating(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByName(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByPrice(a: IRagfairOffer, b: IRagfairOffer): number; - protected sortOffersByExpiry(a: IRagfairOffer, b: IRagfairOffer): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairTaxHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairTaxHelper.d.ts deleted file mode 100644 index 820facb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RagfairTaxHelper.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RagfairPriceService } from "../services/RagfairPriceService"; -import { ItemHelper } from "./ItemHelper"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairTaxHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected ragfairPriceService: RagfairPriceService; - protected itemHelper: ItemHelper; - constructor(logger: ILogger, databaseServer: DatabaseServer, ragfairPriceService: RagfairPriceService, itemHelper: ItemHelper); - calculateTax(item: Item, pmcData: IPmcData, requirementsValue: number, offerItemCount: number, sellInOnePiece: boolean): number; - protected calculateItemWorth(item: Item, itemTemplate: ITemplateItem, itemCount: number, pmcData: IPmcData, isRootItem?: boolean): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RepairHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RepairHelper.d.ts deleted file mode 100644 index 9a3ab29..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/RepairHelper.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { IRepairConfig } from "../models/spt/config/IRepairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RepairHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected configServer: ConfigServer; - protected repairConfig: IRepairConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, configServer: ConfigServer); - updateItemDurability(itemToRepair: Item, itemToRepairDetails: ITemplateItem, isArmor: boolean, amountToRepair: number, useRepairKit?: boolean, applyRandomDegradation?: boolean): Item; - protected getRandomisedArmorRepairDegredationValue(armorMaterial: string, isRepairKit: boolean, armorMax: number): number; - protected getRandomisedWeaponRepairDegredationValue(itemProps: Props, isRepairKit: boolean, armorMax: number): number; - isWeaponTemplate(tpl: string): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/SecureContainerHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/SecureContainerHelper.d.ts deleted file mode 100644 index 9e2bc32..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/SecureContainerHelper.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Item } from "../models/eft/common/tables/IItem"; -import { ItemHelper } from "./ItemHelper"; -export interface OwnerInventoryItems { - from: Item[]; - to: Item[]; - sameInventory: boolean; - isMail: boolean; -} -export declare class SecureContainerHelper { - protected itemHelper: ItemHelper; - constructor(itemHelper: ItemHelper); - getSecureContainerItems(items: Item[]): string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TradeHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TradeHelper.d.ts deleted file mode 100644 index 975062b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TradeHelper.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item, Upd } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { RagfairServer } from "../servers/RagfairServer"; -import { FenceService } from "../services/FenceService"; -import { PaymentService } from "../services/PaymentService"; -export declare class TradeHelper { - protected logger: ILogger; - protected itemEventRouter: ItemEventRouter; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected paymentService: PaymentService; - protected fenceService: FenceService; - protected inventoryHelper: InventoryHelper; - protected ragfairServer: RagfairServer; - constructor(logger: ILogger, itemEventRouter: ItemEventRouter, traderHelper: TraderHelper, itemHelper: ItemHelper, paymentService: PaymentService, fenceService: FenceService, inventoryHelper: InventoryHelper, ragfairServer: RagfairServer); - /** - * Buy item from flea or trader - * @param pmcData - * @param buyRequestData data from client - * @param sessionID - * @param foundInRaid - * @param upd optional item details used when buying from flea - * @returns - */ - buyItem(pmcData: IPmcData, buyRequestData: IProcessBuyTradeRequestData, sessionID: string, foundInRaid: boolean, upd: Upd): IItemEventRouterResponse; - /** - * Sell item to trader - * @param pmcData - * @param body - * @param sessionID - * @returns - */ - sellItem(pmcData: IPmcData, body: IProcessSellTradeRequestData, sessionID: string): IItemEventRouterResponse; - protected incrementAssortBuyCount(assortBeingPurchased: Item, itemsPurchasedCount: number): void; - protected checkPurchaseIsWithinTraderItemLimit(assortBeingPurchased: Item, assortId: string, count: number): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TraderAssortHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TraderAssortHelper.d.ts deleted file mode 100644 index 91ba6b9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TraderAssortHelper.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { RagfairAssortGenerator } from "../generators/RagfairAssortGenerator"; -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { FenceService } from "../services/FenceService"; -import { TraderAssortService } from "../services/TraderAssortService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { MathUtil } from "../utils/MathUtil"; -import { AssortHelper } from "./AssortHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderAssortHelper { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected mathUtil: MathUtil; - protected databaseServer: DatabaseServer; - protected profileHelper: ProfileHelper; - protected assortHelper: AssortHelper; - protected paymentHelper: PaymentHelper; - protected ragfairAssortGenerator: RagfairAssortGenerator; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected traderAssortService: TraderAssortService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, jsonUtil: JsonUtil, mathUtil: MathUtil, databaseServer: DatabaseServer, profileHelper: ProfileHelper, assortHelper: AssortHelper, paymentHelper: PaymentHelper, ragfairAssortGenerator: RagfairAssortGenerator, ragfairOfferGenerator: RagfairOfferGenerator, traderAssortService: TraderAssortService, fenceService: FenceService, configServer: ConfigServer); - /** - * Get a traders assorts - * Can be used for returning ragfair / fence assorts - * @param sessionId session id - * @param traderId trader id - * @returns a traders assorts - */ - getAssort(sessionId: string, traderId: string): ITraderAssort; - /** - * Iterate over all assorts barter_scheme values, find barters selling for money and multiply by multipler in config - * @param traderAssort Assorts to multiple price of - */ - protected multiplyItemPricesByConfigMultipler(traderAssort: ITraderAssort): void; - /** - * Get an array of pristine trader items prior to any alteration by player (as they were on server start) - * @param traderId trader id - * @returns array of Items - */ - protected getPristineTraderAssorts(traderId: string): Item[]; - /** - * Returns generated ragfair offers in a trader assort format - * @returns Trader assort object - */ - protected getRagfairDataAsTraderAssort(): ITraderAssort; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TraderHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TraderHelper.d.ts deleted file mode 100644 index b2e9d38..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/TraderHelper.d.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { FenceService } from "../services/FenceService"; -import { PlayerService } from "../services/PlayerService"; -import { HandbookHelper } from "./HandbookHelper"; -import { ItemHelper } from "./ItemHelper"; -import { PaymentHelper } from "./PaymentHelper"; -import { ProfileHelper } from "./ProfileHelper"; -export declare class TraderHelper { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected profileHelper: ProfileHelper; - protected paymentHelper: PaymentHelper; - protected itemHelper: ItemHelper; - protected handbookHelper: HandbookHelper; - protected playerService: PlayerService; - protected fenceService: FenceService; - protected configServer: ConfigServer; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, saveServer: SaveServer, profileHelper: ProfileHelper, paymentHelper: PaymentHelper, itemHelper: ItemHelper, handbookHelper: HandbookHelper, playerService: PlayerService, fenceService: FenceService, configServer: ConfigServer); - getTrader(traderID: string, sessionID: string): ITraderBase; - getTraderAssortsById(traderId: string): ITraderAssort; - /** - * Reset a profiles trader data back to its initial state as seen by a level 1 player - * Does NOT take into account different profile levels - * @param sessionID session id - * @param traderID trader id to reset - */ - resetTrader(sessionID: string, traderID: string): void; - /** - * Alter a traders unlocked status - * @param traderID Trader to alter - * @param status New status to use - * @param sessionID Session id - */ - setTraderUnlockedState(traderID: string, status: boolean, sessionID: string): void; - /** - * Get a list of items and their prices from player inventory that can be sold to a trader - * @param traderID trader id being traded with - * @param sessionID session id - * @returns IBarterScheme[][] - */ - getPurchasesData(traderID: string, sessionID: string): Record; - /** - * Should item be skipped when selling to trader according to its sell categories and other checks - * @param pmcData - * @param item - * @param sellCategory - * @returns true if should NOT be sold to trader - */ - protected isItemUnSellableToTrader(pmcData: IPmcData, item: Item, sellCategory: string[]): boolean; - /** - * Can this weapon be sold to a trader with its current durabiltiy level - * @param traderID - * @param item - * @returns boolean - */ - protected isWeaponAndBelowTraderBuyDurability(traderID: string, item: Item): boolean; - /** - * Get the price of an item and all of its attached children - * Take into account bonuses/adjsutments e.g. discounts - * @param pmcData profile data - * @param item item to calculate price of - * @param buyPriceCoefficient - * @param fenceInfo fence data - * @param traderBase trader details - * @param currencyTpl Currency to get price as - * @returns price of item + children - */ - protected getAdjustedItemPrice(pmcData: IPmcData, item: Item, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderBase: ITraderBase, currencyTpl: string): number; - /** - * Get the raw price of item+child items from handbook without any modification - * @param pmcData profile data - * @param item item to calculate price of - * @returns price as number - */ - protected getRawItemPrice(pmcData: IPmcData, item: Item): number; - protected getTraderDiscount(trader: ITraderBase, buyPriceCoefficient: number, fenceInfo: FenceLevel, traderID: string): number; - /** - * Add standing to a trader and level them up if exp goes over level threshold - * @param sessionID Session id - * @param traderId traders id - * @param standingToAdd Standing value to add to trader - */ - addStandingToTrader(sessionID: string, traderId: string, standingToAdd: number): void; - /** - * Calculate traders level based on exp amount and increments level if over threshold - * @param traderID trader to process - * @param sessionID session id - */ - lvlUp(traderID: string, sessionID: string): void; - getTraderUpdateSeconds(traderId: string): number; - /** - * check if an item is allowed to be sold to a trader - * @param traderFilters array of allowed categories - * @param tplToCheck itemTpl of inventory - * @returns boolean - */ - traderFilter(traderFilters: string[], tplToCheck: string): boolean; - getLoyaltyLevel(traderID: string, pmcData: IPmcData): LoyaltyLevel; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/UtilityHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/UtilityHelper.d.ts deleted file mode 100644 index 5d9f482..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/UtilityHelper.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare class UtilityHelper { - arrayIntersect(a: T[], b: T[]): T[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/WeightedRandomHelper.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/WeightedRandomHelper.d.ts deleted file mode 100644 index 9aa0d29..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/helpers/WeightedRandomHelper.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -export declare class WeightedRandomHelper { - /** - * Gets a tplId from a weighted dictionary - * @param {tplId: weighting[]} itemArray - * @returns tplId - */ - getWeightedInventoryItem(itemArray: { - [tplId: string]: unknown; - } | ArrayLike): string; - /** - * Picks the random item based on its weight. - * The items with higher weight will be picked more often (with a higher probability). - * - * For example: - * - items = ['banana', 'orange', 'apple'] - * - weights = [0, 0.2, 0.8] - * - weightedRandom(items, weights) in 80% of cases will return 'apple', in 20% of cases will return - * 'orange' and it will never return 'banana' (because probability of picking the banana is 0%) - * - * @param {any[]} items - * @param {number[]} weights - * @returns {{item: any, index: number}} - */ - weightedRandom(items: string | any[], weights: string | any[]): { - item: any; - index: number; - }; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/BleedingEdgeEntry.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/BleedingEdgeEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/BleedingEdgeEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/Compiler.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/Compiler.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/Compiler.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/DebugEntry.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/DebugEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/DebugEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/ReleaseEntry.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/ReleaseEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/ReleaseEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/TestEntry.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/TestEntry.d.ts deleted file mode 100644 index fded23a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/ide/TestEntry.d.ts +++ /dev/null @@ -1 +0,0 @@ -import "reflect-metadata"; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/BundleLoader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/BundleLoader.d.ts deleted file mode 100644 index 06ad698..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/BundleLoader.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -declare class BundleInfo { - modPath: string; - key: string; - path: string; - filepath: string; - dependencyKeys: string[]; - constructor(modpath: string, bundle: any, bundlePath: string, bundleFilepath: string); -} -export declare class BundleLoader { - protected httpServerHelper: HttpServerHelper; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected bundles: Record; - constructor(httpServerHelper: HttpServerHelper, vfs: VFS, jsonUtil: JsonUtil); - getBundles(local: boolean): BundleInfo[]; - getBundle(key: string, local: boolean): BundleInfo; - addBundles(modpath: string): void; -} -export {}; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/DelayedModLoader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 2a05604..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected initialModLoader: InitialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/InitialModLoader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 68e47fe..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt300Compatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(mod: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PostAkiModLoader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PostAkiModLoader.d.ts deleted file mode 100644 index edc6e5d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PostAkiModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostAkiModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected preAkiModLoader: PreAkiModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, preAkiModLoader: PreAkiModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PostDBModLoader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PostDBModLoader.d.ts deleted file mode 100644 index 5101b7b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PostDBModLoader.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { OnLoad } from "../di/OnLoad"; -import { PreAkiModLoader } from "./PreAkiModLoader"; -export declare class PostDBModLoader implements OnLoad { - protected preAkiModLoader: PreAkiModLoader; - constructor(preAkiModLoader: PreAkiModLoader); - onLoad(): void; - getRoute(): string; - getModPath(mod: string): string; - protected executeMods(container: DependencyContainer): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PreAkiModLoader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PreAkiModLoader.d.ts deleted file mode 100644 index 6ded3c6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/loaders/PreAkiModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class PreAkiModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt3XXCompatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(pkg: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/common/MinMax.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/common/MinMax.d.ts deleted file mode 100644 index bc118a8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/common/MinMax.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface MinMax { - max: number; - min: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts deleted file mode 100644 index c49cef7..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/bot/IGenerateBotsRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface IGenerateBotsRequestData { - conditions: Condition[]; -} -export interface Condition { - Role: string; - Limit: number; - Difficulty: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IEmptyRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IEmptyRequestData.d.ts deleted file mode 100644 index 284d16e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IEmptyRequestData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export interface IEmptyRequestData { -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IGlobals.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IGlobals.d.ts deleted file mode 100644 index 9d28dbc..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IGlobals.d.ts +++ /dev/null @@ -1,1179 +0,0 @@ -import { Item } from "./tables/IItem"; -export interface IGlobals { - time: number; - config: Config; - bot_presets: BotPreset[]; - BotWeaponScatterings: BotWeaponScattering[]; - ItemPresets: Record; -} -export interface Config { - content: Content; - AimPunchMagnitude: number; - WeaponSkillProgressRate: number; - SkillAtrophy: boolean; - exp: Exp; - t_base_looting: number; - t_base_lockpicking: number; - armor: Armor; - SessionsToShowHotKeys: number; - MaxBotsAliveOnMap: number; - SavagePlayCooldown: number; - SavagePlayCooldownNdaFree: number; - MarksmanAccuracy: number; - SavagePlayCooldownDevelop: number; - TODSkyDate: string; - Mastering: Mastering[]; - GlobalItemPriceModifier: number; - TradingUnlimitedItems: boolean; - MaxLoyaltyLevelForAll: boolean; - GlobalLootChanceModifier: number; - TimeBeforeDeploy: number; - TimeBeforeDeployLocal: number; - LoadTimeSpeedProgress: number; - BaseLoadTime: number; - BaseUnloadTime: number; - BaseCheckTime: number; - Customization: Customization; - UncheckOnShot: boolean; - BotsEnabled: boolean; - ArmorMaterials: ArmorMaterials; - LegsOverdamage: number; - HandsOverdamage: number; - StomachOverdamage: number; - Health: Health; - rating: Rating; - tournament: Tournament; - RagFair: RagFair; - handbook: Handbook; - FractureCausedByFalling: Probability; - FractureCausedByBulletHit: Probability; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - Stamina: Stamina; - StaminaRestoration: StaminaRestoration; - StaminaDrain: StaminaDrain; - RequirementReferences: RequirementReferences; - RepairKitSettings: RepairKitSettings; - RestrictionsInRaid: RestrictionsInRaid[]; - SkillMinEffectiveness: number; - SkillFatiguePerPoint: number; - SkillFreshEffectiveness: number; - SkillFreshPoints: number; - SkillPointsBeforeFatigue: number; - SkillFatigueReset: number; - DiscardLimitsEnabled: boolean; - EventType: string[]; - WalkSpeed: xyz; - SprintSpeed: xyz; - SkillEnduranceWeightThreshold: number; - TeamSearchingTimeout: number; - Insurance: Insurance; - SkillExpPerLevel: number; - GameSearchingTimeout: number; - WallContusionAbsorption: xyz; - SkillsSettings: SkillsSettings; - AzimuthPanelShowsPlayerOrientation: boolean; - Aiming: Aiming; - Malfunction: Malfunction; - Overheat: Overheat; - FenceSettings: FenceSettings; - TestValue: number; - Inertia: Inertia; - Ballistic: Ballistic; -} -export interface Content { - ip: string; - port: number; - root: string; -} -export interface Exp { - heal: Heal; - match_end: MatchEnd; - kill: Kill; - level: Level; - loot_attempts: LootAttempt[]; - expForLockedDoorOpen: number; - expForLockedDoorBreach: number; - triggerMult: number; -} -export interface Heal { - expForHeal: number; - expForHydration: number; - expForEnergy: number; -} -export interface MatchEnd { - README: string; - survived_exp_requirement: number; - survived_seconds_requirement: number; - survived_exp_reward: number; - mia_exp_reward: number; - runner_exp_reward: number; - leftMult: number; - miaMult: number; - survivedMult: number; - runnerMult: number; - killedMult: number; -} -export interface Kill { - combo: Combo[]; - victimLevelExp: number; - headShotMult: number; - expOnDamageAllHealth: number; - longShotDistance: number; - bloodLossToLitre: number; - victimBotLevelExp: number; -} -export interface Combo { - percent: number; -} -export interface Level { - exp_table: ExpTable[]; - trade_level: number; - savage_level: number; - clan_level: number; - mastering1: number; - mastering2: number; -} -export interface ExpTable { - exp: number; -} -export interface LootAttempt { - k_exp: number; -} -export interface Armor { - class: Class[]; -} -export interface Class { - resistance: number; -} -export interface Mastering { - Name: string; - Templates: string[]; - Level2: number; - Level3: number; -} -export interface Customization { - SavageHead: SavageHead; - SavageBody: SavageBody; - SavageFeet: SavageFeet; - CustomizationVoice: CustomizationVoice[]; - BodyParts: BodyParts; -} -export interface SavageHead { - wild_head_1: WildHead; - wild_head_2: WildHead; - wild_head_3: WildHead; - Wild_Dealmaker_head: WildHead; - Wild_Killa_head: WildHead; - bear_head: WildHead; - bear_head_1: WildHead; - usec_head_1: WildHead; - Head_BOSS_Glukhar: WildHead; - Wild_Head_nonMesh: WildHead; - Head_BOSS_Sanitar: WildHead; - wild_head_drozd: WildHead; - wild_head_misha: WildHead; - head_cultist_01: WildHead; - head_cultist_02: WildHead; - head_cultist_03: WildHead; - DefaultUsecHead: WildHead; - usec_head_3: WildHead; - usec_head_4: WildHead; - usec_head_5: WildHead; -} -export interface WildHead { - head: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface SavageBody { - wild_body: WildBody; - wild_body_1: WildBody; - wild_body_2: WildBody; - wild_body_3: WildBody; - Wild_Dealmaker_body: WildBody; - wild_security_body_1: WildBody; - wild_security_body_2: WildBody; - wild_Killa_body: WildBody; - wild_pmcBot_body: WildBody; - wild_Shturman_body: WildBody; - wild_Gluhar_body: WildBody; - Tshirt_security_TshirtTatu_01: WildBody; - Tshirt_security_TshirtTatu_02: WildBody; - Top_security_Husky: WildBody; - Top_security_Gorka4: WildBody; - scav_kit_upper_meteor: WildBody; - wild_body_russia1: WildBody; - Top_BOSS_Sanitar: WildBody; - wild_body_motocross: WildBody; - top_cultist_01: WildBody; - top_cultist_02: WildBody; - wild_body_rainparka: WildBody; - wild_body_underarmour: WildBody; - top_boss_tagilla: WildBody; - DefaultUsecBody: WildBody; - usec_upper_acu: WildBody; - usec_upper_commando: WildBody; - usec_upper_aggressor: WildBody; - usec_upper_hoody: WildBody; - usec_upper_pcuironsight: WildBody; - usec_top_beltstaff: WildBody; - usec_upper_flexion: WildBody; - usec_upper_tier3: WildBody; - usec_upper_pcsmulticam: WildBody; - usec_upper_tier_2: WildBody; - usec_upper_infiltrator: WildBody; - user_upper_NightPatrol: WildBody; - wild_body_bomber: WildBody; - wild_top_yellowcoat: WildBody; -} -export interface WildBody { - body: string; - hands: string; - isNotRandom: boolean; -} -export interface SavageFeet { - wild_feet: WildFeet; - wild_feet_1: WildFeet; - wild_feet_2: WildFeet; - Wild_Dealmaker_feet: WildFeet; - wild_security_feet_1: WildFeet; - Wild_Killa_feet: WildFeet; - wild_pmcBot_feet: WildFeet; - Pants_BOSS_Glukhar: WildFeet; - Pants_BOSS_Shturman: WildFeet; - Pants_security_Gorka4: WildFeet; - Pants_security_Flora: WildFeet; - scav_kit_lower_sklon: WildFeet; - Pants_BOSS_Sanitar: WildFeet; - wild_feet_sweatpants: WildFeet; - wild_feet_wasatch: WildFeet; - wild_feet_slimPants: WildFeet; - pants_cultist_01: WildFeet; - pants_cultist_02: WildFeet; - wild_feet_scavelite_taclite: WildFeet; - pants_boss_tagilla: WildFeet; - wild_feet_bomber: WildFeet; - wild_pants_yellowcoat: WildFeet; -} -export interface WildFeet { - feet: string; - isNotRandom: boolean; - NotRandom: boolean; -} -export interface CustomizationVoice { - voice: string; - side: string[]; - isNotRandom: boolean; -} -export interface BodyParts { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface ArmorMaterials { - UHMWPE: ArmorType; - Aramid: ArmorType; - Combined: ArmorType; - Titan: ArmorType; - Aluminium: ArmorType; - ArmoredSteel: ArmorType; - Ceramic: ArmorType; - Glass: ArmorType; -} -export interface ArmorType { - Destructibility: number; - MinRepairDegradation: number; - MaxRepairDegradation: number; - ExplosionDestructibility: number; - MinRepairKitDegradation: number; - MaxRepairKitDegradation: number; -} -export interface Health { - Falling: Falling; - Effects: Effects; - HealPrice: HealPrice; - ProfileHealthSettings: ProfileHealthSettings; -} -export interface Falling { - DamagePerMeter: number; - SafeHeight: number; -} -export interface Effects { - Existence: Existence; - Dehydration: Dehydration; - BreakPart: BreakPart; - Contusion: Contusion; - Disorientation: Disorientation; - Exhaustion: Exhaustion; - LowEdgeHealth: LowEdgeHealth; - RadExposure: RadExposure; - Stun: Stun; - Intoxication: Intoxication; - Regeneration: Regeneration; - Wound: Wound; - Berserk: Berserk; - Flash: Flash; - MedEffect: MedEffect; - Pain: Pain; - PainKiller: PainKiller; - SandingScreen: SandingScreen; - Stimulator: Stimulator; - Tremor: Tremor; - ChronicStaminaFatigue: ChronicStaminaFatigue; - Fracture: Fracture2; - HeavyBleeding: HeavyBleeding2; - LightBleeding: LightBleeding2; - BodyTemperature: BodyTemperature; -} -export interface Existence { - EnergyLoopTime: number; - HydrationLoopTime: number; - EnergyDamage: number; - HydrationDamage: number; - DestroyedStomachEnergyTimeFactor: number; - DestroyedStomachHydrationTimeFactor: number; -} -export interface Dehydration { - DefaultDelay: number; - DefaultResidueTime: number; - BleedingHealth: number; - BleedingLoopTime: number; - BleedingLifeTime: number; - DamageOnStrongDehydration: number; - StrongDehydrationLoopTime: number; -} -export interface BreakPart { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface Contusion { - Dummy: number; -} -export interface Disorientation { - Dummy: number; -} -export interface Exhaustion { - DefaultDelay: number; - DefaultResidueTime: number; - Damage: number; - DamageLoopTime: number; -} -export interface LowEdgeHealth { - DefaultDelay: number; - DefaultResidueTime: number; - StartCommonHealth: number; -} -export interface RadExposure { - Damage: number; - DamageLoopTime: number; -} -export interface Stun { - Dummy: number; -} -export interface Intoxication { - DefaultDelay: number; - DefaultResidueTime: number; - DamageHealth: number; - HealthLoopTime: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovedAfterDeath: boolean; - HealExperience: number; - RemovePrice: number; -} -export interface Regeneration { - LoopTime: number; - MinimumHealthPercentage: number; - Energy: number; - Hydration: number; - BodyHealth: BodyHealth; - Influences: Influences; -} -export interface BodyHealth { - Head: BodyHealthValue; - Chest: BodyHealthValue; - Stomach: BodyHealthValue; - LeftArm: BodyHealthValue; - RightArm: BodyHealthValue; - LeftLeg: BodyHealthValue; - RightLeg: BodyHealthValue; -} -export interface BodyHealthValue { - Value: number; -} -export interface Influences { - LightBleeding: Influence; - HeavyBleeding: Influence; - Fracture: Influence; - RadExposure: Influence; - Intoxication: Influence; -} -export interface Influence { - HealthSlowDownPercentage: number; - EnergySlowDownPercentage: number; - HydrationSlowDownPercentage: number; -} -export interface Wound { - WorkingTime: number; - ThresholdMin: number; - ThresholdMax: number; -} -export interface Berserk { - DefaultDelay: number; - WorkingTime: number; - DefaultResidueTime: number; -} -export interface Flash { - Dummy: number; -} -export interface MedEffect { - LoopTime: number; - StartDelay: number; - DrinkStartDelay: number; - FoodStartDelay: number; - DrugsStartDelay: number; - MedKitStartDelay: number; - MedicalStartDelay: number; - StimulatorStartDelay: number; -} -export interface Pain { - TremorDelay: number; - HealExperience: number; -} -export interface PainKiller { - Dummy: number; -} -export interface SandingScreen { - Dummy: number; -} -export interface Stimulator { - BuffLoopTime: number; - Buffs: Buffs; -} -export interface Buffs { - BuffsSJ1TGLabs: Buff[]; - BuffsSJ6TGLabs: Buff[]; - BuffsPropital: Buff[]; - BuffsZagustin: Buff[]; - BuffseTGchange: Buff[]; - BuffsAdrenaline: Buff[]; - BuffsGoldenStarBalm: Buff[]; - Buffs_drink_aquamari: Buff[]; - Buffs_drink_maxenergy: Buff[]; - Buffs_drink_milk: Buff[]; - Buffs_drink_tarcola: Buff[]; - Buffs_drink_hotrod: Buff[]; - Buffs_drink_juice_army: Buff[]; - Buffs_drink_water: Buff[]; - Buffs_food_borodinskiye: Buff[]; - Buffs_food_condensed_milk: Buff[]; - Buffs_food_emelya: Buff[]; - Buffs_food_mayonez: Buff[]; - Buffs_food_mre: Buff[]; - Buffs_food_sugar: Buff[]; - Buffs_drink_vodka: Buff[]; - Buffs_drink_jack: Buff[]; - Buffs_drink_moonshine: Buff[]; - Buffs_drink_purewater: Buff[]; - Buffs_3bTG: Buff[]; - Buffs_AHF1M: Buff[]; - Buffs_L1: Buff[]; - Buffs_MULE: Buff[]; - Buffs_Meldonin: Buff[]; - Buffs_Obdolbos: Buff[]; - Buffs_P22: Buff[]; - Buffs_KultistsToxin: Buff[]; - Buffs_BodyTemperature: Buff[]; - Buffs_Antidote: Buff[]; - Buffs_melee_bleed: Buff[]; - Buffs_melee_blunt: Buff[]; - Buffs_hultafors: Buff[]; - Buffs_drink_vodka_BAD: Buff[]; - Buffs_food_alyonka: Buff[]; - Buffs_food_slippers: Buff[]; - Buffs_knife: Buff[]; -} -export interface Buff { - BuffType: string; - Chance: number; - Delay: number; - Duration: number; - Value: number; - AbsoluteValue: boolean; - SkillName: string; -} -export interface Tremor { - DefaultDelay: number; - DefaultResidueTime: number; -} -export interface ChronicStaminaFatigue { - EnergyRate: number; - WorkingTime: number; - TicksEvery: number; - EnergyRatePerStack: number; -} -export interface Fracture2 { - DefaultDelay: number; - DefaultResidueTime: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - BulletHitProbability: Probability; - FallingProbability: Probability; -} -export interface HeavyBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface Probability { - FunctionType: string; - K: number; - B: number; - Threshold: number; -} -export interface LightBleeding2 { - DefaultDelay: number; - DefaultResidueTime: number; - DamageEnergy: number; - DamageHealth: number; - EnergyLoopTime: number; - HealthLoopTime: number; - DamageHealthDehydrated: number; - HealthLoopTimeDehydrated: number; - LifeTimeDehydrated: number; - EliteVitalityDuration: number; - HealExperience: number; - OfflineDurationMin: number; - OfflineDurationMax: number; - RemovePrice: number; - RemovedAfterDeath: boolean; - Probability: Probability; -} -export interface BodyTemperature { - DefaultBuildUpTime: number; - DefaultResidueTime: number; - LoopTime: number; -} -export interface HealPrice { - HealthPointPrice: number; - HydrationPointPrice: number; - EnergyPointPrice: number; - TrialLevels: number; - TrialRaids: number; -} -export interface ProfileHealthSettings { - BodyPartsSettings: BodyPartsSettings; - HealthFactorsSettings: HealthFactorsSettings; -} -export interface BodyPartsSettings { - Head: BodyPartsSetting; - Chest: BodyPartsSetting; - Stomach: BodyPartsSetting; - LeftArm: BodyPartsSetting; - RightArm: BodyPartsSetting; - LeftLeg: BodyPartsSetting; - RightLeg: BodyPartsSetting; -} -export interface BodyPartsSetting { - Minimum: number; - Maximum: number; - Default: number; - OverDamageReceivedMultiplier: number; -} -export interface HealthFactorsSettings { - Energy: HealthFactorSetting; - Hydration: HealthFactorSetting; - Temperature: HealthFactorSetting; - Poisoning: HealthFactorSetting; - Radiation: HealthFactorSetting; -} -export interface HealthFactorSetting { - Minimum: number; - Maximum: number; - Default: number; -} -export interface Rating { - levelRequired: number; - limit: number; - categories: Categories; -} -export interface Categories { - experience: boolean; - kd: boolean; - surviveRatio: boolean; - avgEarnings: boolean; - kills: boolean; - raidCount: boolean; - longestShot: boolean; - timeOnline: boolean; - inventoryFullCost: boolean; - ragFairStanding: boolean; -} -export interface Tournament { - categories: Categories2; - limit: number; - levelRequired: number; -} -export interface Categories2 { - dogtags: boolean; -} -export interface RagFair { - enabled: boolean; - priceStabilizerEnabled: boolean; - includePveTraderSales: boolean; - priceStabilizerStartIntervalInHours: number; - minUserLevel: number; - communityTax: number; - communityItemTax: number; - communityRequirementTax: number; - offerPriorityCost: number; - offerDurationTimeInHour: number; - offerDurationTimeInHourAfterRemove: number; - priorityTimeModifier: number; - maxRenewOfferTimeInHour: number; - renewPricePerHour: number; - maxActiveOfferCount: MaxActiveOfferCount[]; - balancerRemovePriceCoefficient: number; - balancerMinPriceCount: number; - balancerAveragePriceCoefficient: number; - delaySinceOfferAdd: number; - uniqueBuyerTimeoutInDays: number; - ratingSumForIncrease: number; - ratingIncreaseCount: number; - ratingSumForDecrease: number; - ratingDecreaseCount: number; - maxSumForIncreaseRatingPerOneSale: number; - maxSumForDecreaseRatingPerOneSale: number; - maxSumForRarity: MaxSumForRarity; - ChangePriceCoef: number; - balancerUserItemSaleCooldownEnabled: boolean; - balancerUserItemSaleCooldown: number; - youSellOfferMaxStorageTimeInHour: number; - yourOfferDidNotSellMaxStorageTimeInHour: number; - isOnlyFoundInRaidAllowed: boolean; - sellInOnePiece: number; -} -export interface MaxActiveOfferCount { - from: number; - to: number; - count: number; -} -export interface MaxSumForRarity { - Common: RarityMaxSum; - Rare: RarityMaxSum; - Superrare: RarityMaxSum; - Not_exist: RarityMaxSum; -} -export interface RarityMaxSum { - value: number; -} -export interface Handbook { - defaultCategory: string; -} -export interface Stamina { - Capacity: number; - SprintDrainRate: number; - BaseRestorationRate: number; - JumpConsumption: number; - GrenadeHighThrow: number; - GrenadeLowThrow: number; - AimDrainRate: number; - AimRangeFinderDrainRate: number; - OxygenCapacity: number; - OxygenRestoration: number; - WalkOverweightLimits: xyz; - BaseOverweightLimits: xyz; - SprintOverweightLimits: xyz; - WalkSpeedOverweightLimits: xyz; - CrouchConsumption: xyz; - WalkConsumption: xyz; - StandupConsumption: xyz; - TransitionSpeed: xyz; - SprintAccelerationLowerLimit: number; - SprintSpeedLowerLimit: number; - SprintSensitivityLowerLimit: number; - AimConsumptionByPose: xyz; - RestorationMultiplierByPose: xyz; - OverweightConsumptionByPose: xyz; - AimingSpeedMultiplier: number; - WalkVisualEffectMultiplier: number; - HandsCapacity: number; - HandsRestoration: number; - ProneConsumption: number; - BaseHoldBreathConsumption: number; - SoundRadius: xyz; - ExhaustedMeleeSpeed: number; - FatigueRestorationRate: number; - FatigueAmountToCreateEffect: number; - ExhaustedMeleeDamageMultiplier: number; - FallDamageMultiplier: number; - SafeHeightOverweight: number; - SitToStandConsumption: number; - StaminaExhaustionCausesJiggle: boolean; - StaminaExhaustionStartsBreathSound: boolean; - StaminaExhaustionRocksCamera: boolean; - HoldBreathStaminaMultiplier: xyz; - PoseLevelIncreaseSpeed: xyz; - PoseLevelDecreaseSpeed: xyz; - PoseLevelConsumptionPerNotch: xyz; -} -export interface StaminaRestoration { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface StaminaDrain { - LowerLeftPoint: number; - LowerRightPoint: number; - LeftPlatoPoint: number; - RightPlatoPoint: number; - RightLimit: number; - ZeroValue: number; -} -export interface RequirementReferences { - Alpinist: Alpinist[]; -} -export interface Alpinist { - Requirement: string; - Id: string; - Count: number; - RequiredSlot: string; - RequirementTip: string; -} -export interface RestrictionsInRaid { - TemplateId: string; - Value: number; -} -export interface Insurance { - MaxStorageTimeInHour: number; -} -export interface SkillsSettings { - SkillProgressRate: number; - WeaponSkillProgressRate: number; - WeaponSkillRecoilBonusPerLevel: number; - HideoutManagement: HideoutManagement; - Crafting: Crafting; - Metabolism: Metabolism; - Immunity: Immunity; - Endurance: Endurance; - Strength: Strength; - Vitality: Vitality; - Health: Health2; - StressResistance: StressResistance; - Throwing: Throwing; - RecoilControl: RecoilControl; - Pistol: WeaponSkills; - Revolver: WeaponSkills; - SMG: any[]; - Assault: WeaponSkills; - Shotgun: WeaponSkills; - Sniper: WeaponSkills; - LMG: any[]; - HMG: any[]; - Launcher: any[]; - AttachedLauncher: any[]; - Melee: any[]; - DMR: WeaponSkills; - BearAssaultoperations: any[]; - BearAuthority: any[]; - BearAksystems: any[]; - BearHeavycaliber: any[]; - BearRawpower: any[]; - UsecArsystems: any[]; - UsecDeepweaponmodding_Settings: any[]; - UsecLongrangeoptics_Settings: any[]; - UsecNegotiations: any[]; - UsecTactics: any[]; - BotReload: any[]; - CovertMovement: CovertMovement; - FieldMedicine: any[]; - Search: Search; - Sniping: any[]; - ProneMovement: any[]; - FirstAid: any[]; - LightVests: ArmorSkills; - HeavyVests: ArmorSkills; - WeaponModding: any[]; - AdvancedModding: any[]; - NightOps: any[]; - SilentOps: any[]; - Lockpicking: any[]; - WeaponTreatment: WeaponTreatment; - MagDrills: MagDrills; - Freetrading: any[]; - Auctions: any[]; - Cleanoperations: any[]; - Barter: any[]; - Shadowconnections: any[]; - Taskperformance: any[]; - Perception: Perception; - Intellect: Intellect; - Attention: Attention; - Charisma: Charisma; - Memory: Memory; - Surgery: Surgery; - AimDrills: AimDrills; - BotSound: any[]; - TroubleShooting: TroubleShooting; -} -export interface ArmorSkills { - WearAmountRepairLVestsReducePerLevel: number; - WearChanceRepairLVestsReduceEliteLevel: number; -} -export interface HideoutManagement { - SkillPointsPerAreaUpgrade: number; - SkillPointsPerCraft: number; - ConsumptionReductionPerLevel: number; - SkillBoostPercent: number; - SkillPointsRate: SkillPointsRate; - EliteSlots: EliteSlots; -} -export interface SkillPointsRate { - Generator: Generator; - AirFilteringUnit: SkillPointRate; - WaterCollector: SkillPointRate; - SolarPower: SkillPointRate; -} -export interface SkillPointRate { - ResourceSpent: number; - PointsGained: number; -} -export interface EliteSlots { - Generator: EliteSlot; - AirFilteringUnit: EliteSlot; - WaterCollector: EliteSlot; - BitcoinFarm: EliteSlot; -} -export interface EliteSlot { - Slots: number; - Container: number; -} -export interface Crafting { - PointsPerCraftingCycle: number; - CraftingCycleHours: number; - PointsPerUniqueCraftCycle: number; - UniqueCraftsPerCycle: number; - CraftTimeReductionPerLevel: number; - ProductionTimeReductionPerLevel: number; - EliteExtraProductions: number; - CraftingPointsToInteligence: number; -} -export interface Metabolism { - HydrationRecoveryRate: number; - EnergyRecoveryRate: number; - IncreasePositiveEffectDurationRate: number; - DecreaseNegativeEffectDurationRate: number; - DecreasePoisonDurationRate: number; -} -export interface Immunity { - ImmunityMiscEffects: number; - ImmunityPoisonBuff: number; - ImmunityPainKiller: number; - HealthNegativeEffect: number; - StimulatorNegativeBuff: number; -} -export interface Endurance { - MovementAction: number; - SprintAction: number; - GainPerFatigueStack: number; -} -export interface Strength { - SprintActionMin: number; - SprintActionMax: number; - MovementActionMin: number; - MovementActionMax: number; - PushUpMin: number; - PushUpMax: number; - FistfightAction: number; - ThrowAction: number; -} -export interface Vitality { - DamageTakenAction: number; - HealthNegativeEffect: number; -} -export interface Health2 { - SkillProgress: number; -} -export interface StressResistance { - HealthNegativeEffect: number; - LowHPDuration: number; -} -export interface Throwing { - ThrowAction: number; -} -export interface RecoilControl { - RecoilAction: number; - RecoilBonusPerLevel: number; -} -export interface WeaponSkills { - WeaponReloadAction: number; - WeaponShotAction: number; - WeaponFixAction: number; - WeaponChamberAction: number; -} -export interface CovertMovement { - MovementAction: number; -} -export interface Search { - SearchAction: number; - FindAction: number; -} -export interface WeaponTreatment { - DurLossReducePerLevel: number; - SkillPointsPerRepair: number; - Filter: any[]; - WearAmountRepairGunsReducePerLevel: number; - WearChanceRepairGunsReduceEliteLevel: number; -} -export interface MagDrills { - RaidLoadedAmmoAction: number; - RaidUnloadedAmmoAction: number; - MagazineCheckAction: number; -} -export interface Perception { - OnlineAction: number; - UniqueLoot: number; -} -export interface Intellect { - ExamineAction: number; - SkillProgress: number; - RepairAction: number; - WearAmountReducePerLevel: number; - WearChanceReduceEliteLevel: number; - RepairPointsCostReduction: number; -} -export interface Attention { - ExamineWithInstruction: number; - FindActionFalse: number; - FindActionTrue: number; -} -export interface Charisma { - SkillProgressInt: number; - SkillProgressAtn: number; - SkillProgressPer: number; -} -export interface Memory { - AnySkillUp: number; - SkillProgress: number; -} -export interface Surgery { - SurgeryAction: number; - SkillProgress: number; -} -export interface AimDrills { - WeaponShotAction: number; -} -export interface TroubleShooting { - MalfRepairSpeedBonusPerLevel: number; - SkillPointsPerMalfFix: number; - EliteDurabilityChanceReduceMult: number; - EliteAmmoChanceReduceMult: number; - EliteMagChanceReduceMult: number; -} -export interface Aiming { - ProceduralIntensityByPose: xyz; - AimProceduralIntensity: number; - HeavyWeight: number; - LightWeight: number; - MaxTimeHeavy: number; - MinTimeHeavy: number; - MaxTimeLight: number; - MinTimeLight: number; - RecoilScaling: number; - RecoilDamping: number; - CameraSnapGlobalMult: number; - RecoilXIntensityByPose: xyz; - RecoilYIntensityByPose: xyz; - RecoilZIntensityByPose: xyz; - RecoilCrank: boolean; - RecoilHandDamping: number; - RecoilConvergenceMult: number; - RecoilVertBonus: number; - RecoilBackBonus: number; -} -export interface Malfunction { - AmmoMalfChanceMult: number; - MagazineMalfChanceMult: number; - MalfRepairHardSlideMult: number; - MalfRepairOneHandBrokenMult: number; - MalfRepairTwoHandsBrokenMult: number; - AllowMalfForBots: boolean; - ShowGlowAttemptsCount: number; - OutToIdleSpeedMultForPistol: number; - IdleToOutSpeedMultOnMalf: number; - TimeToQuickdrawPistol: number; - DurRangeToIgnoreMalfs: xyz; - DurFeedWt: number; - DurMisfireWt: number; - DurJamWt: number; - DurSoftSlideWt: number; - DurHardSlideMinWt: number; - DurHardSlideMaxWt: number; - AmmoMisfireWt: number; - AmmoFeedWt: number; - AmmoJamWt: number; - OverheatFeedWt: number; - OverheatJamWt: number; - OverheatSoftSlideWt: number; - OverheatHardSlideMinWt: number; - OverheatHardSlideMaxWt: number; -} -export interface Overheat { - MinOverheat: number; - MaxOverheat: number; - OverheatProblemsStart: number; - ModHeatFactor: number; - ModCoolFactor: number; - MinWearOnOverheat: number; - MaxWearOnOverheat: number; - MinWearOnMaxOverheat: number; - MaxWearOnMaxOverheat: number; - OverheatWearLimit: number; - MaxCOIIncreaseMult: number; - MinMalfChance: number; - MaxMalfChance: number; - DurReduceMinMult: number; - DurReduceMaxMult: number; - BarrelMoveRndDuration: number; - BarrelMoveMaxMult: number; - FireratePitchMult: number; - FirerateReduceMinMult: number; - FirerateReduceMaxMult: number; - FirerateOverheatBorder: number; - EnableSlideOnMaxOverheat: boolean; - StartSlideOverheat: number; - FixSlideOverheat: number; - AutoshotMinOverheat: number; - AutoshotChance: number; - AutoshotPossibilityDuration: number; - MaxOverheatCoolCoef: number; -} -export interface FenceSettings { - FenceId: string; - Levels: Record; - paidExitStandingNumerator: number; -} -export interface FenceLevel { - SavageCooldownModifier: number; - ScavCaseTimeModifier: number; - PaidExitCostModifier: number; - BotFollowChance: number; - ScavEquipmentSpawnChanceModifier: number; - PriceModifier: number; - HostileBosses: boolean; - HostileScavs: boolean; - ScavAttackSupport: boolean; - ExfiltrationPriceModifier: number; - AvailableExits: number; -} -export interface Inertia { - InertiaLimits: xyz; - InertiaLimitsStep: number; - ExitMovementStateSpeedThreshold: xyz; - WalkInertia: xyz; - FallThreshold: number; - SpeedLimitAfterFallMin: xyz; - SpeedLimitAfterFallMax: xyz; - SpeedLimitDurationMin: xyz; - SpeedLimitDurationMax: xyz; - SpeedInertiaAfterJump: xyz; - BaseJumpPenaltyDuration: number; - DurationPower: number; - BaseJumpPenalty: number; - PenaltyPower: number; - InertiaTiltCurveMin: xyz; - InertiaTiltCurveMax: xyz; - InertiaBackwardCoef: xyz; - TiltInertiaMaxSpeed: xyz; - TiltStartSideBackSpeed: xyz; - TiltMaxSideBackSpeed: xyz; - TiltAcceleration: xyz; - AverageRotationFrameSpan: number; - SprintSpeedInertiaCurveMin: xyz; - SprintSpeedInertiaCurveMax: xyz; - SprintBrakeInertia: xyz; - SprintTransitionMotionPreservation: xyz; - WeaponFlipSpeed: xyz; - PreSprintAccelerationLimits: xyz; - SprintAccelerationLimits: xyz; - SideTime: xyz; - DiagonalTime: xyz; - MaxTimeWithoutInput: xyz; - MinDirectionBlendTime: number; - MoveTimeRange: xyz; - ProneDirectionAccelerationRange: xyz; - ProneSpeedAccelerationRange: xyz; - MinMovementAccelerationRangeRight: xyz; - MaxMovementAccelerationRangeRight: xyz; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Ballistic { - GlobalDamageDegradationCoefficient: number; -} -export interface RepairKitSettings { - armorClassDivisor: number; - durabilityPointCostArmor: number; - durabilityPointCostGuns: number; -} -export interface BotPreset { - UseThis: boolean; - Role: string; - BotDifficulty: string; - VisibleAngle: number; - VisibleDistance: number; - ScatteringPerMeter: number; - HearingSense: number; - SCATTERING_DIST_MODIF: number; - MAX_AIMING_UPGRADE_BY_TIME: number; - FIRST_CONTACT_ADD_SEC: number; - COEF_IF_MOVE: number; -} -export interface BotWeaponScattering { - Name: string; - PriorityScatter1meter: number; - PriorityScatter10meter: number; - PriorityScatter100meter: number; -} -export interface Preset { - _id: string; - _type: string; - _changeWeaponName: boolean; - _name: string; - _parent: string; - _items: Item[]; - _encyclopedia?: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocation.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocation.d.ts deleted file mode 100644 index 42fac06..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocation.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ILocationBase } from "./ILocationBase"; -import { ILooseLoot } from "./ILooseLoot"; -export interface ILocation { - base: ILocationBase; - looseLoot: ILooseLoot; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocationBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocationBase.d.ts deleted file mode 100644 index b1dd448..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocationBase.d.ts +++ /dev/null @@ -1,205 +0,0 @@ -export interface ILocationBase { - AccessKeys: string[]; - AirdropParameters: AirdropParameter[]; - Area: number; - AveragePlayTime: number; - AveragePlayerLevel: number; - Banners: Banner[]; - BossLocationSpawn: BossLocationSpawn[]; - BotAssault: number; - BotEasy: number; - BotHard: number; - BotImpossible: number; - BotLocationModifier: BotLocationModifier; - BotMarksman: number; - BotMax: number; - BotMaxPlayer: number; - BotMaxTimePlayer: number; - BotNormal: number; - BotSpawnTimeOffMax: number; - BotSpawnTimeOffMin: number; - BotSpawnTimeOnMax: number; - BotSpawnTimeOnMin: number; - BotStart: number; - BotStop: number; - Description: string; - DisabledForScav: boolean; - DisabledScavExits: string; - Enabled: boolean; - EnableCoop: boolean; - GlobalLootChanceModifier: number; - IconX: number; - IconY: number; - Id: string; - Insurance: boolean; - IsSecret: boolean; - Locked: boolean; - Loot: any[]; - MaxBotPerZone: number; - MaxDistToFreePoint: number; - MaxPlayers: number; - MinDistToExitPoint: number; - MinDistToFreePoint: number; - MinMaxBots: MinMaxBot[]; - MinPlayers: number; - MaxCoopGroup: number; - Name: string; - NewSpawn: boolean; - OcculsionCullingEnabled: boolean; - OldSpawn: boolean; - OpenZones: string; - Preview: Preview; - RequiredPlayerLevel: number; - PmcMaxPlayersInGroup: number; - ScavMaxPlayersInGroup: number; - Rules: string; - SafeLocation: boolean; - Scene: Scene; - SpawnPointParams: SpawnPointParam[]; - UnixDateTime: number; - _Id: string; - doors: any[]; - EscapeTimeLimit: number; - EscapeTimeLimitCoop: number; - exit_access_time: number; - exit_count: number; - exit_time: number; - exits: Exit[]; - filter_ex: string[]; - limits: ILimit[]; - matching_min_seconds: number; - GenerateLocalLootCache: boolean; - maxItemCountInLocation: MaxItemCountInLocation[]; - sav_summon_seconds: number; - tmp_location_field_remove_me: number; - users_gather_seconds: number; - users_spawn_seconds_n: number; - users_spawn_seconds_n2: number; - users_summon_seconds: number; - waves: Wave[]; -} -export interface ILimit { - min: number; - max: number; - items: any[]; -} -export interface AirdropParameter { - AirdropPointDeactivateDistance: number; - MinPlayersCountToSpawnAirdrop: number; - PlaneAirdropChance: number; - PlaneAirdropCooldownMax: number; - PlaneAirdropCooldownMin: number; - PlaneAirdropEnd: number; - PlaneAirdropMax: number; - PlaneAirdropStartMax: number; - PlaneAirdropStartMin: number; - UnsuccessfulTryPenalty: number; -} -export interface Banner { - id: string; - pic: Pic; -} -export interface Pic { - path: string; - rcid: string; -} -export interface BossLocationSpawn { - BossChance: number; - BossDifficult: string; - BossEscortAmount: string; - BossEscortDifficult: string; - BossEscortType: string; - BossName: string; - BossPlayer: boolean; - BossZone: string; - RandomTimeSpawn: boolean; - Time: number; - TriggerId: string; - TriggerName: string; - Delay?: number; - Supports?: BossSupport[]; -} -export interface BossSupport { - BossEscortAmount: string; - BossEscortDifficult: string[]; - BossEscortType: string; -} -export interface BotLocationModifier { - AccuracySpeed: number; - DistToActivate: number; - DistToPersueAxemanCoef: number; - DistToSleep: number; - GainSight: number; - KhorovodChance: number; - MagnetPower: number; - MarksmanAccuratyCoef: number; - Scattering: number; - VisibleDistance: number; -} -export interface MinMaxBot { - WildSpawnType: string; - max: number; - min: number; -} -export interface Preview { - path: string; - rcid: string; -} -export interface Scene { - path: string; - rcid: string; -} -export interface SpawnPointParam { - BotZoneName: string; - Categories: string[]; - ColliderParams: ColliderParams; - DelayToCanSpawnSec: number; - Id: string; - Infiltration: string; - Position: xyz; - Rotation: number; - Sides: string[]; -} -export interface ColliderParams { - _parent: string; - _props: Props; -} -export interface Props { - Center: xyz; - Radius: number; -} -export interface xyz { - x: number; - y: number; - z: number; -} -export interface Exit { - Chance: number; - Count: number; - EntryPoints: string; - ExfiltrationTime: number; - ExfiltrationType: string; - Id: string; - MaxTime: number; - MinTime: number; - Name: string; - PassageRequirement: string; - PlayersCount: number; - RequirementTip: string; -} -export interface MaxItemCountInLocation { - TemplateId: string; - Value: number; -} -export interface Wave { - BotPreset: string; - BotSide: string; - SpawnPoints: string; - WildSpawnType: string; - isPlayers: boolean; - number: number; - slots_max: number; - slots_min: number; - time_max: number; - time_min: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts deleted file mode 100644 index 7f8d915..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILocationsSourceDestinationBase.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ILocations } from "../../spt/server/ILocations"; -export interface ILocationsGenerateAllResponse { - locations: ILocations; - paths: Path[]; -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILooseLoot.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILooseLoot.d.ts deleted file mode 100644 index 14b795e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/ILooseLoot.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -export interface ILooseLoot { - spawnpointCount: SpawnpointCount; - spawnpointsForced: SpawnpointsForced[]; - spawnpoints: Spawnpoint[]; -} -export interface SpawnpointCount { - mean: number; - std: number; -} -export interface SpawnpointsForced { - locationId: string; - probability: number; - template: SpawnpointTemplate; -} -export interface SpawnpointTemplate { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: Item[]; -} -export interface Item { - _id: string; - _tpl?: string; -} -export interface Spawnpoint { - locationId: string; - probability: number; - template: SpawnpointTemplate; - itemDistribution: ItemDistribution[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IMetricsTableData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IMetricsTableData.d.ts deleted file mode 100644 index 873ef82..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IMetricsTableData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface IMetricsTableData { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IPmcData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IPmcData.d.ts deleted file mode 100644 index 5703e4b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/IPmcData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBotBase } from "./tables/IBotBase"; -export interface IPmcData extends IBotBase { -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts deleted file mode 100644 index 7303275..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/request/IBaseInteractionRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface IBaseInteractionRequestData { - Action: string; - fromOwner?: OwnerInfo; - toOwner?: OwnerInfo; -} -export interface OwnerInfo { - id: string; - type: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotBase.d.ts deleted file mode 100644 index 0ee468e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotBase.d.ts +++ /dev/null @@ -1,353 +0,0 @@ -import { HideoutAreas } from "../../../enums/HideoutAreas"; -import { MemberCategory } from "../../../enums/MemberCategory"; -import { QuestStatus } from "../../../enums/QuestStatus"; -import { IRagfairOffer } from "../../ragfair/IRagfairOffer"; -import { Item, Upd } from "./IItem"; -import { IPmcDataRepeatableQuest } from "./IRepeatableQuests"; -export interface IBotBase { - _id: string; - aid: string; - savage?: string; - Info: Info; - Customization: Customization; - Health: Health; - Inventory: Inventory; - Skills: Skills; - Stats: Stats; - Encyclopedia: Record; - ConditionCounters: ConditionCounters; - BackendCounters: Record; - InsuredItems: InsuredItem[]; - Hideout: Hideout; - Quests: Quest[]; - TradersInfo: Record; - RagfairInfo: RagfairInfo; - RepeatableQuests: IPmcDataRepeatableQuest[]; - Bonuses: Bonus[]; - Notes: Notes; - CarExtractCounts: CarExtractCounts; - SurvivorClass: SurvivorClass; - WishList: string[]; -} -export interface Info { - EntryPoint: string; - Nickname: string; - LowerNickname: string; - Side: string; - Voice: string; - Level: number; - Experience: number; - RegistrationDate: number; - GameVersion: string; - AccountType: number; - MemberCategory: MemberCategory; - lockedMoveCommands: boolean; - SavageLockTime: number; - LastTimePlayedAsSavage: number; - Settings: Settings; - NicknameChangeDate: number; - NeedWipeOptions: any[]; - lastCompletedWipe: LastCompleted; - Bans: IBan[]; - BannedState: boolean; - BannedUntil: number; - IsStreamerModeAvailable: boolean; - lastCompletedEvent?: LastCompleted; -} -export interface Settings { - Role: string; - BotDifficulty: string; - Experience: number; - StandingForKill: number; - AggressorBonus: number; -} -export interface IBan { - type: BanType; - dateTime: number; -} -export declare enum BanType { - Chat = 0, - RagFair = 1, - Voip = 2, - Trading = 3, - Online = 4, - Friends = 5, - ChangeNickname = 6 -} -export interface Customization { - Head: string; - Body: string; - Feet: string; - Hands: string; -} -export interface Health { - Hydration: CurrentMax; - Energy: CurrentMax; - Temperature: CurrentMax; - BodyParts: BodyPartsHealth; - UpdateTime: number; -} -export interface BodyPartsHealth { - Head: BodyPartHealth; - Chest: BodyPartHealth; - Stomach: BodyPartHealth; - LeftArm: BodyPartHealth; - RightArm: BodyPartHealth; - LeftLeg: BodyPartHealth; - RightLeg: BodyPartHealth; -} -export interface BodyPartHealth { - Health: CurrentMax; - Effects?: Record; -} -export interface CurrentMax { - Current: number; - Maximum: number; -} -export interface Inventory { - items: Item[]; - equipment: string; - stash: string; - sortingTable: string; - questRaidItems: string; - questStashItems: string; - fastPanel: FastPanel; -} -export interface FastPanel { -} -export interface Skills { - Common: Common[]; - Mastering: Mastering[]; - Bonuses?: any[]; - Points: number; -} -export interface Common { - Id: string; - Progress: number; - PointsEarnedDuringSession?: number; - LastAccess?: number; - max?: number; - min?: number; -} -export interface Mastering { - Id: string; - Progress: number; - max?: number; - min?: number; -} -export interface Stats { - CarriedQuestItems: string[]; - Victims: Victim[]; - TotalSessionExperience: number; - LastSessionDate: number; - SessionCounters: SessionCounters; - OverallCounters: OverallCounters; - SessionExperienceMult?: number; - ExperienceBonusMult?: number; - Aggressor?: Aggressor; - DroppedItems?: IDroppedItem[]; - FoundInRaidItems?: FoundInRaidItem[]; - DamageHistory?: DamageHistory; - DeathCause?: DeathCause; - LastPlayerState?: LastPlayerState; - TotalInGameTime: number; - SurvivorClass?: string; -} -export interface IDroppedItem { - QuestId: string; - ItemId: string; - ZoneId: string; -} -export interface FoundInRaidItem { - QuestId: string; - ItemId: string; -} -export interface Victim { - AccountId: string; - ProfileId: string; - Name: string; - Side: string; - BodyPart: string; - Time: string; - Distance: number; - Level: number; - Weapon: string; - Role: string; -} -export interface SessionCounters { - Items: CounterKeyValue[]; -} -export interface OverallCounters { - Items: CounterKeyValue[]; -} -export interface CounterKeyValue { - Key: string[]; - Value: number; -} -export interface ConditionCounters { - Counters: Counter[]; -} -export interface Counter { - id: string; - value: number; - qid: string; -} -export interface Aggressor { - AccountId: string; - ProfileId: string; - MainProfileNickname: string; - Name: string; - Side: string; - BodyPart: string; - HeadSegment: string; - WeaponName: string; - Category: string; -} -export interface DamageHistory { - LethalDamagePart: string; - LethalDamage: LethalDamage; - BodyParts: BodyPartsDamageHistory; -} -export interface LethalDamage { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface BodyPartsDamageHistory { - Head: DamageStats[]; - Chest: DamageStats[]; - Stomach: DamageStats[]; - LeftArm: DamageStats[]; - RightArm: DamageStats[]; - LeftLeg: DamageStats[]; - RightLeg: DamageStats[]; - Common: DamageStats[]; -} -export interface DamageStats { - Amount: number; - Type: string; - SourceId: string; - OverDamageFrom: string; - Blunt: boolean; - ImpactsCount: number; -} -export interface DeathCause { - DamageType: string; - Side: string; - Role: string; - WeaponId: string; -} -export interface LastPlayerState { - Info: LastPlayerStateInfo; - Customization: Record; - Equipment: any; -} -export interface LastPlayerStateInfo { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; -} -export interface BackendCounter { - id: string; - qid?: string; - value: number; -} -export interface InsuredItem { - tid: string; - itemId: string; -} -export interface Hideout { - Production: Record; - Areas: HideoutArea[]; -} -export interface Productive { - Products: Product[]; - Progress?: number; - inProgress?: boolean; - StartTimestamp?: number; -} -export interface Production extends Productive { - RecipeId: string; - SkipTime: number; - ProductionTime: number; -} -export interface ScavCase extends Productive { - RecipeId: string; -} -export interface Product { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface HideoutArea { - type: HideoutAreas; - level: number; - active: boolean; - passiveBonusesEnabled: boolean; - completeTime: number; - constructing: boolean; - slots: HideoutSlot[]; - lastRecipe: string; -} -export interface HideoutSlot { - /** SPT specific value to keep track of what index this slot is (0,1,2,3 etc) */ - locationIndex: number; - item?: HideoutItem[]; -} -export interface HideoutItem { - _id: string; - _tpl: string; - upd?: Upd; -} -export interface LastCompleted { - $oid: string; -} -export interface Notes { - Notes: Note[]; -} -export interface CarExtractCounts { -} -export declare enum SurvivorClass { - Unknown = 0, - Neutralizer = 1, - Marauder = 2, - Paramedic = 3, - Survivor = 4 -} -export interface Quest { - qid: string; - startTime: number; - status: QuestStatus; - statusTimers?: Record; - /** SPT specific property */ - completedConditions?: string[]; -} -export interface TraderInfo { - loyaltyLevel: number; - salesSum: number; - standing: number; - nextResupply: number; - unlocked: boolean; -} -export interface RagfairInfo { - rating: number; - isRatingGrowing: boolean; - offers: IRagfairOffer[]; -} -export interface Bonus { - type: string; - templateId?: string; - passive?: boolean; - production?: boolean; - visible?: boolean; - value?: number; - icon?: string; -} -export interface Note { - Time: number; - Text: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotCore.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotCore.d.ts deleted file mode 100644 index 16a782d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotCore.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -export interface IBotCore { - SAVAGE_KILL_DIST: number; - SOUND_DOOR_BREACH_METERS: number; - SOUND_DOOR_OPEN_METERS: number; - STEP_NOISE_DELTA: number; - JUMP_NOISE_DELTA: number; - GUNSHOT_SPREAD: number; - GUNSHOT_SPREAD_SILENCE: number; - BASE_WALK_SPEREAD2: number; - MOVE_SPEED_COEF_MAX: number; - SPEED_SERV_SOUND_COEF_A: number; - SPEED_SERV_SOUND_COEF_B: number; - G: number; - STAY_COEF: number; - SIT_COEF: number; - LAY_COEF: number; - MAX_ITERATIONS: number; - START_DIST_TO_COV: number; - MAX_DIST_TO_COV: number; - STAY_HEIGHT: number; - CLOSE_POINTS: number; - COUNT_TURNS: number; - SIMPLE_POINT_LIFE_TIME_SEC: number; - DANGER_POINT_LIFE_TIME_SEC: number; - DANGER_POWER: number; - COVER_DIST_CLOSE: number; - GOOD_DIST_TO_POINT: number; - COVER_TOOFAR_FROM_BOSS: number; - COVER_TOOFAR_FROM_BOSS_SQRT: number; - MAX_Y_DIFF_TO_PROTECT: number; - FLARE_POWER: number; - MOVE_COEF: number; - PRONE_POSE: number; - LOWER_POSE: number; - MAX_POSE: number; - FLARE_TIME: number; - MAX_REQUESTS__PER_GROUP: number; - UPDATE_GOAL_TIMER_SEC: number; - DIST_NOT_TO_GROUP: number; - DIST_NOT_TO_GROUP_SQR: number; - LAST_SEEN_POS_LIFETIME: number; - DELTA_GRENADE_START_TIME: number; - DELTA_GRENADE_END_TIME: number; - DELTA_GRENADE_RUN_DIST: number; - DELTA_GRENADE_RUN_DIST_SQRT: number; - PATROL_MIN_LIGHT_DIST: number; - HOLD_MIN_LIGHT_DIST: number; - STANDART_BOT_PAUSE_DOOR: number; - ARMOR_CLASS_COEF: number; - SHOTGUN_POWER: number; - RIFLE_POWER: number; - PISTOL_POWER: number; - SMG_POWER: number; - SNIPE_POWER: number; - GESTUS_PERIOD_SEC: number; - GESTUS_AIMING_DELAY: number; - GESTUS_REQUEST_LIFETIME: number; - GESTUS_FIRST_STAGE_MAX_TIME: number; - GESTUS_SECOND_STAGE_MAX_TIME: number; - GESTUS_MAX_ANSWERS: number; - GESTUS_FUCK_TO_SHOOT: number; - GESTUS_DIST_ANSWERS: number; - GESTUS_DIST_ANSWERS_SQRT: number; - GESTUS_ANYWAY_CHANCE: number; - TALK_DELAY: number; - CAN_SHOOT_TO_HEAD: boolean; - CAN_TILT: boolean; - TILT_CHANCE: number; - MIN_BLOCK_DIST: number; - MIN_BLOCK_TIME: number; - COVER_SECONDS_AFTER_LOSE_VISION: number; - MIN_ARG_COEF: number; - MAX_ARG_COEF: number; - DEAD_AGR_DIST: number; - MAX_DANGER_CARE_DIST_SQRT: number; - MAX_DANGER_CARE_DIST: number; - MIN_MAX_PERSON_SEARCH: number; - PERCENT_PERSON_SEARCH: number; - LOOK_ANYSIDE_BY_WALL_SEC_OF_ENEMY: number; - CLOSE_TO_WALL_ROTATE_BY_WALL_SQRT: number; - SHOOT_TO_CHANGE_RND_PART_MIN: number; - SHOOT_TO_CHANGE_RND_PART_MAX: number; - SHOOT_TO_CHANGE_RND_PART_DELTA: number; - FORMUL_COEF_DELTA_DIST: number; - FORMUL_COEF_DELTA_SHOOT: number; - FORMUL_COEF_DELTA_FRIEND_COVER: number; - SUSPETION_POINT_DIST_CHECK: number; - MAX_BASE_REQUESTS_PER_PLAYER: number; - MAX_HOLD_REQUESTS_PER_PLAYER: number; - MAX_GO_TO_REQUESTS_PER_PLAYER: number; - MAX_COME_WITH_ME_REQUESTS_PER_PLAYER: number; - CORE_POINT_MAX_VALUE: number; - CORE_POINTS_MAX: number; - CORE_POINTS_MIN: number; - BORN_POISTS_FREE_ONLY_FAREST_BOT: boolean; - BORN_POINSTS_FREE_ONLY_FAREST_PLAYER: boolean; - SCAV_GROUPS_TOGETHER: boolean; - LAY_DOWN_ANG_SHOOT: number; - HOLD_REQUEST_TIME_SEC: number; - TRIGGERS_DOWN_TO_RUN_WHEN_MOVE: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING: number; - MIN_DIST_TO_RUN_WHILE_ATTACK_MOVING_OTHER_ENEMIS: number; - MIN_DIST_TO_STOP_RUN: number; - JUMP_SPREAD_DIST: number; - LOOK_TIMES_TO_KILL: number; - COME_INSIDE_TIMES: number; - TOTAL_TIME_KILL: number; - TOTAL_TIME_KILL_AFTER_WARN: number; - MOVING_AIM_COEF: number; - VERTICAL_DIST_TO_IGNORE_SOUND: number; - DEFENCE_LEVEL_SHIFT: number; - MIN_DIST_CLOSE_DEF: number; - USE_ID_PRIOR_WHO_GO: boolean; - SMOKE_GRENADE_RADIUS_COEF: number; - GRENADE_PRECISION: number; - MAX_WARNS_BEFORE_KILL: number; - CARE_ENEMY_ONLY_TIME: number; - MIDDLE_POINT_COEF: number; - MAIN_TACTIC_ONLY_ATTACK: boolean; - LAST_DAMAGE_ACTIVE: number; - SHALL_DIE_IF_NOT_INITED: boolean; - CHECK_BOT_INIT_TIME_SEC: number; - WEAPON_ROOT_Y_OFFSET: number; - DELTA_SUPRESS_DISTANCE_SQRT: number; - DELTA_SUPRESS_DISTANCE: number; - WAVE_COEF_LOW: number; - WAVE_COEF_MID: number; - WAVE_COEF_HIGH: number; - WAVE_COEF_HORDE: number; - WAVE_ONLY_AS_ONLINE: boolean; - LOCAL_BOTS_COUNT: number; - AXE_MAN_KILLS_END: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotType.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotType.d.ts deleted file mode 100644 index c1fe579..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IBotType.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { MinMax } from "../../../common/MinMax"; -import { Skills } from "./IBotBase"; -export interface IBotType { - appearance: Appearance; - chances: Chances; - difficulty: Difficulties; - experience: Experience; - firstName: string[]; - generation: Generation; - health: Health; - inventory: Inventory; - lastName: string[]; - skills: Skills; -} -export interface Appearance { - body: string[]; - feet: string[]; - hands: string[]; - head: string[]; - voice: string[]; -} -export interface Chances { - equipment: EquipmentChances; - mods: ModsChances; -} -export interface EquipmentChances { - ArmBand: number; - ArmorVest: number; - Backpack: number; - Earpiece: number; - Eyewear: number; - FaceCover: number; - FirstPrimaryWeapon: number; - Headwear: number; - Holster: number; - Pockets: number; - Scabbard: number; - SecondPrimaryWeapon: number; - SecuredContainer: number; - TacticalVest: number; -} -export interface ModsChances { - mod_charge: number; - mod_equipment: number; - mod_equipment_000: number; - mod_equipment_001: number; - mod_equipment_002: number; - mod_flashlight: number; - mod_foregrip: number; - mod_launcher: number; - mod_magazine: number; - mod_mount: number; - mod_mount_000: number; - mod_mount_001: number; - mod_muzzle: number; - mod_nvg: number; - mod_pistol_grip: number; - mod_reciever: number; - mod_scope: number; - mod_sight_front: number; - mod_sight_rear: number; - mod_stock: number; - mod_stock_000: number; - mod_stock_akms: number; - mod_tactical: number; - mod_tactical_000: number; - mod_tactical_001: number; - mod_tactical_002: number; - mod_tactical_003: number; -} -export interface Difficulties { - easy: Difficulty; - normal: Difficulty; - hard: Difficulty; - impossible: Difficulty; -} -export interface Difficulty { - Aiming: Record; - Boss: Record; - Change: Record; - Core: Record; - Cover: Record; - Grenade: Record; - Hearing: Record; - Lay: Record; - Look: Record; - Mind: Record; - Move: Record; - Patrol: Record; - Scattering: Record; - Shoot: Record; -} -export interface Experience { - aggressorBonus: number; - level: MinMax; - reward: MinMax; - standingForKill: number; -} -export interface Generation { - items: ItemMinMax; -} -export interface ItemMinMax { - grenades: MinMax; - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - specialItems: MinMax; -} -export interface Health { - BodyParts: BodyPart[]; - Energy: MinMax; - Hydration: MinMax; - Temperature: MinMax; -} -export interface BodyPart { - Chest: MinMax; - Head: MinMax; - LeftArm: MinMax; - LeftLeg: MinMax; - RightArm: MinMax; - RightLeg: MinMax; - Stomach: MinMax; -} -export interface Inventory { - equipment: Equipment; - Ammo: Record>; - items: Items; - mods: Mods; -} -export interface Equipment { - ArmBand: Record; - ArmorVest: Record; - Backpack: Record; - Earpiece: Record; - Eyewear: Record; - FaceCover: Record; - FirstPrimaryWeapon: Record; - Headwear: Record; - Holster: Record; - Pockets: Record; - Scabbard: Record; - SecondPrimaryWeapon: Record; - SecuredContainer: Record; - TacticalVest: Record; -} -export interface Items { - Backpack: string[]; - Pockets: string[]; - SecuredContainer: string[]; - SpecialLoot: string[]; - TacticalVest: string[]; -} -export declare type Mods = Record>; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ICustomizationItem.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ICustomizationItem.d.ts deleted file mode 100644 index 8bfeece..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ICustomizationItem.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -export interface ICustomizationItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name: string; - ShortName: string; - Description: string; - Side: string[]; - BodyPart: string; - AvailableAsDefault?: boolean; - Body: string; - Hands: string; - Feet: string; - Prefab: Prefab; - WatchPrefab: Prefab; - IntegratedArmorVest: boolean; - WatchPosition: Xyz; - WatchRotation: Xyz; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Xyz { - x: number; - y: number; - z: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IHandbookBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IHandbookBase.d.ts deleted file mode 100644 index 7d7db07..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IHandbookBase.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export interface IHandbookBase { - Categories: Category[]; - Items: HandbookItem[]; -} -export interface Category { - Id: string; - ParentId?: string; - Icon: string; - Color: string; - Order: string; -} -export interface HandbookItem { - Id: string; - ParentId: string; - Price: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IItem.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IItem.d.ts deleted file mode 100644 index 2dd2c03..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IItem.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -export interface Item { - _id: string; - _tpl: string; - parentId?: string; - slotId?: string; - location?: Location | number; - upd?: Upd; -} -export interface Upd { - OriginalStackObjectsCount?: number; - Togglable?: Togglable; - Map?: Map; - Tag?: Tag; - sptPresetId?: string; - FaceShield?: FaceShield; - StackObjectsCount?: number; - UnlimitedCount?: boolean; - Repairable?: Repairable; - FireMode?: FireMode; - SpawnedInSession?: boolean; - Light?: Light; - Key?: Key; - Resource?: Resource; - Sight?: Sight; - MedKit?: MedKit; - FoodDrink?: FoodDrink; - Dogtag?: Dogtag; - BuyRestrictionMax?: number; - BuyRestrictionCurrent?: number; - Foldable?: Foldable; - SideEffect?: SideEffect; - RepairKit?: RepairKit; -} -export interface Togglable { - On: boolean; -} -export interface Map { - Markers: MapMarker[]; -} -export interface MapMarker { - X: number; - Y: number; -} -export interface Tag { - Color: number; - Name: string; -} -export interface FaceShield { - Hits: number; -} -export interface Repairable { - Durability: number; - MaxDurability: number; -} -export interface MedKit { - HpResource: number; -} -export interface Sight { - ScopesCurrentCalibPointIndexes: number[]; - ScopesSelectedModes: number[]; - SelectedScope: number; -} -export interface Foldable { - Folded: boolean; -} -export interface FireMode { - FireMode: string; -} -export interface FoodDrink { - HpPercent: number; -} -export interface Key { - NumberOfUsages: number; -} -export interface Resource { - Value: number; - UnitsConsumed: number; -} -export interface Light { - IsActive: boolean; - SelectedMode: number; -} -export interface Dogtag { - AccountId: string; - ProfileId: string; - Nickname: string; - Side: string; - Level: number; - Time: string; - Status: string; - KillerAccountId: string; - KillerProfileId: string; - KillerName: string; - WeaponName: string; -} -export interface Location { - x: number; - y: number; - r: string | number; - isSearched?: boolean; - rotation?: string; -} -export interface SideEffect { - Value: number; -} -export interface RepairKit { - Resource: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ILocationsBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ILocationsBase.d.ts deleted file mode 100644 index 2c96af3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ILocationsBase.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface ILocationsBase { - locations: Locations; - paths: Path[]; -} -export interface Locations { -} -export interface Path { - Source: string; - Destination: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ILootBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ILootBase.d.ts deleted file mode 100644 index e4baac5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ILootBase.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Item } from "./IItem"; -export interface ILootBase { - staticAmmo: Record; - staticContainers: Record; - staticLoot: Record; -} -export interface IStaticAmmoDetails { - tpl: string; - relativeProbability: number; -} -export interface IStaticContainerDetails { - staticWeapons: IStaticWeaponProps[]; - staticContainers: IStaticContainerProps[]; - staticForced: IStaticForcedProps[]; -} -export interface IStaticWeaponProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: string; - Items: Item[]; -} -export interface IStaticContainerProps { - Id: string; - IsStatic: boolean; - useGravity: boolean; - randomRotation: boolean; - Position: Xyz; - Rotation: Xyz; - IsGroupPosition: boolean; - GroupPositions: any[]; - Root: any; - Items: StaticItem[]; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StaticItem { - _id: any; - _tpl: string; -} -export interface IStaticForcedProps { - containerId: string; - itemTpl: string; -} -export interface IStaticLootDetails { - itemcountDistribution: ItemCountDistribution[]; - itemDistribution: ItemDistribution[]; -} -export interface ItemCountDistribution { - count: number; - relativeProbability: number; -} -export interface ItemDistribution { - tpl: string; - relativeProbability: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IMatch.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IMatch.d.ts deleted file mode 100644 index c30cb48..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IMatch.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IMatch { - metrics: Metrics; -} -export interface Metrics { - Keys: number[]; - NetProcessingBins: number[]; - RenderBins: number[]; - GameUpdateBins: number[]; - MemoryMeasureInterval: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IProfileTemplate.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IProfileTemplate.d.ts deleted file mode 100644 index fbcd81a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IProfileTemplate.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Dialogue, WeaponBuild } from "../../profile/IAkiProfile"; -import { IPmcData } from "../IPmcData"; -export interface IProfileTemplates { - Standard: IProfileSides; - "Left Behind": IProfileSides; - "Prepare To Escape": IProfileSides; - "Edge Of Darkness": IProfileSides; -} -export interface IProfileSides { - usec: TemplateSide; - bear: TemplateSide; -} -export interface TemplateSide { - character: IPmcData; - suits: string[]; - dialogues: Record; - weaponbuilds: WeaponBuild[]; - trader: ProfileTraderTemplate; -} -export interface ProfileTraderTemplate { - initialLoyaltyLevel: number; - initialStanding: number; - initialSalesSum: number; - jaegerUnlocked: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IQuest.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IQuest.d.ts deleted file mode 100644 index a349a6d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IQuest.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { QuestRewardType } from "../../../enums/QuestRewardType"; -import { Item } from "./IItem"; -export interface IQuest { - QuestName: string; - _id: string; - canShowNotificationsInGame: boolean; - conditions: Conditions; - description: string; - failMessageText: string; - name: string; - note: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - startedMessageText: string; - successMessageText: string; - templateId: string; - rewards: Rewards; - status: string; - KeyQuest: boolean; - changeQuestMessageText: string; - side: string; -} -export interface Conditions { - Started: AvailableForConditions[]; - AvailableForFinish: AvailableForConditions[]; - AvailableForStart: AvailableForConditions[]; - Success: AvailableForConditions[]; - Fail: AvailableForConditions[]; -} -export interface AvailableForConditions { - _parent: string; - _props: AvailableForProps; - dynamicLocale: boolean; -} -export interface AvailableForProps { - id: string; - index: number; - parentId: string; - dynamicLocale: boolean; - value?: number; - compareMethod?: string; - visibilityConditions?: VisibilityCondition[]; - target?: string | string[]; - status?: number[]; - onlyFoundInRaid?: boolean; - oneSessionOnly?: boolean; - doNotResetIfCounterCompleted?: boolean; - dogtagLevel?: number; - maxDurability?: number; - minDurability?: number; - counter?: AvailableForCounter; - plantTime?: number; - zoneId?: string; - type?: boolean; - countInRaid?: boolean; -} -export interface AvailableForCounter { - id: string; - conditions: CounterCondition[]; -} -export interface CounterCondition { - _parent: string; - _props: CounterProps; -} -export interface CounterProps { - id: string; - target: string[] | string; - compareMethod?: string; - value?: string; - weapon?: string[]; - equipmentInclusive?: string[][]; - weaponModsInclusive?: string[][]; - status?: string[]; - bodyPart?: string[]; - daytime?: DaytimeCounter; -} -export interface DaytimeCounter { - from: number; - to: number; -} -export interface VisibilityCondition { - id: string; - value: number; - dynamicLocale: boolean; - oneSessionOnly: boolean; -} -export interface Rewards { - AvailableForStart: Reward[]; - AvailableForFinish: Reward[]; - Started: Reward[]; - Success: Reward[]; - Fail: Reward[]; - FailRestartable: Reward[]; - Expired: Reward[]; -} -export interface Reward { - value?: string | number; - id: string; - type: QuestRewardType; - index: number; - target?: string; - items?: Item[]; - loyaltyLevel?: number; - traderId?: string; - unknown?: boolean; - findInRaid?: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IRepeatableQuests.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IRepeatableQuests.d.ts deleted file mode 100644 index e23ec73..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/IRepeatableQuests.d.ts +++ /dev/null @@ -1,219 +0,0 @@ -import { Item } from "./IItem"; -export interface IReward { - index: number; - type: string; - value: number; - target?: string; - items?: Item[]; -} -export interface IRepeatableQuestDatabase { - templates: ITemplates; - rewards: IRewardOptions; - data: IOptions; - samples: ISampleQuests[]; -} -export interface ITemplates { - Elimination: IRepeatableQuest; - Completion: IRepeatableQuest; - Exploration: IRepeatableQuest; -} -export interface IPmcDataRepeatableQuest { - id?: string; - name: string; - activeQuests: IRepeatableQuest[]; - inactiveQuests: IRepeatableQuest[]; - endTime: number; - changeRequirement: TChangeRequirementRecord; -} -export declare type TChangeRequirementRecord = Record; -export interface IChangeRequirement { - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IChangeCost { - templateId: string; - count: number; -} -export interface IRepeatableQuest { - _id: any; - traderId: string; - location: any; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - changeQuestMessageText: string; - templateId: string; - changeCost: IChangeCost[]; - changeStandingCost: number; -} -export interface IRewards { - Started: IReward[]; - Success: IReward[]; - Fail: IReward[]; -} -export interface IConditions { - AvailableForStart: any[]; - AvailableForFinish: IAvailableFor[]; - Fail: any[]; -} -export interface IAvailableFor { - _props: IAvailableForProps; - _parent: string; - dynamicLocale: boolean; -} -export interface IAvailableForProps { - id: string; - parentId: string; - dynamicLocale: boolean; - index: number; - visibilityConditions: IVisibilityCondition[]; - value: number; -} -export interface IVisibilityCondition { - id: string; - oneSessionOnly: boolean; - value: number; - index: number; - dynamicLocale: boolean; -} -export interface IAvailableForPropsCounter extends IAvailableForProps { - type: string; - oneSessionOnly: boolean; - doNotResetIfCounterCompleted: boolean; - counter: ICounter; -} -export interface ICounter { - id: string; - conditions: ICondition[]; -} -export interface ICondition { - _props: IConditionProps; - _parent: string; -} -export interface IConditionProps { - id: string; - dynamicLocale: boolean; -} -export interface IElimination extends IRepeatableQuest { - conditions: IEliminationConditions; -} -export interface IEliminationConditions extends IConditions { - AvailableForFinish: IEliminationAvailableFor[]; -} -export interface IEliminationAvailableFor extends IAvailableFor { - _props: IEliminationAvailableForProps; -} -export interface IEliminationAvailableForProps extends IAvailableForPropsCounter { - counter: IEliminationCounter; -} -export interface IEliminationCounter extends ICounter { - conditions: IEliminationCondition[]; -} -export interface IEliminationCondition extends ICondition { - _props: ILocationConditionProps | IKillConditionProps; -} -export interface IExploration extends IRepeatableQuest { - conditions: IExplorationConditions; -} -export interface IExplorationConditions extends IConditions { - AvailableForFinish: IExplorationAvailableFor[]; -} -export interface IExplorationAvailableFor extends IAvailableFor { - _props: IExplorationAvailableForProps; -} -export interface IExplorationAvailableForProps extends IAvailableForPropsCounter { - counter: IExplorationCounter; -} -export interface IExplorationCounter extends ICounter { - conditions: IExplorationCondition[]; -} -export interface IExplorationCondition extends ICondition { - _props: ILocationConditionProps | IExitStatusConditionProps | IExitNameConditionProps; -} -export interface ICompletion extends IRepeatableQuest { - conditions: ICompletionConditions; -} -export interface ICompletionConditions extends IConditions { - AvailableForFinish: ICompletionAvailableFor[]; -} -export interface ICompletionAvailableFor extends IAvailableFor { - _props: ICompletionAvailableForProps; -} -export interface ICompletionAvailableForProps extends IAvailableForProps { - target: string[]; - minDurability: number; - maxDurability: number; - dogtagLevel: number; - onlyFoundInRaid: boolean; -} -export interface ILocationConditionProps extends IConditionProps { - target: string[]; -} -export interface IKillConditionProps extends IConditionProps { - target: string; - value: number; - savageRole?: string[]; - bodyPart?: string[]; - distance?: IDistanceCheck; -} -export interface IDistanceCheck { - compareMethod: string; - value: number; -} -export interface IExitStatusConditionProps extends IConditionProps { - status: string[]; -} -export interface IExitNameConditionProps extends IConditionProps { - exitName: string; -} -export interface IRewardOptions { - itemsBlacklist: string[]; -} -export interface IOptions { - Completion: ICompletionFilter; -} -export interface ICompletionFilter { - itemsBlacklist: ItemsBlacklist[]; - itemsWhitelist: ItemsWhitelist[]; -} -export interface ItemsBlacklist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ItemsWhitelist { - minPlayerLevel: number; - itemIds: string[]; -} -export interface ISampleQuests { - _id: string; - traderId: string; - location: string; - image: string; - type: string; - isKey: boolean; - restartable: boolean; - instantComplete: boolean; - secretQuest: boolean; - canShowNotificationsInGame: boolean; - rewards: IRewards; - conditions: IConditions; - name: string; - note: string; - description: string; - successMessageText: string; - failMessageText: string; - startedMessageText: string; - templateId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ITemplateItem.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ITemplateItem.d.ts deleted file mode 100644 index 23a1a14..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ITemplateItem.d.ts +++ /dev/null @@ -1,455 +0,0 @@ -export interface ITemplateItem { - _id: string; - _name: string; - _parent: string; - _type: string; - _props: Props; - _proto: string; -} -export interface Props { - Name?: string; - ShortName?: string; - Description?: string; - Weight?: number; - BackgroundColor?: string; - Width?: number; - Height?: number; - StackMaxSize?: number; - Rarity?: string; - SpawnChance?: number; - CreditsPrice?: number; - ItemSound?: string; - Prefab?: Prefab; - UsePrefab?: Prefab; - StackObjectsCount?: number; - NotShownInSlot?: boolean; - ExaminedByDefault?: boolean; - ExamineTime?: number; - IsUndiscardable?: boolean; - IsUnsaleable?: boolean; - IsUnbuyable?: boolean; - IsUngivable?: boolean; - IsLockedafterEquip?: boolean; - QuestItem?: boolean; - LootExperience?: number; - ExamineExperience?: number; - HideEntrails?: boolean; - RepairCost?: number; - RepairSpeed?: number; - ExtraSizeLeft?: number; - ExtraSizeRight?: number; - ExtraSizeUp?: number; - ExtraSizeDown?: number; - ExtraSizeForceAdd?: boolean; - MergesWithChildren?: boolean; - CanSellOnRagfair?: boolean; - CanRequireOnRagfair?: boolean; - ConflictingItems?: string[]; - Unlootable?: boolean; - UnlootableFromSlot?: string; - UnlootableFromSide?: string[]; - AnimationVariantsNumber?: number; - DiscardingBlock?: boolean; - DropSoundType?: string; - RagFairCommissionModifier?: number; - IsAlwaysAvailableForInsurance?: boolean; - DiscardLimit?: number; - MaxResource?: number; - Resource?: number; - DogTagQualities?: boolean; - Grids?: Grid[]; - Slots?: Slot[]; - CanPutIntoDuringTheRaid?: boolean; - CantRemoveFromSlotsDuringRaid?: string[]; - KeyIds?: string[]; - TagColor?: number; - TagName?: string; - Durability?: number; - Accuracy?: number; - Recoil?: number; - Loudness?: number; - EffectiveDistance?: number; - Ergonomics?: number; - Velocity?: number; - RaidModdable?: boolean; - ToolModdable?: boolean; - BlocksFolding?: boolean; - BlocksCollapsible?: boolean; - IsAnimated?: boolean; - HasShoulderContact?: boolean; - SightingRange?: number; - DoubleActionAccuracyPenaltyMult?: number; - ModesCount: any; - DurabilityBurnModificator?: number; - HeatFactor?: number; - CoolFactor?: number; - muzzleModType?: string; - CustomAimPlane?: string; - sightModType?: string; - aimingSensitivity?: number; - SightModesCount?: number; - OpticCalibrationDistances?: number[]; - ScopesCount?: number; - AimSensitivity?: number | number[][]; - Zooms?: number[][]; - CalibrationDistances?: number[][]; - Intensity?: number; - Mask?: string; - MaskSize?: number; - NoiseIntensity?: number; - NoiseScale?: number; - Color?: Color; - DiffuseIntensity?: number; - HasHinge?: boolean; - RampPalette?: string; - DepthFade?: number; - RoughnessCoef?: number; - SpecularCoef?: number; - MainTexColorCoef?: number; - MinimumTemperatureValue?: number; - RampShift?: number; - HeatMin?: number; - ColdMax?: number; - IsNoisy?: boolean; - IsFpsStuck?: boolean; - IsGlitch?: boolean; - IsMotionBlurred?: boolean; - IsPixelated?: boolean; - PixelationBlockCount?: number; - ShiftsAimCamera?: number; - magAnimationIndex?: number; - Cartridges?: Slot[]; - CanFast?: boolean; - CanHit?: boolean; - CanAdmin?: boolean; - LoadUnloadModifier?: number; - CheckTimeModifier?: number; - CheckOverride?: number; - ReloadMagType?: string; - VisibleAmmoRangesString?: string; - MalfunctionChance?: number; - IsShoulderContact?: boolean; - Foldable?: boolean; - Retractable?: boolean; - SizeReduceRight?: number; - CenterOfImpact?: number; - ShotgunDispersion?: number; - IsSilencer?: boolean; - DeviationCurve?: number; - DeviationMax?: number; - SearchSound?: string; - BlocksArmorVest?: boolean; - speedPenaltyPercent?: number; - GridLayoutName?: string; - SpawnFilter?: any[]; - containType?: any[]; - sizeWidth?: number; - sizeHeight?: number; - isSecured?: boolean; - spawnTypes?: string; - lootFilter?: any[]; - spawnRarity?: string; - minCountSpawn?: number; - maxCountSpawn?: number; - openedByKeyID?: any[]; - RigLayoutName?: string; - MaxDurability?: number; - armorZone?: string[]; - armorClass: any; - mousePenalty?: number; - weaponErgonomicPenalty?: number; - BluntThroughput?: number; - ArmorMaterial?: string; - weapClass?: string; - weapUseType?: string; - ammoCaliber?: string; - OperatingResource?: number; - RepairComplexity?: number; - durabSpawnMin?: number; - durabSpawnMax?: number; - isFastReload?: boolean; - RecoilForceUp?: number; - RecoilForceBack?: number; - Convergence?: number; - RecoilAngle?: number; - weapFireType?: string[]; - RecolDispersion?: number; - SingleFireRate?: number; - CanQueueSecondShot?: boolean; - bFirerate?: number; - bEffDist?: number; - bHearDist?: number; - isChamberLoad?: boolean; - chamberAmmoCount?: number; - isBoltCatch?: boolean; - defMagType?: string; - defAmmo?: string; - AdjustCollimatorsToTrajectory?: boolean; - shotgunDispersion?: number; - Chambers?: Slot[]; - CameraRecoil?: number; - CameraSnap?: number; - ReloadMode?: string; - AimPlane?: number; - TacticalReloadStiffnes?: Xyz; - TacticalReloadFixation?: number; - RecoilCenter?: Xyz; - RotationCenter?: Xyz; - RotationCenterNoStock?: Xyz; - FoldedSlot?: string; - CompactHandling?: boolean; - MinRepairDegradation?: number; - MaxRepairDegradation?: number; - IronSightRange?: number; - IsFlareGun?: boolean; - IsGrenadeLauncher?: boolean; - IsOneoff?: boolean; - MustBoltBeOpennedForExternalReload?: boolean; - MustBoltBeOpennedForInternalReload?: boolean; - BoltAction?: boolean; - HipAccuracyRestorationDelay?: number; - HipAccuracyRestorationSpeed?: number; - HipInnaccuracyGain?: number; - ManualBoltCatch?: boolean; - BurstShotsCount?: number; - BaseMalfunctionChance?: number; - AllowJam?: boolean; - AllowFeed?: boolean; - AllowMisfire?: boolean; - AllowSlide?: boolean; - DurabilityBurnRatio?: number; - HeatFactorGun?: number; - CoolFactorGun?: number; - CoolFactorGunMods?: number; - HeatFactorByShot?: number; - AllowOverheat?: boolean; - DoubleActionAccuracyPenalty?: number; - RecoilPosZMult?: number; - MinRepairKitDegradation?: number; - MaxRepairKitDegradation?: number; - BlocksEarpiece?: boolean; - BlocksEyewear?: boolean; - BlocksHeadwear?: boolean; - BlocksFaceCover?: boolean; - Indestructibility?: number; - headSegments?: string[]; - FaceShieldComponent?: boolean; - FaceShieldMask?: string; - MaterialType?: string; - RicochetParams?: Xyz; - DeafStrength?: string; - BlindnessProtection?: number; - Distortion?: number; - CompressorTreshold?: number; - CompressorAttack?: number; - CompressorRelease?: number; - CompressorGain?: number; - CutoffFreq?: number; - Resonance?: number; - CompressorVolume?: number; - AmbientVolume?: number; - DryVolume?: number; - foodUseTime?: number; - foodEffectType?: string; - StimulatorBuffs?: string; - effects_health: any; - effects_damage: any; - MaximumNumberOfUsage?: number; - knifeHitDelay?: number; - knifeHitSlashRate?: number; - knifeHitStabRate?: number; - knifeHitRadius?: number; - knifeHitSlashDam?: number; - knifeHitStabDam?: number; - knifeDurab?: number; - PrimaryDistance?: number; - SecondryDistance?: number; - SlashPenetration?: number; - StabPenetration?: number; - PrimaryConsumption?: number; - SecondryConsumption?: number; - DeflectionConsumption?: number; - AppliedTrunkRotation?: Xyz; - AppliedHeadRotation?: Xyz; - DisplayOnModel?: boolean; - AdditionalAnimationLayer?: number; - StaminaBurnRate?: number; - ColliderScaleMultiplier?: Xyz; - ConfigPathStr?: string; - MaxMarkersCount?: number; - scaleMin?: number; - scaleMax?: number; - medUseTime?: number; - medEffectType?: string; - MaxHpResource?: number; - hpResourceRate?: number; - apResource?: number; - krResource?: number; - MaxOpticZoom?: number; - MaxRepairResource?: number; - TargetItemFilter?: string[]; - RepairQuality?: number; - RepairType?: string; - StackMinRandom?: number; - StackMaxRandom?: number; - ammoType?: string; - InitialSpeed?: number; - BallisticCoeficient?: number; - BulletMassGram?: number; - BulletDiameterMilimeters?: number; - Damage?: number; - ammoAccr?: number; - ammoRec?: number; - ammoDist?: number; - buckshotBullets?: number; - PenetrationPower?: number; - PenetrationPowerDiviation?: number; - ammoHear?: number; - ammoSfx?: string; - MisfireChance?: number; - MinFragmentsCount?: number; - MaxFragmentsCount?: number; - ammoShiftChance?: number; - casingName?: string; - casingEjectPower?: number; - casingMass?: number; - casingSounds?: string; - ProjectileCount?: number; - PenetrationChance?: number; - RicochetChance?: number; - FragmentationChance?: number; - Deterioration?: number; - SpeedRetardation?: number; - Tracer?: boolean; - TracerColor?: string; - TracerDistance?: number; - ArmorDamage?: number; - Caliber?: string; - StaminaBurnPerDamage?: number; - HeavyBleedingDelta?: number; - LightBleedingDelta?: number; - ShowBullet?: boolean; - HasGrenaderComponent?: boolean; - FuzeArmTimeSec?: number; - ExplosionStrength?: number; - MinExplosionDistance?: number; - MaxExplosionDistance?: number; - FragmentsCount?: number; - FragmentType?: string; - ShowHitEffectOnExplode?: boolean; - ExplosionType?: string; - AmmoLifeTimeSec?: number; - Contusion?: Xyz; - ArmorDistanceDistanceDamage?: Xyz; - Blindness?: Xyz; - IsLightAndSoundShot?: boolean; - LightAndSoundShotAngle?: number; - LightAndSoundShotSelfContusionTime?: number; - LightAndSoundShotSelfContusionStrength?: number; - MalfMisfireChance?: number; - MalfFeedChance?: number; - StackSlots?: StackSlot[]; - type?: string; - eqMin?: number; - eqMax?: number; - rate?: number; - ThrowType?: string; - ExplDelay?: number; - Strength?: number; - ContusionDistance?: number; - throwDamMax?: number; - explDelay?: number; - EmitTime?: number; - CanBeHiddenDuringThrow?: boolean; - MinTimeToContactExplode?: number; - ExplosionEffectType?: string; -} -export interface Prefab { - path: string; - rcid: string; -} -export interface Grid { - _name: string; - _id: string; - _parent: string; - _props: GridProps; - _proto: string; -} -export interface GridProps { - filters: GridFilter[]; - cellsH: number; - cellsV: number; - minCount: number; - maxCount: number; - maxWeight: number; - isSortingTable: boolean; -} -export interface GridFilter { - Filter: string[]; - ExcludedFilter: string[]; -} -export interface Slot { - _name: string; - _id: string; - _parent: string; - _props: SlotProps; - _max_count?: number; - _required: boolean; - _mergeSlotWithChildren: boolean; - _proto: string; -} -export interface SlotProps { - filters: SlotFilter[]; -} -export interface SlotFilter { - Shift?: number; - Filter: string[]; - AnimationIndex?: number; -} -export interface Xyz { - x: number; - y: number; - z: number; -} -export interface StackSlot { - _name?: string; - _id: string; - _parent: string; - _max_count: number; - _props: StackSlotProps; - _proto: string; - upd: any; -} -export interface StackSlotProps { - filters: SlotFilter[]; -} -export interface EffectsHealth { - Energy: EffectsHealthProps; - Hydration: EffectsHealthProps; -} -export interface EffectsHealthProps { - value: number; -} -export interface EffectsDamage { - Pain: EffectDamageProps; - LightBleeding: EffectDamageProps; - HeavyBleeding: EffectDamageProps; - Contusion: EffectDamageProps; - RadExposure: EffectDamageProps; - Fracture: EffectDamageProps; - DestroyedPart: EffectDamageProps; -} -export interface EffectDamageProps { - delay: number; - duration: number; - fadeOut: number; - cost?: number; - healthPenaltyMin?: number; - healthPenaltyMax?: number; -} -export interface Color { - r: number; - g: number; - b: number; - a: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ITrader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ITrader.d.ts deleted file mode 100644 index f0fe2b5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/common/tables/ITrader.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Item } from "./IItem"; -export interface ITrader { - assort: ITraderAssort; - base: ITraderBase; - dialogue?: Record; - questassort: Record>; - suits?: ISuit[]; -} -export interface ITraderBase { - refreshAssort: boolean; - _id: string; - avatar: string; - balance_dol: number; - balance_eur: number; - balance_rub: number; - buyer_up: boolean; - currency: string; - customization_seller: boolean; - discount: number; - discount_end: number; - gridHeight: number; - insurance: Insurance; - location: string; - loyaltyLevels: LoyaltyLevel[]; - medic: boolean; - name: string; - nextResupply: number; - nickname: string; - repair: Repair; - sell_category: string[]; - surname: string; - unlockedByDefault: boolean; -} -export interface Insurance { - availability: boolean; - excluded_category: string[]; - max_return_hour: number; - max_storage_time: number; - min_payment: number; - min_return_hour: number; -} -export interface LoyaltyLevel { - buy_price_coef: number; - exchange_price_coef: number; - heal_price_coef: number; - insurance_price_coef: number; - minLevel: number; - minSalesSum: number; - minStanding: number; - repair_price_coef: number; -} -export interface Repair { - availability: boolean; - currency: string; - currency_coefficient: number; - excluded_category: string[]; - excluded_id_list: any[]; - quality: string; -} -export interface ITraderAssort { - nextResupply?: number; - items: Item[]; - barter_scheme: Record; - loyal_level_items: Record; -} -export interface IBarterScheme { - count: number; - _tpl: string; - onlyFunctional?: boolean; -} -export interface ISuit { - _id: string; - tid: string; - suiteId: string; - isActive: boolean; - requirements: Requirements; -} -export interface Requirements { - loyaltyLevel: number; - profileLevel: number; - standing: number; - skillRequirements: string[]; - questRequirements: string[]; - itemRequirements: ItemRequirement[]; -} -export interface ItemRequirement { - count: number; - _tpl: string; - onlyFunctional: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/customization/IBuyClothingRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/customization/IBuyClothingRequestData.d.ts deleted file mode 100644 index d19b70d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/customization/IBuyClothingRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IBuyClothingRequestData { - Action: "CustomizationBuy"; - offer: string; - items: ClothingItem[]; -} -export interface ClothingItem { - del: boolean; - id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/customization/IWearClothingRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/customization/IWearClothingRequestData.d.ts deleted file mode 100644 index 122d9cf..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/customization/IWearClothingRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWearClothingRequestData { - Action: "CustomizationWear"; - suites: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IFriendRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IFriendRequestData.d.ts deleted file mode 100644 index 9c326ac..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IFriendRequestData { - to: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts deleted file mode 100644 index 53d8289..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetAllAttachmentsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetAllAttachmentsRequestData { - dialogId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts deleted file mode 100644 index 076d414..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetAllAttachmentsResponse.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Message } from "../profile/IAkiProfile"; -export interface IGetAllAttachmentsResponse { - messages: Message[]; - profiles: any[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts deleted file mode 100644 index 8f1beac..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetChatServerListRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetChatServerListRequestData { - VersionId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts deleted file mode 100644 index 1d0c0e8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetFriendListDataResponse.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -export interface IGetFriendListDataResponse { - Friends: Friend[]; - Ignore: any[]; - InIgnoreList: any[]; -} -export interface Friend { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; - MemberCategory: MemberCategory; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts deleted file mode 100644 index eed84b1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogInfoRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMailDialogInfoRequestData { - dialogId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts deleted file mode 100644 index f8fbf5d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogListRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMailDialogListRequestData { - limit: number; - offset: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts deleted file mode 100644 index 43d416e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogViewRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface IGetMailDialogViewRequestData { - type: MessageType; - dialogId: string; - limit: number; - time: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts deleted file mode 100644 index 4f8b946..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IGetMailDialogViewResponseData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { Message } from "../profile/IAkiProfile"; -export interface IGetMailDialogViewResponseData { - messages: Message[]; - profiles: IPmcData[]; - hasMessagesWithRewards: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IPinDialogRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IPinDialogRequestData.d.ts deleted file mode 100644 index 57b8a00..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IPinDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPinDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts deleted file mode 100644 index 874b828..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/IRemoveDialogRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRemoveDialogRequestData { - dialogId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/ISendMessageRequest.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/ISendMessageRequest.d.ts deleted file mode 100644 index dd79deb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/ISendMessageRequest.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -export interface ISendMessageRequest { - dialogId: string; - type: MessageType; - text: string; - replyTo: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts deleted file mode 100644 index 2076232..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/dialog/ISetDialogReadRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISetDialogReadRequestData { - dialogs: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IGameConfigResponse.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IGameConfigResponse.d.ts deleted file mode 100644 index eb37a39..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IGameConfigResponse.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export interface IGameConfigResponse { - aid: string; - lang: string; - languages: Record; - ndaFree: boolean; - taxonomy: number; - activeProfileId: string; - backend: Backend; - utc_time: number; - totalInGame: number; - reportAvailable: boolean; - twitchEventMember: boolean; -} -export interface Backend { - Trading: string; - Messaging: string; - Main: string; - RagFair: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts deleted file mode 100644 index a3ecad9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IGameEmptyCrcRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGameEmptyCrcRequestData { - crc: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IReportNicknameRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IReportNicknameRequestData.d.ts deleted file mode 100644 index 087c58b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IReportNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IReportNicknameRequestData { - uid: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IVersionValidateRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IVersionValidateRequestData.d.ts deleted file mode 100644 index 0aa0fed..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/game/IVersionValidateRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IVersionValidateRequestData { - version: Version; - develop: boolean; -} -export interface Version { - major: string; - minor: string; - game: string; - backend: string; - taxonomy: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/Effect.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/Effect.d.ts deleted file mode 100644 index 2f0adac..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/Effect.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Effect { - Fracture = "Fracture", - LightBleeding = "LightBleeding", - HeavyBleeding = "HeavyBleeding" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts deleted file mode 100644 index 7fb80a8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IHealthTreatmentRequestData.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export interface IHealthTreatmentRequestData { - Action: "RestoreHealth"; - trader: string; - items: Item[]; - difference: Difference; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} -export interface Difference { - BodyParts: BodyParts; - Energy: number; - Hydration: number; -} -export interface BodyParts { - Head: BodyPart; - Chest: BodyPart; - Stomach: BodyPart; - LeftArm: BodyPart; - RightArm: BodyPart; - LeftLeg: BodyPart; - RightLeg: BodyPart; -} -export interface BodyPart { - Health: number; - Effects: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IOffraidEatRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IOffraidEatRequestData.d.ts deleted file mode 100644 index 8e2b6c3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IOffraidEatRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidEatRequestData extends IBaseInteractionRequestData { - Action: "Eat"; - item: string; - count: number; - time: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IOffraidHealRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IOffraidHealRequestData.d.ts deleted file mode 100644 index c242300..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/IOffraidHealRequestData.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IOffraidHealRequestData extends IBaseInteractionRequestData { - Action: "Heal"; - item: string; - part: BodyPart; - count: number; - time: number; -} -export declare enum BodyPart { - Head = 0, - Chest = 1, - Stomach = 2, - LeftArm = 3, - RightArm = 4, - LeftLeg = 5, - RightLeg = 6, - Common = 7 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/ISyncHealthRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/ISyncHealthRequestData.d.ts deleted file mode 100644 index 20e32f6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/health/ISyncHealthRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface ISyncHealthRequestData { - Health: Health; - IsAlive: boolean; - Hydration?: number; - Energy?: number; - Temperature?: number; -} -export interface Health { - Head?: BodyPartHealth; - Chest?: BodyPartHealth; - Stomach?: BodyPartHealth; - LeftArm?: BodyPartHealth; - RightArm?: BodyPartHealth; - LeftLeg?: BodyPartHealth; - RightLeg?: BodyPartHealth; -} -export interface BodyPartHealth { - Maximum: number; - Current: number; - Effects: Record; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 8583e8d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/HideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface HideoutUpgradeCompleteRequestData { - Action: string; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutArea.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutArea.d.ts deleted file mode 100644 index d9fd2bf..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutArea.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface IHideoutArea { - _id: string; - type: number; - enabled: boolean; - needsFuel: boolean; - takeFromSlotLocked: boolean; - craftGivesExp: boolean; - stages: Record; -} -export interface Stage { - requirements: Requirement[]; - bonuses: StageBonus[]; - slots: number; - constructionTime: number; - description: string; -} -export interface Requirement { - areaType?: number; - requiredLevel?: number; - type: string; - templateId?: string; - count?: number; - isFunctional?: boolean; - traderId?: string; - loyaltyLevel?: number; - skillName?: string; - skillLevel?: number; -} -export interface StageBonus { - value: number; - passive: boolean; - production: boolean; - visible: boolean; - skillType?: string; - type: string; - filter?: string[]; - icon?: string; - id?: string; - templateId?: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts deleted file mode 100644 index dba83eb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutContinousProductionStartRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutContinousProductionStartRequestData { - Action: "HideoutContinuousProductionStart"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutProduction.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutProduction.d.ts deleted file mode 100644 index ce878be..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutProduction.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IHideoutProduction { - _id: string; - areaType: number; - requirements: Requirement[]; - productionTime: number; - boosters: any; - endProduct: string; - continuous: boolean; - count: number; - productionLimitCount: number; -} -export interface Requirement { - templateId?: string; - count?: number; - isFunctional?: boolean; - type: string; - areaType?: number; - requiredLevel?: number; - resource?: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts deleted file mode 100644 index 8326c55..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutPutItemInRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutPutItemInRequestData { - Action: "HideoutPutItemsInAreaSlots"; - areaType: number; - items: Record; - timestamp: number; -} -export interface ItemDetails { - count: number; - id: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutScavCase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutScavCase.d.ts deleted file mode 100644 index e0b9a27..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutScavCase.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -export interface IHideoutScavCase { - _id: string; - ProductionTime: number; - Requirements: Requirement[]; - EndProducts: EndProducts; -} -export interface Requirement { - templateId: string; - count: number; - isFunctional: boolean; - type: string; -} -export interface EndProducts { - Common: MinMax; - Rare: MinMax; - Superrare: MinMax; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts deleted file mode 100644 index 72fda86..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutScavCaseStartRequestData.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export interface IHideoutScavCaseStartRequestData { - Action: "HideoutScavCaseProductionStart"; - recipeId: string; - items: HideoutItem[]; - tools: Tool[]; - timestamp: number; -} -export interface HideoutItem { - id: string; - count: number; -} -export interface Tool { - id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts deleted file mode 100644 index 8e45939..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutSettingsBase.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutSettingsBase { - generatorSpeedWithoutFuel: number; - generatorFuelFlowRate: number; - airFilterUnitFlowRate: number; - gpuBoostRate: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts deleted file mode 100644 index 1ed542a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutSingleProductionStartRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutSingleProductionStartRequestData { - Action: "HideoutSingleProductionStart"; - recipeId: string; - items: Item[]; - timestamp: number; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts deleted file mode 100644 index 83a740a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutTakeItemOutRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutTakeItemOutRequestData { - Action: "HideoutTakeItemsFromAreaSlots"; - areaType: number; - slots: number[]; - timestamp: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts deleted file mode 100644 index a6847ef..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutTakeProductionRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutTakeProductionRequestData { - Action: "HideoutTakeProduction"; - recipeId: string; - timestamp: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts deleted file mode 100644 index cdea513..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutToggleAreaRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IHideoutToggleAreaRequestData { - Action: "HideoutToggleArea"; - areaType: number; - enabled: boolean; - timestamp: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts deleted file mode 100644 index 545311e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutUpgradeCompleteRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHideoutUpgradeCompleteRequestData { - Action: "HideoutUpgradeComplete"; - areaType: number; - timestamp: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts deleted file mode 100644 index dfbfdca..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/hideout/IHideoutUpgradeRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHideoutUpgradeRequestData { - Action: "HideoutUpgrade"; - areaType: number; - items: HideoutItem[]; - timestamp: number; -} -export interface HideoutItem { - count: number; - id: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts deleted file mode 100644 index b5dc5c1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/httpResponse/IGetBodyResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetBodyResponseData { - err: number; - errmsg: any; - (data: Type): Type; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/httpResponse/INullResponseData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/httpResponse/INullResponseData.d.ts deleted file mode 100644 index a3ae838..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/httpResponse/INullResponseData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface INullResponseData { - err: number; - errmsg: any; - data: null; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts deleted file mode 100644 index e2d9cf1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inRaid/IRegisterPlayerRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IRegisterPlayerRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts deleted file mode 100644 index 6930261..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inRaid/ISaveProgressRequestData.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../common/IPmcData"; -import { ISyncHealthRequestData } from "../health/ISyncHealthRequestData"; -export interface ISaveProgressRequestData { - exit: string; - profile: IPmcData; - isPlayerScav: boolean; - health: ISyncHealthRequestData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts deleted file mode 100644 index 0e32e96..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IGetInsuranceCostRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetInsuranceCostRequestData { - traders: string[]; - items: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts deleted file mode 100644 index bf209c6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IGetInsuranceCostResponseData.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare type IGetInsuranceCostResponseData = Record>; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IInsureRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IInsureRequestData.d.ts deleted file mode 100644 index f657bb7..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/insurance/IInsureRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInsureRequestData extends IBaseInteractionRequestData { - Action: "Insure"; - tid: string; - items: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IAddItemRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IAddItemRequestData.d.ts deleted file mode 100644 index 53db97a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IAddItemRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IAddItemRequestData { - tid: string; - items: any[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts deleted file mode 100644 index 462e0de..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryAddRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryAddRequestData extends IInventoryBaseActionRequestData { - Action: "Add"; - item: string; - container: Container; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts deleted file mode 100644 index b45e459..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryBaseActionRequestData.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface IInventoryBaseActionRequestData extends IBaseInteractionRequestData { -} -export interface To { - id: string; - container: string; - location?: ToLocation | number; -} -export interface ToLocation { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} -export interface Container { - id: string; - container: string; - location: Location | number; -} -export interface Location { - x: number; - y: number; - r: string; - rotation?: string; - isSearched: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts deleted file mode 100644 index ff35066..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryBindRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryBindRequestData extends IInventoryBaseActionRequestData { - Action: "Bind"; - item: string; - index: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts deleted file mode 100644 index 1e1ecef..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryCreateMarkerRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryCreateMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "CreateMapMarker"; - item: string; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts deleted file mode 100644 index 0657e1b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryDeleteMarkerRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryDeleteMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "DeleteMapMarker"; - item: string; - X: number; - Y: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts deleted file mode 100644 index e2857e1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryEditMarkerRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryEditMarkerRequestData extends IInventoryBaseActionRequestData { - Action: "EditMapMarker"; - item: string; - X: number; - Y: number; - mapMarker: MapMarker; -} -export interface MapMarker { - Type: string; - X: number; - Y: number; - Note: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts deleted file mode 100644 index 614711f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryExamineRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryExamineRequestData extends IInventoryBaseActionRequestData { - Action: "Examine"; - item: string; - fromOwner: IFromOwner; -} -export interface IFromOwner { - id: string; - type: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts deleted file mode 100644 index a5fb2a1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryFoldRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryFoldRequestData extends IInventoryBaseActionRequestData { - Action: "Fold"; - item: string; - value: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts deleted file mode 100644 index 3fcfa35..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryMergeRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMergeRequestData extends IInventoryBaseActionRequestData { - Action: "Merge"; - item: string; - with: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts deleted file mode 100644 index b767908..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryMoveRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventoryMoveRequestData extends IInventoryBaseActionRequestData { - Action: "Move"; - item: string; - to: To; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts deleted file mode 100644 index 5487b20..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryReadEncyclopediaRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryReadEncyclopediaRequestData extends IInventoryBaseActionRequestData { - Action: "ReadEncyclopedia"; - ids: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts deleted file mode 100644 index 07d1a52..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryRemoveRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryRemoveRequestData extends IInventoryBaseActionRequestData { - Action: "Remove"; - item: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySortRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySortRequestData.d.ts deleted file mode 100644 index a0b7928..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySortRequestData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Upd } from "../common/tables/IItem"; -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySortRequestData extends IInventoryBaseActionRequestData { - Action: "ApplyInventoryChanges"; - changedItems: ChangedItem[]; -} -export interface ChangedItem { - _id: string; - _tpl: string; - parentId: string; - slotId: string; - location: Location; - upd: Upd; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts deleted file mode 100644 index 730ae71..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySplitRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Container, IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventorySplitRequestData extends IInventoryBaseActionRequestData { - Action: "Split"; - item: string; - container: Container; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts deleted file mode 100644 index 1b0464d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventorySwapRequestData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { OwnerInfo } from "../common/request/IBaseInteractionRequestData"; -import { IInventoryBaseActionRequestData, To } from "./IInventoryBaseActionRequestData"; -export interface IInventorySwapRequestData extends IInventoryBaseActionRequestData { - Action: "Swap"; - item: string; - to: To; - item2: string; - to2: To; - fromOwner2: OwnerInfo; - toOwner2: OwnerInfo; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts deleted file mode 100644 index f021661..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryTagRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTagRequestData extends IInventoryBaseActionRequestData { - Action: "Tag"; - item: string; - TagName: string; - TagColor: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts deleted file mode 100644 index 0955440..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryToggleRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryToggleRequestData extends IInventoryBaseActionRequestData { - Action: "Toggle"; - item: string; - value: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts deleted file mode 100644 index cf4391b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/inventory/IInventoryTransferRequestData.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData"; -export interface IInventoryTransferRequestData extends IInventoryBaseActionRequestData { - Action: "Transfer"; - item: string; - with: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts deleted file mode 100644 index 689fe75..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IEmptyItemEventRouterResponse.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IEmptyItemEventRouterResponse extends IItemEventRouterBase { - profileChanges: ""; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts deleted file mode 100644 index 4841cfd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterBase.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -import { Item, Upd } from "../common/tables/IItem"; -import { IQuest } from "../common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../common/tables/IRepeatableQuests"; -import { IRagfairOffer } from "../ragfair/IRagfairOffer"; -export interface IItemEventRouterBase { - warnings: Warning[]; - profileChanges: TProfileChanges | ""; -} -export declare type TProfileChanges = Record; -export interface Warning { - index: number; - err: string; - errmsg: string; -} -export interface ProfileChange { - _id: string; - experience: number; - quests: IQuest[]; - ragFairOffers: IRagfairOffer[]; - builds: BuildChange[]; - items: ItemChanges; - production: Record; - skills: Skills; - traderRelations: Record; - repeatableQuests?: IPmcDataRepeatableQuest[]; -} -export interface BuildChange { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface ItemChanges { - new: Product[]; - change: Product[]; - del: Product[]; -} -export interface Production { - Progress: number; - StartTimestamp: number; - ProductionTime: number; - inProgress: boolean; - RecipeId: string; - Products: Product[]; -} -export interface Product { - _id: string; - _tpl?: string; - parentId?: string; - slotId?: string; - location?: ItemChangeLocation; - upd?: Upd; -} -export interface ItemChangeLocation { - x: number; - y: number; - r: number; - isSearched?: boolean; -} -export interface TraderRelations { - salesSum?: number; - standing?: number; - loyalty?: number; - unlocked?: boolean; - disabled?: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts deleted file mode 100644 index 515b49a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterRequest.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export interface IItemEventRouterRequest { - data: Daum[]; - tm: number; - reload: number; -} -export interface Daum { - Action: string; - item: string; - to: To; -} -export interface To { - id: string; - container: string; - location?: Location; -} -export interface Location { - x: number; - y: number; - r: string; - isSearched: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts deleted file mode 100644 index 72a9b5b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/itemEvent/IItemEventRouterResponse.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IItemEventRouterBase } from "./IItemEventRouterBase"; -export interface IItemEventRouterResponse extends IItemEventRouterBase { -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IChangeRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IChangeRequestData.d.ts deleted file mode 100644 index f0a7838..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IChangeRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IChangeRequestData extends ILoginRequestData { - change: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts deleted file mode 100644 index a14c7c9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IGetMiniProfileRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IGetMiniProfileRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/ILoginRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/ILoginRequestData.d.ts deleted file mode 100644 index e965813..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/ILoginRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ILoginRequestData { - username: string; - password: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IMiniProfile.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IMiniProfile.d.ts deleted file mode 100644 index c12661a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IMiniProfile.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface IMiniProfile { - username: string; - nickname: string; - side: string; - currlvl: number; - currexp: number; - prevexp: number; - nextlvl: number; - maxlvl: number; - akiData: AkiData; -} -export interface AkiData { - version: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IRegisterData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IRegisterData.d.ts deleted file mode 100644 index 61a8bbe..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IRegisterData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export interface IRegisterData extends ILoginRequestData { - edition: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IRemoveProfileData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IRemoveProfileData.d.ts deleted file mode 100644 index d31c9ac..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/launcher/IRemoveProfileData.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { ILoginRequestData } from "./ILoginRequestData"; -export declare type IRemoveProfileData = ILoginRequestData; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/location/IGetLocationRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/location/IGetLocationRequestData.d.ts deleted file mode 100644 index 04e84d9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/location/IGetLocationRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetLocationRequestData { - crc: number; - locationId: string; - variantId: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/ICreateGroupRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/ICreateGroupRequestData.d.ts deleted file mode 100644 index 7413a8a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/ICreateGroupRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface ICreateGroupRequestData { - location: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts deleted file mode 100644 index 811e9a2..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IEndOfflineRaidRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IEndOfflineRaidRequestData { - crc: number; - exitStatus: string; - exitName: any; - raidSeconds: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts deleted file mode 100644 index 55d7079..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IGetGroupStatusRequestData.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { RaidMode } from "../../enums/RaidMode"; -export interface IGetGroupStatusRequestData { - location: string; - savage: boolean; - dt: string; - keyId: string; - raidMode: RaidMode; - startInGroup: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IGetProfileRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IGetProfileRequestData.d.ts deleted file mode 100644 index 86b5bbd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IGetProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetProfileRequestData { - profileId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IJoinMatchRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IJoinMatchRequestData.d.ts deleted file mode 100644 index cd34f7b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IJoinMatchRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IJoinMatchRequestData { - location: string; - savage: boolean; - dt: string; - servers: Server[]; - keyId: string; -} -export interface Server { - ping: number; - ip: string; - port: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IJoinMatchResult.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IJoinMatchResult.d.ts deleted file mode 100644 index df695f4..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IJoinMatchResult.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface IJoinMatchResult { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; - version: string; - location: string; - gamemode: string; - shortid: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IPutMetricsRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IPutMetricsRequestData.d.ts deleted file mode 100644 index d9ed214..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IPutMetricsRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IPutMetricsRequestData { - sid: string; - settings: any; - SharedSettings: any; - HardwareDescription: any; - Location: string; - Metrics: any; - ClientEvents: any; - SpikeSamples: any[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts deleted file mode 100644 index af0625e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IStartOffineRaidRequestData.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { BotAmount } from "../../enums/BotAmount"; -import { BotDifficulty } from "../../enums/BotDifficulty"; -export interface IStartOfflineRaidRequestData { - locationName: string; - startTime: number; - dateTime: string; - gameSettings: GameSettings; -} -export interface GameSettings { - timeAndWeatherSettings: TimeAndWeatherSettings; - botsSettings: BotsSettings; - wavesSettings: WavesSettings; -} -export interface TimeAndWeatherSettings { - isRandomTime: boolean; - isRandomWeather: boolean; -} -export interface BotsSettings { - isEnabled: boolean; - isScavWars: boolean; - botAmount: BotAmount; -} -export interface WavesSettings { - botDifficulty: BotDifficulty; - isBosses: boolean; - isTaggedAndCursed: boolean; - wavesBotAmount: BotAmount; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IUpdatePingRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IUpdatePingRequestData.d.ts deleted file mode 100644 index defbd66..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/match/IUpdatePingRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUpdatePingRequestData { - servers: any[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notes/INoteActionData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notes/INoteActionData.d.ts deleted file mode 100644 index 610657f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notes/INoteActionData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseInteractionRequestData } from "../common/request/IBaseInteractionRequestData"; -export interface INoteActionData extends IBaseInteractionRequestData { - Action: string; - index: number; - note: INote; -} -export interface INote { - Time: number; - Text: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notifier/INotifier.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notifier/INotifier.d.ts deleted file mode 100644 index 8c48260..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notifier/INotifier.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export interface INotifierChannel { - "server": string; - "channel_id": string; - "url": string; - "notifierServer": string; - "ws": string; -} -import { Message } from "../profile/IAkiProfile"; -export interface INotification { - type: "RagfairOfferSold" | "new_message" | "ping"; - eventId: string; - dialogId?: string; - message?: Message; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts deleted file mode 100644 index 2bc3d1e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/notifier/ISelectProfileRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISelectProfileRequestData { - uid: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts deleted file mode 100644 index 2f9827c..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/player/IPlayerIncrementSkillLevelRequestData.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Skills } from "../common/tables/IBotBase"; -export interface IPlayerIncrementSkillLevelRequestData { - _id: string; - experience: number; - quests: any[]; - ragFairOffers: any[]; - builds: any[]; - items: Items; - production: Production; - skills: Skills; - traderRelations: TraderRelations; -} -export interface Items { - new: any[]; - change: any[]; - del: any[]; -} -export interface Production { -} -export interface TraderRelations { -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts deleted file mode 100644 index 99c61f1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/presetBuild/IPresetBuildActionRequestData.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export interface IPresetBuildActionRequestData { - Action: string; - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Item { - _id: string; - _tpl: string; - upd?: Upd; - parentId?: string; - slotId?: string; -} -export interface Upd { - Repairable: Repairable; - FireMode: FireMode; -} -export interface Repairable { - MaxDurability: number; - Durability: number; -} -export interface FireMode { - FireMode: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts deleted file mode 100644 index eee9b4f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/GetProfileStatusResponseData.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface GetProfileStatusResponseData { - maxPveCountExceeded: false; - profiles: ProfileData[]; -} -export interface ProfileData { - profileid: string; - status: string; - sid: string; - ip: string; - port: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IAkiProfile.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IAkiProfile.d.ts deleted file mode 100644 index eaa66c1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IAkiProfile.d.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { MessageType } from "../../enums/MessageType"; -import { IPmcData } from "../common/IPmcData"; -import { Item } from "../common/tables/IItem"; -export interface IAkiProfile { - info: Info; - characters: Characters; - suits: string[]; - weaponbuilds: WeaponBuild[]; - dialogues: Record; - aki: Aki; - vitality: Vitality; - inraid: Inraid; - insurance: Insurance[]; -} -export interface Info { - id: string; - username: string; - password: string; - wipe: boolean; - edition: string; -} -export interface Characters { - pmc: IPmcData; - scav: IPmcData; -} -export interface WeaponBuild { - id: string; - name: string; - root: string; - items: Item[]; -} -export interface Dialogue { - _id: string; - messages: Message[]; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface DialogueInfo { - _id: string; - type: MessageType; - message: MessagePreview; - pinned: boolean; - new: number; - attachmentsNew: number; -} -export interface Message { - _id: string; - uid: string; - type: MessageType; - dt: number; - UtcDateTime?: number; - Member?: IUpdatableChatMember; - templateId: string; - text?: string; - hasRewards: boolean; - rewardCollected: boolean; - items: MessageItems; - maxStorageTime?: number; - systemData?: ISystemData; - profileChangeEvents?: any[]; -} -export interface MessagePreview { - uid: string; - type: MessageType; - dt: number; - templateId: string; - text?: string; -} -export interface MessageItems { - stash?: string; - data?: Item[]; -} -export interface ISystemData { - date?: string; - time?: string; - location?: string; - buyerNickname?: string; - soldItem?: string; - itemCount?: number; -} -export interface IUpdatableChatMember { - Nickname: string; - Side: string; - Level: number; - MemberCategory: string; - Ignored: boolean; - Banned: boolean; -} -export interface DateTime { - date: string; - time: string; -} -export interface Aki { - version: string; -} -export interface Vitality { - health: Health; - effects: Effects; -} -export interface Health { - Hydration: number; - Energy: number; - Temperature: number; - Head: number; - Chest: number; - Stomach: number; - LeftArm: number; - RightArm: number; - LeftLeg: number; - RightLeg: number; -} -export interface Effects { - Head: Head; - Chest: Chest; - Stomach: Stomach; - LeftArm: LeftArm; - RightArm: RightArm; - LeftLeg: LeftLeg; - RightLeg: RightLeg; -} -export interface Head { -} -export interface Chest { -} -export interface Stomach { -} -export interface LeftArm { - Fracture?: number; -} -export interface RightArm { - Fracture?: number; -} -export interface LeftLeg { - Fracture?: number; -} -export interface RightLeg { - Fracture?: number; -} -export interface Inraid { - location: string; - character: string; -} -export interface Insurance { - scheduledTime: number; - traderId: string; - messageContent: MessageContent; - items: Item[]; -} -export interface MessageContent { - ragfair?: MessageContentRagfair; - text?: string; - templateId: string; - type: MessageType; - maxStorageTime?: number; - profileChangeEvents?: any[]; - systemData?: ISystemData; -} -export interface MessageContentRagfair { - offerId: string; - count: number; - handbookId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts deleted file mode 100644 index 4a61196..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileChangeNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts deleted file mode 100644 index 91058ce..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileChangeVoiceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IProfileChangeVoiceRequestData { - voice: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileCreateRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileCreateRequestData.d.ts deleted file mode 100644 index 93cc656..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IProfileCreateRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IProfileCreateRequestData { - side: string; - nickname: string; - headId: string; - voiceId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/ISearchFriendRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/ISearchFriendRequestData.d.ts deleted file mode 100644 index e63e386..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/ISearchFriendRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISearchFriendRequestData { - nickname: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/ISearchFriendResponse.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/ISearchFriendResponse.d.ts deleted file mode 100644 index 96d88b2..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/ISearchFriendResponse.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface ISearchFriendResponse { - _id: string; - Info: Info; -} -export interface Info { - Nickname: string; - Side: string; - Level: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts deleted file mode 100644 index 9cca7e7..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/profile/IValidateNicknameRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IValidateNicknameRequestData { - nickname: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts deleted file mode 100644 index 0e4821a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IAcceptQuestRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IAcceptQuestRequestData { - Action: "QuestAccept"; - qid: string; - type: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts deleted file mode 100644 index 36a6db3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/ICompleteQuestRequestData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface ICompleteQuestRequestData { - Action: string; - /** Quest Id */ - qid: string; - removeExcessItems: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts deleted file mode 100644 index 63f10a8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IHandoverQuestRequestData.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface IHandoverQuestRequestData { - Action: "QuestHandover"; - qid: string; - conditionId: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IListQuestsRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IListQuestsRequestData.d.ts deleted file mode 100644 index 91f0b8c..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IListQuestsRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IListQuestsRequestData { - completed: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts deleted file mode 100644 index 015f58e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/quests/IRepeatableQuestChangeRequest.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRepeatableQuestChangeRequest { - Action: "RepeatableQuestChange"; - qid: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts deleted file mode 100644 index 465ee02..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IAddOfferRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IAddOfferRequestData { - Action: string; - sellInOnePiece: boolean; - items: string[]; - requirements: Requirement[]; -} -export interface Requirement { - _tpl: string; - count: number; - level: number; - side: number; - onlyFunctional: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts deleted file mode 100644 index 2a4a876..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IExtendOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IExtendOfferRequestData { - offerId: string; - renewalTime: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts deleted file mode 100644 index 676322a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetItemPriceResult.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IGetItemPriceResult { - avg: number; - min: number; - max: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts deleted file mode 100644 index 00f8f17..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetMarketPriceRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IGetMarketPriceRequestData { - templateId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetOffersResult.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetOffersResult.d.ts deleted file mode 100644 index fbc631d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IGetOffersResult.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IRagfairOffer } from "./IRagfairOffer"; -export interface IGetOffersResult { - categories?: Record; - offers: IRagfairOffer[]; - offersCount: number; - selectedCategory: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IRagfairOffer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IRagfairOffer.d.ts deleted file mode 100644 index 63f655e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IRagfairOffer.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { MemberCategory } from "../../enums/MemberCategory"; -import { Item } from "../common/tables/IItem"; -export interface IRagfairOffer { - sellResult?: SellResult[]; - _id: string; - items: Item[]; - requirements: OfferRequirement[]; - root: string; - intId: number; - itemsCost: number; - requirementsCost: number; - startTime: number; - endTime: number; - sellInOnePiece: boolean; - name?: string; - shortName?: string; - loyaltyLevel: number; - locked: boolean; - unlimitedCount: boolean; - summaryCost: number; - user: IRagfairOfferUser; - notAvailable: boolean; - CurrentItemCount: number; - priority: boolean; -} -export interface OfferRequirement { - _tpl: string; - count: number; - onlyFunctional: boolean; -} -export interface IRagfairOfferUser { - id: string; - nickname: string; - rating: number; - memberType: MemberCategory; - avatar: string; - isRatingGrowing: boolean; -} -export interface SellResult { - sellTime: number; - amount: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts deleted file mode 100644 index d926615..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/IRemoveOfferRequestData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRemoveOfferRequestData { - Action: string; - offerId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/ISearchRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/ISearchRequestData.d.ts deleted file mode 100644 index 08e7fd3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/ISearchRequestData.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -export interface ISearchRequestData { - page: number; - limit: number; - sortType: number; - sortDirection: number; - currency: number; - priceFrom: number; - priceTo: number; - quantityFrom: number; - quantityTo: number; - conditionFrom: number; - conditionTo: number; - oneHourExpiration: boolean; - removeBartering: boolean; - offerOwnerType: OfferOwnerType; - onlyFunctional: boolean; - updateOfferCount: boolean; - handbookId: string; - linkedSearchId: string; - neededSearchId: string; - buildItems: BuildItems; - buildCount: number; - tm: number; - reload: number; -} -export declare enum OfferOwnerType { - ANYOWNERTYPE = 0, - TRADEROWNERTYPE = 1, - PLAYEROWNERTYPE = 2 -} -export interface BuildItems { -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts deleted file mode 100644 index 2d14d20..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/ragfair/ISendRagfairReportRequestData.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface ISendRagfairReportRequestData { - offerId: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts deleted file mode 100644 index e645fb3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/IBaseRepairActionDataRequest.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseRepairActionDataRequest { - Action: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/IRepairActionDataRequest.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/IRepairActionDataRequest.d.ts deleted file mode 100644 index 263d400..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/IRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface IRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "Repair"; - repairKitsInfo: RepairKitsInfo[]; - target: string; -} -export interface RepairKitsInfo { - _id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts deleted file mode 100644 index e3d469d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/repair/ITraderRepairActionDataRequest.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IBaseRepairActionDataRequest } from "./IBaseRepairActionDataRequest"; -export interface ITraderRepairActionDataRequest extends IBaseRepairActionDataRequest { - Action: "TraderRepair"; - tid: string; - repairItems: RepairItem[]; -} -export interface RepairItem { - _id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts deleted file mode 100644 index a9ef757..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessBaseTradeRequestData.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IProcessBaseTradeRequestData { - Action: string; - type: string; - tid: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts deleted file mode 100644 index a9e4c17..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessBuyTradeRequestData.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestData { - Action: "buy_from_trader" | "TradingConfirm" | "RestoreHealth" | ""; - type: string; - tid: string; - item_id: string; - count: number; - scheme_id: number; - scheme_items: SchemeItem[]; -} -export interface SchemeItem { - id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts deleted file mode 100644 index 889dfd1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessRagfairTradeRequestData.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export interface IProcessRagfairTradeRequestData { - Action: string; - offers: Offer[]; -} -export interface Offer { - id: string; - count: number; - items: Item[]; -} -export interface Item { - id: string; - count: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts deleted file mode 100644 index f1d555f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/trade/IProcessSellTradeRequestData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IProcessBaseTradeRequestData } from "./IProcessBaseTradeRequestData"; -export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestData { - Action: "sell_to_trader"; - type: string; - tid: string; - items: Item[]; -} -export interface Item { - id: string; - count: number; - scheme_id: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/weather/IWeatherData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/weather/IWeatherData.d.ts deleted file mode 100644 index ecc96ce..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/weather/IWeatherData.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface IWeatherData { - acceleration: number; - time: string; - date: string; - weather: IWeather; -} -export interface IWeather { - pressure: number; - temp: number; - fog: string; - rain_intensity: number; - rain: any; - wind_gustiness: number; - wind_direction: any; - wind_speed: number; - cloud: number; - time: string; - date: string; - timestamp: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/wishlist/IWishlistActionData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/wishlist/IWishlistActionData.d.ts deleted file mode 100644 index 9217864..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/eft/wishlist/IWishlistActionData.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IWishlistActionData { - Action: string; - templateId: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/AmmoTypes.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/AmmoTypes.d.ts deleted file mode 100644 index b52ddcf..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/AmmoTypes.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -export declare enum Grenade { - M386_HE_GRENADE = "5ede475b549eed7c6d5c18fb", - M576_MP_APERS_GRENADE = "5ede475339ee016e8c534742", - M433_HEDP_GRENADE = "5f0c892565703e5c461894e9", - M406_HE_GRENADE = "5ede4739e0350d05467f73e8", - M381_HE_GRENADE = "5ede474b0c226a66f5402622", - M441_HE_GRENADE = "5ede47405b097655935d7d16" -} -export declare enum Ammo762x51 { - M62_TRACER = "5a608bf24f39f98ffc77720e", - M80 = "58dd3ad986f77403051cba8f", - M61 = "5a6086ea4f39f99cd479502f", - BCP_FMJ = "5e023e53d4353e3302577c4c", - ULTRA_NOSLER = "5e023e88277cce2b522ff2b1", - TCW_SP = "5e023e6e34d52a55c3304f71", - M993 = "5efb0c1bd79ff02a1f5e68d9" -} -export declare enum Ammo762x54 { - SNB_GZH = "560d61e84bdc2da74d8b4571", - LPS_GZH = "5887431f2459777e1612938f", - PS_GZH = "59e77a2386f7742ee578960a", - T46M_GZH = "5e023cf8186a883be655e54f", - BT_GZH = "5e023d34e8a400319a28ed44", - BS_GZH = "5e023d48186a883be655e551" -} -export declare enum Ammo338Lapua { - TAC_X = "5fc382b6d6fa9c00c571bbc3", - UCW = "5fc382c1016cce60e8341b20", - AP = "5fc382a9d724d907e2077dab", - FMJ = "5fc275cf85fd526b824a571a" -} -export declare enum Ammo46x30 { - AP_SX = "5ba26835d4351e0035628ff5", - ACTION_SX = "5ba26812d4351e003201fef1", - FMJ_SX = "5ba2678ad4351e44f824b344", - SUBSONIC_SX = "5ba26844d4351e00334c9475" -} -export declare enum Ammo57x28 { - SS198LF = "5cc80f79e4a949033c7343b2", - R37_F = "5cc86832d7f00c000d3a6e6c", - SS190 = "5cc80f38e4a949001152b560", - R37_X = "5cc86840d7f00c002412c56c", - L191 = "5cc80f53e4a949000e1ea4f8", - SS197SR = "5cc80f8fe4a949033b0224a2", - SB193 = "5cc80f67e4a949035e43bbba" -} -export declare enum Ammo762x25 { - FMJ43 = "5735ff5c245977640e39ba7e", - LRN = "573601b42459776410737435", - P_GL = "5736026a245977644601dc61", - PST_GZH = "573603562459776430731618", - LRNPC = "573602322459776445391df1", - AKBS = "5735fdcd2459776445391d61", - PT_GZH = "573603c924597764442bd9cb" -} -export declare enum Ammo9x18 { - PM_SP8_GZH = "5737218f245977612125ba51", - P_GZH = "573719762459775a626ccbc1", - PSTM_GZH = "57371aab2459775a77142f22", - RG028_GZH = "573720e02459776143012541", - BZHT_GZH = "573718ba2459775a75491131", - PM_PSV = "5737207f24597760ff7b25f2", - SP7_GZH = "57372140245977611f70ee91", - PBM_GZH = "573719df2459775a626ccbc2", - PSO_GZH = "57371f8d24597761006c6a81", - PST_GZH = "5737201124597760fc4431f1", - PS_GS_PPO = "57371f2b24597761224311f1", - PRS_GS = "57371eb62459776125652ac1", - PPT_GZH = "57371e4124597760ff7b25f1", - PPE_GZH = "57371b192459775a9f58a5e0" -} -export declare enum Ammo9x19 { - PSO_GZH = "58864a4f2459770fcc257101", - PST_GZH = "56d59d3ad2720bdb418b4577", - GREEN_TRACER = "5c3df7d588a4501f290594e5", - RIP = "5c0d56a986f774449d5de529", - AP_63 = "5c925fa22e221601da359b7b", - LUGER_CCI = "5a3c16fe86f77452b62de32a", - PBP_GZH = "5efb0da7a29a85116f6ea05f", - QUAKEMAKER = "5efb0e16aeb21837e749c7ff" -} -export declare enum Ammo9x21 { - P_GZH = "5a26abfac4a28232980eabff", - PS_GZH = "5a269f97c4a282000b151807", - PE_GZH = "5a26ac06c4a282000c5a90a8", - BT_GZH = "5a26ac0ec4a28200741e1e18" -} -export declare enum Ammo357Mag { - FMJ = "62330b3ed4dc74626d570b95", - HOLLOW_POINT = "62330bfadc5883093563729b", - SOFT_POINT = "62330c40bdd19b369e1e53d1", - JACKET_HP = "62330c18744e5e31df12f516" -} -export declare enum Ammo45ACP { - MATCH_FMJ = "5e81f423763d9f754677bf2e", - HYDRA_SHOK = "5efb0fc6aeb21837e749c801", - LASERMATCH_FMJ = "5efb0d4f4bc50b58e81710f3", - AP = "5efb0cabfb3e451d70735af5", - RIP = "5ea2a8e200685063ec28c05a" -} -export declare enum Ammo545x39 { - PS_GS = "56dff3afd2720bba668b4567", - SP = "56dff421d2720b5f5a8b4567", - PPBS_GS_IGOLNIK = "5c0d5e4486f77478390952fe", - BS_7N40 = "61962b617c6c7b169525f168", - PRS_GS = "56dff338d2720bbd668b4569", - BT_GS = "56dff061d2720bb5668b4567", - US_GS = "56dff4ecd2720b5f5a8b4568", - BP_GS = "56dfef82d2720bbd668b4567", - HP = "56dff216d2720bbd668b4568", - BS_GS = "56dff026d2720bb8668b4567", - T_GS = "56dff4a2d2720bbd668b456a", - PP_GS = "56dff2ced2720bb4668b4567", - FMJ = "56dff0bed2720bb0668b4567" -} -export declare enum Ammo556x45 { - M856 = "59e68f6f86f7746c9f75e846", - MK255_MOD_0_RRLP = "59e6918f86f7746c9f75e849", - M995 = "59e690b686f7746c9f75e848", - M855A1 = "54527ac44bdc2d36668b4567", - M856A1 = "59e6906286f7746c9f75e847", - M855 = "54527a984bdc2d4e668b4567", - HP = "59e6927d86f77411da468256", - FMJ = "59e6920f86f77411d82aa167", - WARMAGEDDON = "5c0d5ae286f7741e46554302", - MK_318_MOD_0_SOST = "60194943740c5d77f6705eea", - SSA_AP = "601949593ae8f707c4608daa" -} -export declare enum Ammo300Blackout { - M62_TRACER = "619636be6db0f2477964e710", - BCP_FMJ = "5fbe3ffdf8b6a877a729ea82", - AP = "5fd20ff893a8961fc660a954", - V_MAX = "6196364158ef8c428c287d9f", - WHISPER = "6196365d58ef8c428c287da1" -} -export declare enum Ammo762x39 { - PS_GZH = "5656d7c34bdc2d9d198b4587", - HP = "59e4d3d286f774176a36250a", - US_GZH = "59e4d24686f7741776641ac7", - T45M1_GZH = "59e4cf5286f7741778269d8a", - BP_GZH = "59e0d99486f7744a32234762", - MAI_AP = "601aa3d2b2bcb34913271e6d" -} -export declare enum Ammo9x39 { - SP5_GS = "57a0dfb82459774d3078b56c", - BP_GS = "5c0d688c86f77413ae3407b2", - SP6_GS = "57a0e5022459774d1673f889", - SPP_GS = "5c0d668f86f7747ccb7f13b2", - PAB9_GS = "61962d879bb3d20b0946d385" -} -export declare enum Ammo366TKM { - FMJ = "59e6542b86f77411dc52a77a", - GEKSA = "59e6658b86f77411d949b250", - EKO = "59e655cb86f77411dc52a77b", - APM = "5f0596629e22f464da6bbdd9" -} -export declare enum Ammo127x55 { - PS12 = "5cadf6ddae9215051e1c23b2", - PS12B = "5cadf6eeae921500134b2799", - PS12A = "5cadf6e5ae921500113bb973" -} -export declare enum Ammo12Gauge { - BUCKSHOT_7MM = "560d5e524bdc2d25448b4571", - MAGNUM_85MM = "5d6e6806a4b936088465b17e", - RIP = "5c0d591486f7744c505b416f", - BMG_SLUG_50CAL = "5d6e68c4a4b9361b93413f79", - BUCKSHOT_525MM = "5d6e6772a4b936088465b17c", - EXPRESS_65MM = "5d6e67fba4b9361bc73bc779", - FLECHETTE = "5d6e6911a4b9361bd5780d52", - FTX_CUSTOM_LITE_SLUG = "5d6e68e6a4b9361c140bcfe0", - AP20_ARMOR_PIERCING_SLUG = "5d6e68a8a4b9360b6c0d54e2", - DUAL_SABOT_SLUG = "5d6e68dea4b9361bcc29e659", - POLEVA_6U_SLUG = "5d6e689ca4b9361bc8618956", - POLEVA_3_SLUG = "5d6e6891a4b9361bd473feea", - GRIZZLY_40_SLUG = "5d6e6869a4b9361c140bcfde", - SUPERFORMANCE_HP_SLUG = "5d6e68d1a4b93622fe60e845", - COPPER_SABOT_PREMIER_HP_SLUG = "5d6e68b3a4b9361bca7e50b5", - LEAD_SLUG = "58820d1224597753c90aeb13" -} -export declare enum Ammo20Gauge { - BUCKSHOT_75MM = "5a38ebd9c4a282000d722a5b", - STAR_SLUG = "5d6e6a05a4b93618084f58d0", - BUCKSHOT_73MM = "5d6e69c7a4b9360b6c0d54e4", - DEVASTATOR_SLUG = "5d6e6a5fa4b93614ec501745", - BUCKSHOT_56MM = "5d6e695fa4b936359b35d852", - POLEVA_6U_SLUG = "5d6e6a42a4b9364f07165f52", - POLEVA_3_SLUG = "5d6e6a53a4b9361bd473feec", - BUCKSHOT_62MM = "5d6e69b9a4b9361bc8618958" -} -export declare enum Ammo23x75 { - SHRAPNEL10_BUCKSHOT = "5e85a9a6eacf8c039e4e2ac1", - SHRAPNEL25_BUCKSHOT = "5f647f31b6238e5dd066e196", - ZVEZDA_FLASHBANG = "5e85a9f4add9fe03027d9bf1", - BARRIKADA_SLUG = "5e85aa1a988a8701445df1f5" -} -export declare enum Ammo30x29 { - VOG_30 = "5d70e500a4b9364de70d38ce" -} -export declare enum Ammo127x108 { - B32 = "5cde8864d7f00c0010373be1", - BZT_44M = "5d2f2ab648f03550091993ca" -} -export declare enum Ammo26x75 { - GREEN_FLARE = "62389aaba63f32501b1b444f", - RED_FLARE = "62389ba9a63f32501b1b4451", - WHITE_FLARE = "62389bc9423ed1685422dc57", - YELLOW_FLARE = "62389be94d5d474bf712e709" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BaseClasses.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BaseClasses.d.ts deleted file mode 100644 index e733bca..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BaseClasses.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -export declare enum BaseClasses { - WEAPON = "5422acb9af1c889c16000029", - ARMOR = "5448e54d4bdc2dcc718b4568", - VEST = "5448e5284bdc2dcb718b4567", - BACKPACK = "5448e53e4bdc2d60728b4567", - VISORS = "5448e5724bdc2ddf718b4568", - FOOD = "5448e8d04bdc2ddf718b4569", - DRINK = "5448e8d64bdc2dce718b4568", - BARTER_ITEM = "5448eb774bdc2d0a728b4567", - INFO = "5448ecbe4bdc2d60728b4568", - MEDKIT = "5448f39d4bdc2d0a728b4568", - DRUGS = "5448f3a14bdc2d27728b4569", - STIMULATOR = "5448f3a64bdc2d60728b456a", - MEDICAL = "5448f3ac4bdc2dce718b4569", - MEDICAL_SUPPLIES = "57864c8c245977548867e7f1", - MOD = "5448fe124bdc2da5018b4567", - FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b", - FUEL = "5d650c3e815116009f6201d2", - GEAR_MOD = "55802f3e4bdc2de7118b4584", - STOCK = "55818a594bdc2db9688b456a", - FOREGRIP = "55818af64bdc2d5b648b4570", - MASTER_MOD = "55802f4a4bdc2ddb688b4569", - MOUNT = "55818b224bdc2dde698b456f", - MUZZLE = "5448fe394bdc2d0d028b456c", - SIGHTS = "5448fe7a4bdc2d6f028b456b", - MEDS = "543be5664bdc2dd4348b4569", - MONEY = "543be5dd4bdc2deb348b4569", - KEY = "543be5e94bdc2df1348b4568", - KEY_MECHANICAL = "5c99f98d86f7745c314214b3", - KEYCARD = "5c164d2286f774194c5e69fa", - EQUIPMENT = "543be5f84bdc2dd4348b456a", - THROW_WEAPON = "543be6564bdc2df4348b4568", - FOOD_DRINK = "543be6674bdc2df1348b4569", - PISTOL = "5447b5cf4bdc2d65278b4567", - SMG = "5447b5e04bdc2d62278b4567", - ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567", - ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567", - SHOTGUN = "5447b6094bdc2dc3278b4567", - MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567", - SNIPER_RIFLE = "5447b6254bdc2dc3278b4568", - MACHINE_GUN = "5447bed64bdc2d97278b4568", - GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568", - SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569", - SPEC_ITEM = "5447e0e74bdc2d3c308b4567", - KNIFE = "5447e1d04bdc2dff2f8b4567", - AMMO = "5485a8684bdc2da71d8b4567", - AMMO_BOX = "543be5cb4bdc2deb348b4568", - LOOT_CONTAINER = "566965d44bdc2d814c8b4571", - MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a", - SEARCHABLE_ITEM = "566168634bdc2d144c8b456c", - STASH = "566abbb64bdc2d144c8b457d", - SORTING_TABLE = "6050cac987d3f925bf016837", - LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569", - SIMPLE_CONTAINER = "5795f317245977243854e041", - INVENTORY = "55d720f24bdc2d88028b456d", - STATIONARY_CONTAINER = "567583764bdc2d98058b456e", - POCKETS = "557596e64bdc2dc2118b4571", - ARMBAND = "5b3f15d486f77432d0509248", - DOG_TAG_USEC = "59f32c3b86f77472a31742f0", - DOG_TAG_BEAR = "59f32bb586f774757e1e8442", - JEWELRY = "57864a3d24597754843f8721", - ELECTRONICS = "57864a66245977548f04a81f", - BUILDING_MATERIAL = "57864ada245977548638de91", - TOOL = "57864bb7245977548b3b66c2", - HOUSEHOLD_GOODS = "57864c322459775490116fbf", - LUBRICANT = "57864e4c24597754843f8723", - BATTERY = "57864ee62459775490116fc1", - ASSAULT_SCOPE = "55818add4bdc2d5b648b456f", - REFLEX_SIGHT = "55818ad54bdc2ddc698b4569", - TACTICAL_COMBO = "55818b164bdc2ddc698b456c", - MAGAZINE = "5448bc234bdc2d3c308b4569", - LIGHT_LASER = "55818b0e4bdc2dde698b456e", - FLASH_HIDER = "550aa4bf4bdc2dd6348b456b", - COLLIMATOR = "55818ad54bdc2ddc698b4569", - COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b", - COMPENSATOR = "550aa4af4bdc2dd4348b456e", - OPTIC_SCOPE = "55818ae44bdc2dde698b456c", - SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a", - OTHER = "590c745b86f7743cc433c5f2", - SILENCER = "550aa4cd4bdc2dd8348b456c", - PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc", - ITEM = "54009119af1c881c07000029", - CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BotAmount.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BotAmount.d.ts deleted file mode 100644 index d0e1df1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BotAmount.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare enum BotAmount { - AsOnline = "AsOnline", - Low = "Low", - Medium = "Medium", - High = "High", - Horde = "Horde" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BotDifficulty.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BotDifficulty.d.ts deleted file mode 100644 index c901bcf..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/BotDifficulty.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum BotDifficulty { - AsOnline = "AsOnline", - Easy = "Easy", - Medium = "Medium", - Hard = "Hard", - Impossible = "Impossible", - Random = "Random" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ConfigTypes.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ConfigTypes.d.ts deleted file mode 100644 index 61d6f99..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ConfigTypes.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -export declare enum ConfigTypes { - AIRDROP = "aki-airdrop", - BOT = "aki-bot", - CORE = "aki-core", - HEALTH = "aki-health", - HIDEOUT = "aki-hideout", - HTTP = "aki-http", - IN_RAID = "aki-inraid", - INSURANCE = "aki-insurance", - INVENTORY = "aki-inventory", - LOCALE = "aki-locale", - LOCATION = "aki-location", - MATCH = "aki-match", - PLAYERSCAV = "aki-playerscav", - QUEST = "aki-quest", - RAGFAIR = "aki-ragfair", - REPAIR = "aki-repair", - SCAVCASE = "aki-scavcase", - TRADER = "aki-trader", - WEATHER = "aki-weather" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ContainerTypes.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ContainerTypes.d.ts deleted file mode 100644 index e6b330a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ContainerTypes.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -export declare enum CommonContainers { - AMMO_CASE = "5aafbde786f774389d0cbc0f", - DOCUMENTS_CASE = "590c60fc86f77412b13fddcf", - DOGTAG_CASE = "5c093e3486f77430cb02e593", - GRENADE_CASE = "5e2af55f86f7746d4159f07c", - INJECTOR_CASE = "619cbf7d23893217ec30b689", - ITEM_CASE = "59fb042886f7746c5005a7b2", - KEY_TOOL = "59fafd4b86f7745ca07e1232", - KEYCARD_HOLDER = "619cbf9e0a7c3a1a2731940a", - SCAV_JUNKBOX = "5b7c710788a4506dec015957", - MAGAZINE_CASE = "5c127c4486f7745625356c13", - MEDICINE_CASE = "5aafbcd986f7745e590fff23", - MONEY_CASE = "59fb016586f7746d0d4b423a", - HOLODILNICK_THERMAL_BAG = "5c093db286f7740a1b2617e3", - PISTOL_CASE = "567143bf4bdc2d1a0f8b4567", - SICC_ORGANIZATIONAL_POUCH = "5d235bb686f77443f4331278", - SIMPLE_WALLET = "5783c43d2459774bbe137486", - THICC_ITEM_CASE = "5c0a840b86f7742ffa4f2482", - THICC_WEAPON_CASE = "5b6d9ce188a4501afc1b2b25", - WEAPON_CASE = "59fb023c86f7746d0d4b423c", - WZ_WALLET = "60b0f6c058e0b0481a09ad11" -} -export declare enum SecuredContainers { - ALPHA = "544a11ac4bdc2d470e8b456a", - BETA = "5857a8b324597729ab0a0e7d", - EPSILON = "59db794186f77448bc595262", - GAMMA = "5857a8bc2459772bad15db29", - KAPPA = "5c093ca986f7740a1867ab12" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ELocationName.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ELocationName.d.ts deleted file mode 100644 index b56cc08..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/ELocationName.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum ELocationName { - FACTORY_DAY = "factory4_day", - BIGMAP = "bigmap", - WOODS = "Woods", - SHORELINE = "Shoreline", - INTERCHANGE = "Interchange", - LIGHTHOUSE = "Lighthouse", - LABORATORY = "laboratory", - RESERVE = "RezervBase", - ANY = "any" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/EquipmentSlots.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/EquipmentSlots.d.ts deleted file mode 100644 index 35c18ff..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/EquipmentSlots.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum EquipmentSlots { - HEADWEAR = "Headwear", - EARPIECE = "Earpiece", - FACE_COVER = "FaceCover", - ARMOR_VEST = "ArmorVest", - EYEWEAR = "Eyewear", - ARM_BAND = "ArmBand", - TACTICAL_VEST = "TacticalVest", - POCKETS = "Pockets", - BACKPACK = "Backpack", - SECURED_CONTAINER = "SecuredContainer", - FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon", - SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon", - HOLSTER = "Holster", - SCABBARD = "Scabbard" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/HideoutAreas.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/HideoutAreas.d.ts deleted file mode 100644 index b44a20a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/HideoutAreas.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreas { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/MemberCategory.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/MessageType.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/MessageType.d.ts deleted file mode 100644 index 1b0c649..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/MessageType.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export declare enum MessageType { - USER_MESSAGE = 1, - NPC_TRADER = 2, - AUCTION_MESSAGE = 3, - FLEAMARKET_MESSAGE = 4, - ADMIN_MESSAGE = 5, - GROUP_CHAT_MESSAGE = 6, - SYSTEM_MESSAGE = 7, - INSURANCE_RETURN = 8, - GLOBAL_CHAT = 9, - QUEST_START = 10, - QUEST_FAIL = 11, - QUEST_SUCCESS = 12, - MESSAGE_WITH_ITEMS = 13, - INITIAL_SUPPORT = 14 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/Money.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/Money.d.ts deleted file mode 100644 index 0d39613..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/Money.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum Money { - ROUBLES = "5449016a4bdc2d6f028b456f", - EUROS = "569668774bdc2da2298b4568", - DOLLARS = "5696686a4bdc2da3298b456a" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/QuestRewardType.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/QuestRewardType.d.ts deleted file mode 100644 index 1d3db86..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/QuestRewardType.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export declare enum QuestRewardType { - Skill = "Skill", - Experience = "Experience", - TraderStanding = "TraderStanding", - TraderUnlock = "TraderUnlock", - Item = "Item", - AssortmentUnlock = "AssortmentUnlock" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/QuestStatus.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/QuestStatus.d.ts deleted file mode 100644 index ba65933..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/QuestStatus.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum QuestStatus { - Locked = 0, - AvailableForStart = 1, - Started = 2, - AvailableForFinish = 3, - Success = 4, - Fail = 5, - FailRestartable = 6, - MarkedAsFailed = 7, - Expired = 8 -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/RaidMode.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/RaidMode.d.ts deleted file mode 100644 index c5a8cff..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/RaidMode.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export declare enum RaidMode { - Online = "Online", - Local = "Local", - Coop = "Coop" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/SkillTypes.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/SkillTypes.d.ts deleted file mode 100644 index 4eb90af..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/SkillTypes.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -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/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/Traders.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/Traders.d.ts deleted file mode 100644 index 163cd71..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/WeaponSkillTypes.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/WeaponSkillTypes.d.ts deleted file mode 100644 index 1e20a2d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/enums/WeaponSkillTypes.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -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/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPostAkiLoadMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPostAkiLoadMod.d.ts deleted file mode 100644 index f6950e8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPostAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostAkiLoadMod { - postAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPostDBLoadMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPostDBLoadMod.d.ts deleted file mode 100644 index ca7c682..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPostDBLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPostDBLoadMod { - postDBLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPreAkiLoadMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPreAkiLoadMod.d.ts deleted file mode 100644 index ae7579e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/IPreAkiLoadMod.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IPreAkiLoadMod { - preAkiLoad(container: DependencyContainer): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/mod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/tsyringe.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/tsyringe.d.ts deleted file mode 100644 index 56a7e58..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/external/tsyringe.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { DependencyContainer } from "tsyringe"; -export type { DependencyContainer }; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bindings/Route.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bindings/Route.d.ts deleted file mode 100644 index 1b29d7d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bindings/Route.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IRoute { - aki: any; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bots/BotLootCache.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bots/BotLootCache.d.ts deleted file mode 100644 index e185315..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bots/BotLootCache.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class BotLootCache { - backpackLoot: ITemplateItem[]; - pocketLoot: ITemplateItem[]; - vestLoot: ITemplateItem[]; - combinedPoolLoot: ITemplateItem[]; - specialItems: ITemplateItem[]; - healingItems: ITemplateItem[]; - drugItems: ITemplateItem[]; - stimItems: ITemplateItem[]; - grenadeItems: ITemplateItem[]; -} -export declare enum LootCacheType { - Special = "Special", - Backpack = "Backpack", - Pocket = "Pocket", - Vest = "Vest", - Combined = "Combined", - HealingItems = "HealingItems", - DrugItems = "DrugItems", - StimItems = "StimItems", - GrenadeItems = "GrenadeItems" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bots/GenerateWeaponResult.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bots/GenerateWeaponResult.d.ts deleted file mode 100644 index f099752..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/bots/GenerateWeaponResult.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Mods } from "../../eft/common/tables/IBotType"; -import { Item } from "../../eft/common/tables/IItem"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -export declare class GenerateWeaponResult { - weapon: Item[]; - chosenAmmo: string; - weaponMods: Mods; - weaponTemplate: ITemplateItem; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IBotCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IBotCallbacks.d.ts deleted file mode 100644 index 2c42813..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IBotCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface IBotCallbacks { - getBotLimit(url: string, info: IEmptyRequestData, sessionID: string): string; - getBotDifficulty(url: string, info: IEmptyRequestData, sessionID: string): string; - generateBots(url: string, info: IGenerateBotsRequestData, sessionID: string): IGetBodyResponseData; - getBotCap(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IBundleCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IBundleCallbacks.d.ts deleted file mode 100644 index 7e37c6e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IBundleCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IBundleCallbacks { - sendBundle(sessionID: string, req: any, resp: any, body: any): any; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts deleted file mode 100644 index d10027f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ICustomizationCallbacks.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IBuyClothingRequestData } from "../../eft/customization/IBuyClothingRequestData"; -import { IWearClothingRequestData } from "../../eft/customization/IWearClothingRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISuit } from "../../eft/common/tables/ITrader"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface ICustomizationCallbacks { - getSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - getTraderSuits(url: string, info: any, sessionID: string): IGetBodyResponseData; - wearClothing(pmcData: IPmcData, body: IWearClothingRequestData, sessionID: string): IItemEventRouterResponse; - buyClothing(pmcData: IPmcData, body: IBuyClothingRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IDataCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IDataCallbacks.d.ts deleted file mode 100644 index a098560..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IDataCallbacks.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGlobals } from "../../eft/common/IGlobals"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILanguageBase } from "../server/ILocaleBase"; -import { ISettingsBase } from "../server/ISettingsBase"; -export interface IDataCallbacks { - getSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGlobals(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateItems(url: string, info: IEmptyRequestData, sessionID: string): string; - getTemplateHandbook(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateCharacter(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getTemplateQuests(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutAreas(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gethideoutProduction(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getHideoutScavcase(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesLanguages(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesMenu(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getLocalesGlobal(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts deleted file mode 100644 index fe2115a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IDialogueCallbacks.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetMailDialogViewRequestData } from "../../eft/dialog/IGetMailDialogViewRequestData"; -import { IGetMailDialogInfoRequestData } from "../../eft/dialog/IGetMailDialogInfoRequestData"; -import { IRemoveDialogRequestData } from "../../eft/dialog/IRemoveDialogRequestData"; -import { IGetMailDialogListRequestData } from "../../eft/dialog/IGetMailDialogListRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IFriendRequestData } from "../../eft/dialog/IFriendRequestData"; -import { IPinDialogRequestData } from "../../eft/dialog/IPinDialogRequestData"; -import { ISetDialogReadRequestData } from "../../eft/dialog/ISetDialogReadRequestData"; -import { IGetAllAttachmentsRequestData } from "../../eft/dialog/IGetAllAttachmentsRequestData"; -import { IGetChatServerListRequestData } from "../../eft/dialog/IGetChatServerListRequestData"; -import { IGetFriendListDataResponse } from "../../eft/dialog/IGetFriendListDataResponse"; -import { ISendMessageRequest } from "../../eft/dialog/ISendMessageRequest"; -import { IGetMailDialogViewResponseData } from "../../eft/dialog/IGetMailDialogViewResponseData"; -import { IGetAllAttachmentsResponse } from "../../eft/dialog/IGetAllAttachmentsResponse"; -import { DialogueInfo } from "../../eft/profile/IAkiProfile"; -export interface IDialogueCallbacks { - getFriendList(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getChatServerList(url: string, info: IGetChatServerListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogList(url: string, info: IGetMailDialogListRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogView(url: string, info: IGetMailDialogViewRequestData, sessionID: string): IGetBodyResponseData; - getMailDialogInfo(url: string, info: IGetMailDialogInfoRequestData, sessionID: string): IGetBodyResponseData; - removeDialog(url: string, info: IRemoveDialogRequestData, sessionID: string): IGetBodyResponseData; - pinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - unpinDialog(url: string, info: IPinDialogRequestData, sessionID: string): IGetBodyResponseData; - setRead(url: string, info: ISetDialogReadRequestData, sessionID: string): IGetBodyResponseData; - getAllAttachments(url: string, info: IGetAllAttachmentsRequestData, sessionID: string): IGetBodyResponseData; - listOutbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - listInbox(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - friendRequest(url: string, request: IFriendRequestData, sessionID: string): INullResponseData; - sendMessage(url: string, request: ISendMessageRequest, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IGameCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IGameCallbacks.d.ts deleted file mode 100644 index 38ebc5f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IGameCallbacks.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGameEmptyCrcRequestData } from "../../eft/game/IGameEmptyCrcRequestData"; -import { IVersionValidateRequestData } from "../../eft/game/IVersionValidateRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGameConfigResponse } from "../../eft/game/IGameConfigResponse"; -export interface IGameCallbacks { - versionValidate(url: string, info: IVersionValidateRequestData, sessionID: string): INullResponseData; - gameStart(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameLogout(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getGameConfig(url: string, info: IGameEmptyCrcRequestData, sessionID: string): IGetBodyResponseData; - getServer(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - validateGameVersion(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - gameKeepalive(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getVersion(url: string, info: IEmptyRequestData, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts deleted file mode 100644 index 5857a3e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHandbookCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IHandbookCallbacks { - load(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHealthCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHealthCallbacks.d.ts deleted file mode 100644 index d238c7a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHealthCallbacks.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { ISyncHealthRequestData } from "../../eft/health/ISyncHealthRequestData"; -import { IOffraidEatRequestData } from "../../eft/health/IOffraidEatRequestData"; -import { IOffraidHealRequestData } from "../../eft/health/IOffraidHealRequestData"; -import { IHealthTreatmentRequestData } from "../../eft/health/IHealthTreatmentRequestData"; -export interface IHealthCallbacks { - onLoad(sessionID: string): IAkiProfile; - syncHealth(url: string, info: ISyncHealthRequestData, sessionID: string): any; - offraidEat(pmcData: IPmcData, body: IOffraidEatRequestData, sessionID: string): any; - offraidHeal(pmcData: IPmcData, body: IOffraidHealRequestData, sessionID: string): any; - healthTreatment(pmcData: IPmcData, info: IHealthTreatmentRequestData, sessionID: string): any; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts deleted file mode 100644 index e9badb6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHideoutCallbacks.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IHideoutUpgradeRequestData } from "../../eft/hideout/IHideoutUpgradeRequestData"; -import { IHideoutUpgradeCompleteRequestData } from "../../eft/hideout/IHideoutUpgradeCompleteRequestData"; -import { IHideoutScavCaseStartRequestData } from "../../eft/hideout/IHideoutScavCaseStartRequestData"; -import { IHideoutPutItemInRequestData } from "../../eft/hideout/IHideoutPutItemInRequestData"; -import { IHideoutTakeItemOutRequestData } from "../../eft/hideout/IHideoutTakeItemOutRequestData"; -import { IHideoutToggleAreaRequestData } from "../../eft/hideout/IHideoutToggleAreaRequestData"; -import { IHideoutSingleProductionStartRequestData } from "../../eft/hideout/IHideoutSingleProductionStartRequestData"; -import { IHideoutContinousProductionStartRequestData } from "../../eft/hideout/IHideoutContinousProductionStartRequestData"; -import { IHideoutTakeProductionRequestData } from "../../eft/hideout/IHideoutTakeProductionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IHideoutCallbacks { - upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse; - upgradeComplete(pmcData: IPmcData, body: IHideoutUpgradeCompleteRequestData, sessionID: string): IItemEventRouterResponse; - putItemsInAreaSlots(pmcData: IPmcData, body: IHideoutPutItemInRequestData, sessionID: string): IItemEventRouterResponse; - takeItemsFromAreaSlots(pmcData: IPmcData, body: IHideoutTakeItemOutRequestData, sessionID: string): IItemEventRouterResponse; - toggleArea(pmcData: IPmcData, body: IHideoutToggleAreaRequestData, sessionID: string): IItemEventRouterResponse; - singleProductionStart(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - scavCaseProductionStart(pmcData: IPmcData, body: IHideoutScavCaseStartRequestData, sessionID: string): IItemEventRouterResponse; - continuousProductionStart(pmcData: IPmcData, body: IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse; - takeProduction(pmcData: IPmcData, body: IHideoutTakeProductionRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHttpCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHttpCallbacks.d.ts deleted file mode 100644 index 3ecd945..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IHttpCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IHttpCallbacks { - load(): void; - sendImage(sessionID: string, req: any, resp: any, body: any): void; - getImage(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInraidCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInraidCallbacks.d.ts deleted file mode 100644 index e959b98..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInraidCallbacks.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IRegisterPlayerRequestData } from "../../eft/inRaid/IRegisterPlayerRequestData"; -import { ISaveProgressRequestData } from "../../eft/inRaid/ISaveProgressRequestData"; -export interface IInraidCallbacks { - onLoad(sessionID: string): IAkiProfile; - registerPlayer(url: string, info: IRegisterPlayerRequestData, sessionID: string): INullResponseData; - saveProgress(url: string, info: ISaveProgressRequestData, sessionID: string): INullResponseData; - getRaidEndState(): string; - getRaidMenuSettings(url: string, info: IEmptyRequestData, sessionID: string): string; - getWeaponDurability(url: string, info: any, sessionID: string): string; - getAirdropConfig(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts deleted file mode 100644 index 082112d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInsuranceCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAkiProfile } from "../../eft/profile/IAkiProfile"; -import { IGetInsuranceCostRequestData } from "../../eft/insurance/IGetInsuranceCostRequestData"; -import { IInsureRequestData } from "../../eft/insurance/IInsureRequestData"; -export interface IInsuranceCallbacks { - onLoad(sessionID: string): IAkiProfile; - getInsuranceCost(url: string, info: IGetInsuranceCostRequestData, sessionID: string): any; - insure(pmcData: IPmcData, body: IInsureRequestData, sessionID: string): any; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts deleted file mode 100644 index e53f7d0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IInventoryCallbacks.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IInventoryFoldRequestData } from "../../eft/inventory/IInventoryFoldRequestData"; -import { IInventorySplitRequestData } from "../../eft/inventory/IInventorySplitRequestData"; -import { IInventoryMoveRequestData } from "../../eft/inventory/IInventoryMoveRequestData"; -import { IInventoryMergeRequestData } from "../../eft/inventory/IInventoryMergeRequestData"; -import { IInventoryRemoveRequestData } from "../../eft/inventory/IInventoryRemoveRequestData"; -import { IInventoryTransferRequestData } from "../../eft/inventory/IInventoryTransferRequestData"; -import { IInventorySwapRequestData } from "../../eft/inventory/IInventorySwapRequestData"; -import { IInventoryToggleRequestData } from "../../eft/inventory/IInventoryToggleRequestData"; -import { IInventoryTagRequestData } from "../../eft/inventory/IInventoryTagRequestData"; -import { IInventoryBindRequestData } from "../../eft/inventory/IInventoryBindRequestData"; -import { IInventoryExamineRequestData } from "../../eft/inventory/IInventoryExamineRequestData"; -import { IInventoryReadEncyclopediaRequestData } from "../../eft/inventory/IInventoryReadEncyclopediaRequestData"; -import { IInventorySortRequestData } from "../../eft/inventory/IInventorySortRequestData"; -import { IInventoryCreateMarkerRequestData } from "../../eft/inventory/IInventoryCreateMarkerRequestData"; -import { IInventoryDeleteMarkerRequestData } from "../../eft/inventory/IInventoryDeleteMarkerRequestData"; -import { IInventoryEditMarkerRequestData } from "../../eft/inventory/IInventoryEditMarkerRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IInventoryCallbacks { - moveItem(pmcData: IPmcData, body: IInventoryMoveRequestData, sessionID: string): IItemEventRouterResponse; - removeItem(pmcData: IPmcData, body: IInventoryRemoveRequestData, sessionID: string): IItemEventRouterResponse; - splitItem(pmcData: IPmcData, body: IInventorySplitRequestData, sessionID: string): IItemEventRouterResponse; - mergeItem(pmcData: IPmcData, body: IInventoryMergeRequestData, sessionID: string): IItemEventRouterResponse; - transferItem(pmcData: IPmcData, body: IInventoryTransferRequestData, sessionID: string): IItemEventRouterResponse; - swapItem(pmcData: IPmcData, body: IInventorySwapRequestData, sessionID: string): IItemEventRouterResponse; - foldItem(pmcData: IPmcData, body: IInventoryFoldRequestData, sessionID: string): IItemEventRouterResponse; - toggleItem(pmcData: IPmcData, body: IInventoryToggleRequestData, sessionID: string): IItemEventRouterResponse; - tagItem(pmcData: IPmcData, body: IInventoryTagRequestData, sessionID: string): IItemEventRouterResponse; - bindItem(pmcData: IPmcData, body: IInventoryBindRequestData, sessionID: string): IItemEventRouterResponse; - examineItem(pmcData: IPmcData, body: IInventoryExamineRequestData, sessionID: string): IItemEventRouterResponse; - readEncyclopedia(pmcData: IPmcData, body: IInventoryReadEncyclopediaRequestData, sessionID: string): IItemEventRouterResponse; - sortInventory(pmcData: IPmcData, body: IInventorySortRequestData, sessionID: string): IItemEventRouterResponse; - createMapMarker(pmcData: IPmcData, body: IInventoryCreateMarkerRequestData, sessionID: string): IItemEventRouterResponse; - deleteMapMarker(pmcData: IPmcData, body: IInventoryDeleteMarkerRequestData, sessionID: string): IItemEventRouterResponse; - editMapMarker(pmcData: IPmcData, body: IInventoryEditMarkerRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts deleted file mode 100644 index 59db771..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IItemEventCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IItemEventRouterRequest } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IItemEventCallbacks { - handleEvents(url: string, info: IItemEventRouterRequest, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts deleted file mode 100644 index 52dfec6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ILauncherCallbacks.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IRegisterData } from "../../eft/launcher/IRegisterData"; -import { IRemoveProfileData } from "../../eft/launcher/IRemoveProfileData"; -import { ILoginRequestData } from "../../eft/launcher/ILoginRequestData"; -import { IChangeRequestData } from "../../eft/launcher/IChangeRequestData"; -import { IGetMiniProfileRequestData } from "../../eft/launcher/IGetMiniProfileRequestData.js"; -export interface ILauncherCallbacks { - connect(): string; - login(url: string, info: ILoginRequestData, sessionID: string): string; - register(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - get(url: string, info: ILoginRequestData, sessionID: string): string; - changeUsername(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - changePassword(url: string, info: IChangeRequestData, sessionID: string): "FAILED" | "OK"; - wipe(url: string, info: IRegisterData, sessionID: string): "FAILED" | "OK"; - getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; - getAllMiniProfiles(url: string, info: any, sessionID: string): string; - getServerVersion(): string; - ping(url: string, info: any, sessionID: string): string; - removeProfile(url: string, info: IRemoveProfileData, sessionID: string): string; - getCompatibleTarkovVersion(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ILocationCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ILocationCallbacks.d.ts deleted file mode 100644 index 71656a4..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ILocationCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IGetLocationRequestData } from "../../eft/location/IGetLocationRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ILocationsGenerateAllResponse } from "../../eft/common/ILocationsSourceDestinationBase"; -import { ILocationBase } from "../../eft/common/ILocationBase"; -export interface ILocationCallbacks { - getLocationData(url: string, info: any, sessionID: string): IGetBodyResponseData; - getLocation(url: string, info: IGetLocationRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IMatchCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IMatchCallbacks.d.ts deleted file mode 100644 index fcbf173..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IMatchCallbacks.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { IStartOfflineRaidRequestData } from "../../eft/match/IStartOffineRaidRequestData"; -import { IEndOfflineRaidRequestData } from "../../eft/match/IEndOfflineRaidRequestData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IPmcData } from "../../eft/common/IPmcData"; -export interface IMatchCallbacks { - updatePing(url: string, info: any, sessionID: string): INullResponseData; - exitMatch(url: string, info: any, sessionID: string): INullResponseData; - exitToMenu(url: string, info: any, sessionID: string): INullResponseData; - startGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - stopGroupSearch(url: string, info: any, sessionID: string): INullResponseData; - sendGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - acceptGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - cancelGroupInvite(url: string, info: any, sessionID: string): INullResponseData; - putMetrics(url: string, info: any, sessionID: string): INullResponseData; - getProfile(url: string, info: any, sessionID: string): IGetBodyResponseData; - serverAvailable(url: string, info: any, sessionID: string): IGetBodyResponseData | IGetBodyResponseData; - joinMatch(url: string, info: any, sessionID: string): IGetBodyResponseData; - getMetrics(url: string, info: any, sessionID: string): IGetBodyResponseData; - getGroupStatus(url: string, info: any, sessionID: string): IGetBodyResponseData; - createGroup(url: string, info: any, sessionID: string): IGetBodyResponseData; - deleteGroup(url: string, info: any, sessionID: string): INullResponseData; - startOfflineRaid(url: string, info: IStartOfflineRaidRequestData, sessionID: string): INullResponseData; - endOfflineRaid(url: string, info: IEndOfflineRaidRequestData, sessionID: string): INullResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IModCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IModCallbacks.d.ts deleted file mode 100644 index 1a4cd7b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IModCallbacks.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface IModCallbacks { - load(): void; - sendBundle(sessionID: string, req: any, resp: any, body: any): void; - getBundles(url: string, info: any, sessionID: string): string; - getBundle(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/INoteCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/INoteCallbacks.d.ts deleted file mode 100644 index 8453a4f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/INoteCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { INoteActionData } from "../../eft/notes/INoteActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface INoteCallbacks { - addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; - deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/INotifierCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/INotifierCallbacks.d.ts deleted file mode 100644 index a211310..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/INotifierCallbacks.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INotifierChannel } from "../../eft/notifier/INotifier"; -import { ISelectProfileRequestData } from "../../eft/notifier/ISelectProfileRequestData"; -export interface INotifierCallbacks { - /** - * If we don't have anything to send, it's ok to not send anything back - * because notification requests can be long-polling. In fact, we SHOULD wait - * 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; - getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData; - createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData; - notify(url: string, info: any, sessionID: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts deleted file mode 100644 index 97c6487..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IPresetBuildCallbacks.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IPresetBuildActionRequestData } from "../../eft/presetBuild/IPresetBuildActionRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { WeaponBuild } from "../../eft/profile/IAkiProfile"; -export interface IPresetBuildCallbacks { - getHandbookUserlist(url: string, info: any, sessionID: string): IGetBodyResponseData; - saveBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; - removeBuild(pmcData: IPmcData, body: IPresetBuildActionRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IPresetCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IPresetCallbacks.d.ts deleted file mode 100644 index 4169857..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IPresetCallbacks.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IPresetCallbacks { - load(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IProfileCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IProfileCallbacks.d.ts deleted file mode 100644 index 9d4d2df..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IProfileCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../../eft/httpResponse/INullResponseData"; -import { IProfileChangeNicknameRequestData } from "../../eft/profile/IProfileChangeNicknameRequestData"; -import { IProfileChangeVoiceRequestData } from "../../eft/profile/IProfileChangeVoiceRequestData"; -import { IProfileCreateRequestData } from "../../eft/profile/IProfileCreateRequestData"; -import { IValidateNicknameRequestData } from "../../eft/profile/IValidateNicknameRequestData"; -import { ISearchFriendRequestData } from "../../eft/profile/ISearchFriendRequestData"; -import { ISearchFriendResponse } from "../../eft/profile/ISearchFriendResponse"; -export interface IProfileCallbacks { - onLoad(sessionID: string): any; - createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; - getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; - changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; - validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; - getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IQuestCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IQuestCallbacks.d.ts deleted file mode 100644 index 1c4d0c3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IQuestCallbacks.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IAcceptQuestRequestData } from "../../eft/quests/IAcceptQuestRequestData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IListQuestsRequestData } from "../../eft/quests/IListQuestsRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { ICompleteQuestRequestData } from "../../eft/quests/ICompleteQuestRequestData"; -import { IHandoverQuestRequestData } from "../../eft/quests/IHandoverQuestRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IPmcDataRepeatableQuest } from "../../eft/common/tables/IRepeatableQuests"; -import { IRepeatableQuestChangeRequest } from "../../eft/quests/IRepeatableQuestChangeRequest"; -export interface IQuestCallbacks { - changeRepeatableQuest(pmcData: IPmcData, body: IRepeatableQuestChangeRequest, sessionID: string): IItemEventRouterResponse; - acceptQuest(pmcData: IPmcData, body: IAcceptQuestRequestData, sessionID: string): IItemEventRouterResponse; - completeQuest(pmcData: IPmcData, body: ICompleteQuestRequestData, sessionID: string): IItemEventRouterResponse; - handoverQuest(pmcData: IPmcData, body: IHandoverQuestRequestData, sessionID: string): IItemEventRouterResponse; - listQuests(url: string, info: IListQuestsRequestData, sessionID: string): IGetBodyResponseData; - activityPeriods(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts deleted file mode 100644 index 9282bd4..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IRagfairCallbacks.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { ISearchRequestData } from "../../eft/ragfair/ISearchRequestData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IGetMarketPriceRequestData } from "../../eft/ragfair/IGetMarketPriceRequestData"; -import { IAddOfferRequestData } from "../../eft/ragfair/IAddOfferRequestData"; -import { IRemoveOfferRequestData } from "../../eft/ragfair/IRemoveOfferRequestData"; -import { IExtendOfferRequestData } from "../../eft/ragfair/IExtendOfferRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IGetItemPriceResult } from "../../eft/ragfair/IGetItemPriceResult"; -export interface IRagfairCallbacks { - load(): void; - search(url: string, info: ISearchRequestData, sessionID: string): IGetBodyResponseData; - getMarketPrice(url: string, info: IGetMarketPriceRequestData, sessionID: string): IGetBodyResponseData; - getItemPrices(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - addOffer(pmcData: IPmcData, info: IAddOfferRequestData, sessionID: string): IItemEventRouterResponse; - removeOffer(pmcData: IPmcData, info: IRemoveOfferRequestData, sessionID: string): IItemEventRouterResponse; - extendOffer(pmcData: IPmcData, info: IExtendOfferRequestData, sessionID: string): IItemEventRouterResponse; - update(timeSinceLastRun: number): boolean; - updatePlayer(timeSinceLastRun: number): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IRepairCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IRepairCallbacks.d.ts deleted file mode 100644 index e8183c9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IRepairCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IRepairActionDataRequest } from "../../eft/repair/IRepairActionDataRequest"; -import { ITraderRepairActionDataRequest } from "../../eft/repair/ITraderRepairActionDataRequest"; -export interface IRepairCallbacks { - traderRepair(pmcData: IPmcData, body: ITraderRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; - repair(pmcData: IPmcData, body: IRepairActionDataRequest, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ISaveCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ISaveCallbacks.d.ts deleted file mode 100644 index 1ad3b82..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ISaveCallbacks.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ISaveCallbacks { - load(): void; - update(secondsSinceLastRun: number): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ITradeCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ITradeCallbacks.d.ts deleted file mode 100644 index 2f41d54..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ITradeCallbacks.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IProcessRagfairTradeRequestData } from "../../eft/trade/IProcessRagfairTradeRequestData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBaseTradeRequestData } from "../../eft/trade/IProcessBaseTradeRequestData"; -export interface ITradeCallbacks { - processTrade(pmcData: IPmcData, body: IProcessBaseTradeRequestData, sessionID: string): IItemEventRouterResponse; - processRagfairTrade(pmcData: IPmcData, body: IProcessRagfairTradeRequestData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ITraderCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ITraderCallbacks.d.ts deleted file mode 100644 index e0d7d06..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/ITraderCallbacks.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -import { IBarterScheme, ITraderAssort, ITraderBase } from "../../eft/common/tables/ITrader"; -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -export interface ITraderCallbacks { - load(): void; - getTraderSettings(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getProfilePurchases(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData>; - getTrader(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - getAssort(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; - update(): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts deleted file mode 100644 index 9ac72ae..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IWeatherCallbacks.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IGetBodyResponseData } from "../../eft/httpResponse/IGetBodyResponseData"; -import { IEmptyRequestData } from "../../eft/common/IEmptyRequestData"; -export interface IWeatherCallbacks { - getWeather(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts deleted file mode 100644 index e5d519c..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/callbacks/IWishlistCallbacks.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IPmcData } from "../../eft/common/IPmcData"; -import { IWishlistActionData } from "../../eft/wishlist/IWishlistActionData"; -import { IItemEventRouterResponse } from "../../eft/itemEvent/IItemEventRouterResponse"; -export interface IWishlistCallbacks { - addToWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; - removeFromWishlist(pmcData: IPmcData, body: IWishlistActionData, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IAirdropConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IAirdropConfig.d.ts deleted file mode 100644 index f4aee89..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IAirdropConfig.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IAirdropConfig extends IBaseConfig { - kind: "aki-airdrop"; - airdropChancePercent: AirdropChancePercent; - airdropMinOpenHeight: number; - airdropMaxOpenHeight: number; - planeMinFlyHeight: number; - planeMaxFlyHeight: number; - planeVolume: number; - airdropMinStartTimeSeconds: number; - airdropMaxStartTimeSeconds: number; -} -export interface AirdropChancePercent { - bigmap: number; - woods: number; - lighthouse: number; - shoreline: number; - interchange: number; - reserve: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IBaseConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IBaseConfig.d.ts deleted file mode 100644 index 8b6ba88..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IBaseConfig.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IBaseConfig { - kind: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IBotConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IBotConfig.d.ts deleted file mode 100644 index e171087..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IBotConfig.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IBotConfig extends IBaseConfig { - kind: "aki-bot"; - presetBatch: PresetBatch; - bosses: string[]; - durability: Durability; - lootNValue: LootNvalue; - revenge: Record; - pmc: PmcConfig; - itemSpawnLimits: Record>; - equipment: Record; - showTypeInNickname: boolean; - maxBotCap: number; - secureContainerAmmoStackCount: number; -} -export interface PresetBatch { - assault: number; - bossBully: number; - bossGluhar: number; - bossKilla: number; - bossKojaniy: number; - bossSanitar: number; - bossTagilla: number; - bossKnight: number; - bossTest: number; - cursedAssault: number; - followerBully: number; - followerGluharAssault: number; - followerGluharScout: number; - followerGluharSecurity: number; - followerGluharSnipe: number; - followerKojaniy: number; - followerSanitar: number; - followerTagilla: number; - followerBirdEye: number; - followerBigPipe: number; - followerTest: number; - marksman: number; - pmcBot: number; - sectantPriest: number; - sectantWarrior: number; - gifter: number; - test: number; - exUsec: number; -} -export interface Durability { - default: DefaultDurability; - pmc: PmcDurability; - boss: BotDurability; - follower: BotDurability; - assault: BotDurability; - cursedassault: BotDurability; - marksman: BotDurability; - pmcbot: BotDurability; - exusec: BotDurability; - sectantpriest: BotDurability; - sectantwarrior: BotDurability; -} -export interface DefaultDurability { - armor: DefaultArmor; - weapon: WeaponDurability; -} -export interface DefaultArmor { - maxDelta: number; - minDelta: number; -} -export interface WeaponDurability { - lowestMax: number; - highestMax: number; - maxDelta: number; - minDelta: number; -} -export interface PmcDurability { - armor: PmcDurabilityArmor; - weapon: WeaponDurability; -} -export interface PmcDurabilityArmor { - lowestMaxPercent: number; - highestMaxPercent: number; - maxDelta: number; - minDelta: number; -} -export interface BotDurability { - armor: ArmorDurability; - weapon: WeaponDurability; -} -export interface ArmorDurability { - maxDelta: number; - minDelta: number; -} -export interface LootNvalue { - scav: number; - pmc: number; -} -export interface PmcConfig { - dynamicLoot: PmcDynamicLoot; - difficulty: string; - looseWeaponInBackpackChancePercent: number; - looseWeaponInBackpackLootMinMax: MinMax; - isUsec: number; - chanceSameSideIsHostilePercent: number; - usecType: string; - bearType: string; - maxBackpackLootTotalRub: number; - maxPocketLootTotalRub: number; - maxVestLootTotalRub: number; - convertIntoPmcChance: Record; - enemyTypes: string[]; -} -export interface PmcDynamicLoot { - whitelist: string[]; - blacklist: string[]; - moneyStackLimits: Record; -} -export interface Equipment { - blacklist: EquipmentFilterDetails[]; - whitelist: EquipmentFilterDetails[]; -} -export interface EquipmentFilterDetails { - levelRange: MinMax; - equipment: Record; - cartridge: Record; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ICoreConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ICoreConfig.d.ts deleted file mode 100644 index cfcaf61..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ICoreConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ICoreConfig extends IBaseConfig { - kind: "aki-core"; - akiVersion: string; - projectName: string; - compatibleTarkovVersion: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHealthConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHealthConfig.d.ts deleted file mode 100644 index fdbf656..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHealthConfig.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHealthConfig extends IBaseConfig { - kind: "aki-health"; - healthMultipliers: HealthMultipliers; - save: Save; -} -export interface HealthMultipliers { - death: number; - blacked: number; -} -export interface Save { - health: boolean; - effects: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHideoutConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHideoutConfig.d.ts deleted file mode 100644 index 36d6246..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHideoutConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHideoutConfig extends IBaseConfig { - kind: "aki-hideout"; - runIntervalSeconds: number; - fuelDrainRateMultipler: number; - hoursForSkillCrafting: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHttpConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHttpConfig.d.ts deleted file mode 100644 index c41d035..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IHttpConfig.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IHttpConfig extends IBaseConfig { - kind: "aki-http"; - ip: string; - port: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInRaidConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInRaidConfig.d.ts deleted file mode 100644 index 3ae2972..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInRaidConfig.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInRaidConfig extends IBaseConfig { - kind: "aki-inraid"; - MIAOnRaidEnd: boolean; - raidMenuSettings: RaidMenuSettings; - save: Save; - carExtracts: string[]; - carExtractBaseStandingGain: number; - scavExtractGain: number; -} -export interface RaidMenuSettings { - aiAmount: string; - aiDifficulty: string; - bossEnabled: boolean; - scavWars: boolean; - taggedAndCursed: boolean; - enablePve: boolean; -} -export interface Save { - loot: boolean; - durability: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInsuranceConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInsuranceConfig.d.ts deleted file mode 100644 index b27e753..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInsuranceConfig.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInsuranceConfig extends IBaseConfig { - kind: "aki-insurance"; - insuranceMultiplier: Record; - returnChancePercent: Record; - blacklistedEquipment: string[]; - slotIdsWithChanceOfNotReturning: string[]; - runIntervalSeconds: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInventoryConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInventoryConfig.d.ts deleted file mode 100644 index ffffa41..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IInventoryConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IInventoryConfig extends IBaseConfig { - kind: "aki-inventory"; - newItemsMarkedFound: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ILocaleConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ILocaleConfig.d.ts deleted file mode 100644 index fe9abf7..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ILocaleConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocaleConfig extends IBaseConfig { - kind: "aki-locale"; - desiredLocale: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ILocationConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ILocationConfig.d.ts deleted file mode 100644 index 0551d57..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ILocationConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ILocationConfig extends IBaseConfig { - kind: "aki-location"; - looseLootMultiplier: LootMultiplier; - staticLootMultiplier: LootMultiplier; -} -export interface LootMultiplier { - bigmap: number; - develop: number; - factory4_day: number; - factory4_night: number; - interchange: number; - laboratory: number; - rezervbase: number; - shoreline: number; - woods: number; - hideout: number; - lighthouse: number; - privatearea: number; - suburbs: number; - tarkovstreets: number; - terminal: number; - town: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IMatchConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IMatchConfig.d.ts deleted file mode 100644 index 92c4d77..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IMatchConfig.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IMatchConfig extends IBaseConfig { - kind: "aki-match"; - enabled: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IPlayerScavConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IPlayerScavConfig.d.ts deleted file mode 100644 index 5ac3966..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IPlayerScavConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IPlayerScavConfig extends IBaseConfig { - kind: "aki-playerscav"; - karmaLevel: Record; -} -export interface KarmaLevel { - botTypeForLoot: string; - modifiers: Modifiers; - itemLimits: ItemLimits; - equipmentBlacklist: Record; -} -export interface Modifiers { - equipment: Record; - mod: Record; -} -export interface ItemLimits { - healing: MinMax; - drugs: MinMax; - stims: MinMax; - looseLoot: MinMax; - magazines: MinMax; - grenades: MinMax; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IQuestConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IQuestConfig.d.ts deleted file mode 100644 index be4a97b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IQuestConfig.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { ELocationName } from "../../enums/ELocationName"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IQuestConfig extends IBaseConfig { - kind: "aki-quest"; - redeemTime: number; - repeatableQuests: IRepeatableQuestConfig[]; -} -export interface IRepeatableQuestConfig { - name: string; - types: string[]; - resetTime: number; - numQuests: number; - minPlayerLevel: number; - rewardScaling: IRewardScaling; - locations: Record; - traderWhitelist: ITraderWhitelist[]; - questConfig: IQuestConfig; -} -export interface IRewardScaling { - levels: number[]; - experience: number[]; - roubles: number[]; - items: number[]; - reputation: number[]; - rewardSpread: number; -} -export interface ITraderWhitelist { - traderId: string; - questTypes: string[]; -} -export interface IQuestConfig { - Exploration: IExploration; - Completion: ICompletion; - Elimination: IElimination; -} -export interface IExploration { - maxExtracts: number; - specificExits: ISpecificExits; -} -export interface ISpecificExits { - probability: number; - passageRequirementWhitelist: string[]; -} -export interface ICompletion { - minRequestedAmount: number; - maxRequestedAmount: number; - minRequestedBulletAmount: number; - maxRequestedBulletAmount: number; - useWhitelist: boolean; - useBlacklist: boolean; -} -export interface IElimination { - targets: ITarget[]; - bodyPartProb: number; - bodyParts: IBodyPart[]; - specificLocationProb: number; - distLocationBlacklist: string[]; - distProb: number; - maxDist: number; - minDist: number; - maxKills: number; - minKills: number; -} -export interface IProbabilityObject { - key: string; - relativeProbability: number; - data?: any; -} -export interface ITarget extends IProbabilityObject { - data: IBossInfo; -} -export interface IBossInfo { - isBoss: boolean; -} -export interface IBodyPart extends IProbabilityObject { - data: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IRagfairConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IRagfairConfig.d.ts deleted file mode 100644 index c24e617..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IRagfairConfig.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IRagfairConfig extends IBaseConfig { - kind: "aki-ragfair"; - runIntervalSeconds: number; - sell: Sell; - traders: Record; - dynamic: Dynamic; -} -export interface Sell { - fees: boolean; - chance: Chance; - time: Time; - reputation: Reputation; -} -export interface Chance { - base: number; - overprices: number; - underpriced: number; -} -export interface Time { - base: number; - min: number; - max: number; -} -export interface Reputation { - gain: number; - loss: number; -} -export interface Dynamic { - expiredOfferThreshold: number; - offerItemCount: MinMax; - price: MinMax; - presetPrice: MinMax; - endTimeSeconds: MinMax; - condition: Condition; - stackablePercent: MinMax; - nonStackableCount: MinMax; - rating: MinMax; - currencies: Record; - showAsSingleStack: string[]; - blacklist: Blacklist; -} -export interface Condition { - conditionChance: number; - min: number; - max: number; -} -export interface Blacklist { - /** - * show/hide trader items that are blacklisted by bsg - */ - traderItems: boolean; - custom: string[]; - enableBsgList: boolean; - enableQuestList: boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IRepairConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IRepairConfig.d.ts deleted file mode 100644 index 23e6838..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IRepairConfig.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface IRepairConfig extends IBaseConfig { - kind: "aki-repair"; - priceMultiplier: number; - applyRandomizeDurabilityLoss: boolean; - weaponSkillRepairGain: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IScavCaseConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IScavCaseConfig.d.ts deleted file mode 100644 index df5dae0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IScavCaseConfig.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IScavCaseConfig extends IBaseConfig { - kind: "aki-scavcase"; - rewardItemValueRangeRub: Record; - moneyRewards: MoneyRewards; - ammoRewards: AmmoRewards; - rewardItemParentBlacklist: string[]; - rewardItemBlacklist: string[]; -} -export interface MoneyRewards { - moneyRewardChancePercent: number; - rubCount: MoneyLevels; - usdCount: MoneyLevels; - eurCount: MoneyLevels; -} -export interface MoneyLevels { - common: MinMax; - rare: MinMax; - superrare: MinMax; -} -export interface AmmoRewards { - ammoRewardChancePercent: number; - ammoRewardBlacklist: Record; - ammoRewardValueRangeRub: Record; - minStackSize: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ITraderConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ITraderConfig.d.ts deleted file mode 100644 index c8e8044..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/ITraderConfig.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { IBaseConfig } from "./IBaseConfig"; -export interface ITraderConfig extends IBaseConfig { - kind: "aki-trader"; - updateTime: UpdateTime[]; - updateTimeDefault: number; - traderPriceMultipler: number; - minDurabilityForSale: number; - fence: FenceConfig; -} -export interface UpdateTime { - traderId: string; - seconds: number; -} -export interface FenceConfig { - assortSize: number; - maxPresetsCount: number; - presetPriceMult: number; - blacklist: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IWeatherConfig.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IWeatherConfig.d.ts deleted file mode 100644 index bbdc43e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/config/IWeatherConfig.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MinMax } from "../../common/MinMax"; -import { IBaseConfig } from "./IBaseConfig"; -export interface IWeatherConfig extends IBaseConfig { - kind: "aki-weather"; - acceleration: number; - weather: Weather; -} -export interface Weather { - clouds: MinMax; - windSpeed: MinMax; - windDirection: MinMax; - windGustiness: MinMax; - rain: MinMax; - rainIntensity: MinMax; - fog: MinMax; - temp: MinMax; - pressure: MinMax; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/controllers/IBotController.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/controllers/IBotController.d.ts deleted file mode 100644 index 010e208..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/controllers/IBotController.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { IGenerateBotsRequestData } from "../../eft/bot/IGenerateBotsRequestData"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { Difficulty } from "../../eft/common/tables/IBotType"; -export interface IBotController { - getBotLimit(type: string): number; - getBotDifficulty(type: string, difficulty: string): IBotCore | Difficulty; - isBotPmc(botRole: string): boolean; - isBotBoss(botRole: string): boolean; - isBotFollower(botRole: string): boolean; - generate(info: IGenerateBotsRequestData, playerScav: boolean): IBotBase[]; - getBotCap(): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IBotGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IBotGenerator.d.ts deleted file mode 100644 index 9043945..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IBotGenerator.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Inventory as PmcInventory } from "../../eft/common/tables/IBotBase"; -import { Inventory, Chances, Generation } from "../../eft/common/tables/IBotType"; -export interface IBotGenerator { - generateInventory(templateInventory: Inventory, equipmentChances: Chances, generation: Generation, botRole: string, isPmc: boolean): PmcInventory; -} -export interface IExhaustableArray { - getRandomValue(): T; - getFirstValue(): T; - hasValues(): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/ILocationGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/ILocationGenerator.d.ts deleted file mode 100644 index 530ceca..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/ILocationGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../../eft/common/tables/ILootBase"; -import { ILooseLoot, SpawnpointTemplate } from "../../eft/common/ILooseLoot"; -export interface ILocationGenerator { - generateContainerLoot(containerIn: IStaticContainerProps, staticForced: IStaticForcedProps[], staticLootDist: Record, staticAmmoDist: Record, locationName: string): IStaticContainerProps; - generateDynamicLoot(dynamicLootDist: ILooseLoot, staticAmmoDist: Record, locationName: string): SpawnpointTemplate[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IPMCLootGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IPMCLootGenerator.d.ts deleted file mode 100644 index a9db89b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IPMCLootGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IPMCLootGenerator { - generatePMCPocketLootPool(): string[]; - generatePMCBackpackLootPool(): string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts deleted file mode 100644 index 6670540..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IRagfairAssortGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairAssortGenerator { - getAssortItems(): Item[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts deleted file mode 100644 index 30b4be5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/generators/IRagfairOfferGenerator.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IBarterScheme } from "../../eft/common/tables/ITrader"; -import { IRagfairOffer } from "../../eft/ragfair/IRagfairOffer"; -import { Item } from "../../eft/common/tables/IItem"; -export interface IRagfairOfferGenerator { - createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, price: number, sellInOnePiece: boolean): IRagfairOffer; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/helpers/Traders.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts deleted file mode 100644 index 1b5af39..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/hideout/ScavCaseRewardCountsAndPrices.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface ScavCaseRewardCountsAndPrices { - common: RewardCountAndPriceDetails; - rare: RewardCountAndPriceDetails; - superrare: RewardCountAndPriceDetails; -} -export interface RewardCountAndPriceDetails { - minCount: number; - maxCount: number; - minPriceRub: number; - maxPriceRub: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/LogBackgroundColor.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/LogBackgroundColor.d.ts deleted file mode 100644 index 87e08a9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/LogBackgroundColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogBackgroundColor { - default = "", - black = "blackBG", - red = "redBG", - green = "greenBG", - yellow = "yellowBG", - blue = "blueBG", - magenta = "magentaBG", - cyan = "cyanBG", - white = "whiteBG" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/LogTextColor.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/LogTextColor.d.ts deleted file mode 100644 index 7147ae3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/LogTextColor.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare enum LogTextColor { - black = "black", - red = "red", - green = "green", - yellow = "yellow", - blue = "blue", - magenta = "magenta", - cyan = "cyan", - white = "white", - gray = "" -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/SptLogger.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/SptLogger.d.ts deleted file mode 100644 index ea1b3d8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/logging/SptLogger.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface SptLogger { - error: (msg: string | Record) => void; - warn: (msg: string | Record) => void; - succ?: (msg: string | Record) => void; - info: (msg: string | Record) => void; - debug: (msg: string | Record) => void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IMod.d.ts deleted file mode 100644 index e6eec79..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IMod.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare namespace ModLoader { - interface IMod { - name: string; - version: string; - main?: string; - author?: string; - license: string; - dependencies?: Record; - } -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IModLoader.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IModLoader.d.ts deleted file mode 100644 index 40a5e19..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IModLoader.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export interface IModLoader { - load(container: DependencyContainer): void; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IPackageJsonData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IPackageJsonData.d.ts deleted file mode 100644 index 99e4ef9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/IPackageJsonData.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface IPackageJsonData { - incompatibilities?: string[]; - dependencies?: string[]; - modDependencies?: Record; - name: string; - author: string; - version: string; - akiVersion: string; - licence: string; - main: string; - contributors: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/NewItemDetails.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/NewItemDetails.d.ts deleted file mode 100644 index fc69a06..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/mod/NewItemDetails.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { ITemplateItem, Props } from "../../eft/common/tables/ITemplateItem"; -export declare abstract class NewItemDetailsBase { - /** Price of the item on flea market */ - fleaPriceRoubles: number; - /** Price of the item in the handbook */ - handbookPriceRoubles: number; - /** - * A dictionary for locale settings, key = langauge (e.g. en,cn,es-mx,jp,fr) - * If a language is not included, the first item in the array will be used in its place - */ - locales: Record; -} -export declare class NewItemFromCloneDetails extends NewItemDetailsBase { - /** Id of the item to copy and use as a base */ - itemTplToClone: string; - /** Item properties that should be applied over the top of the cloned base */ - overrideProperties: Props; - /** ParentId for the new item (item type) */ - parentId: string; - /** - * the id the new item should have, leave blank to have one generated for you - * This is often known as the TplId, or TemplateId - */ - newId: string; -} -export declare class NewItemDetails extends NewItemDetailsBase { - newItem: ITemplateItem; -} -export declare class LocaleDetails { - name: string; - shortName: string; - description: string; -} -export declare class CreateItemResult { - constructor(); - success: boolean; - itemId: string; - errors: string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts deleted file mode 100644 index c7d246a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/ragfair/IRagfairServerPrices.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IRagfairServerPrices { - static: Record; - dynamic: Record; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IDatabaseTables.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IDatabaseTables.d.ts deleted file mode 100644 index 9978459..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IDatabaseTables.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { IGlobals } from "../../eft/common/IGlobals"; -import { IBotBase } from "../../eft/common/tables/IBotBase"; -import { IBotCore } from "../../eft/common/tables/IBotCore"; -import { IBotType } from "../../eft/common/tables/IBotType"; -import { ICustomizationItem } from "../../eft/common/tables/ICustomizationItem"; -import { IHandbookBase } from "../../eft/common/tables/IHandbookBase"; -import { ILootBase } from "../../eft/common/tables/ILootBase"; -import { IMatch } from "../../eft/common/tables/IMatch"; -import { IProfileTemplates } from "../../eft/common/tables/IProfileTemplate"; -import { IQuest } from "../../eft/common/tables/IQuest"; -import { IRepeatableQuestDatabase } from "../../eft/common/tables/IRepeatableQuests"; -import { ITemplateItem } from "../../eft/common/tables/ITemplateItem"; -import { ITrader } from "../../eft/common/tables/ITrader"; -import { IHideoutArea } from "../../eft/hideout/IHideoutArea"; -import { IHideoutProduction } from "../../eft/hideout/IHideoutProduction"; -import { IHideoutScavCase } from "../../eft/hideout/IHideoutScavCase"; -import { IHideoutSettingsBase } from "../../eft/hideout/IHideoutSettingsBase"; -import { ILocaleBase } from "./ILocaleBase"; -import { ILocations } from "./ILocations"; -import { IServerBase } from "./IServerBase"; -import { ISettingsBase } from "./ISettingsBase"; -export interface IDatabaseTables { - bots?: { - types: Record; - base: IBotBase; - core: IBotCore; - }; - hideout?: { - areas: IHideoutArea[]; - production: IHideoutProduction[]; - scavcase: IHideoutScavCase[]; - settings: IHideoutSettingsBase; - }; - locales?: ILocaleBase; - locations?: ILocations; - loot?: ILootBase; - match?: IMatch; - templates?: { - character: string[]; - items: Record; - quests: IQuest[]; - repeatableQuests: IRepeatableQuestDatabase; - /** DEPRECATED - Items file found in the client, massivly out of date compared to templates.items, try not to use this, remove ASAP*/ - clientItems: Record; - handbook: IHandbookBase; - customization: Record; - /** The profile templates listed in the launcher on profile creation, split by account type (e.g. Standard) then side (e.g. bear/usec) */ - profiles: IProfileTemplates; - /** Flea prices of items - gathered from online flea market dump */ - prices: Record; - }; - traders?: Record; - globals?: IGlobals; - server?: IServerBase; - settings?: ISettingsBase; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IHttpServer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IHttpServer.d.ts deleted file mode 100644 index c828399..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IHttpServer.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { INotification } from "../../eft/notifier/INotifier"; -export interface IHttpServer { - load(): void; - getCookies(req: http.IncomingMessage): any; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - sendMessage(sessionID: string, output: INotification): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ILocaleBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ILocaleBase.d.ts deleted file mode 100644 index 8887c06..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ILocaleBase.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -export interface ILocaleBase { - global: Record; - menu: Record; - languages: ILanguageBase[]; -} -export interface ILocaleGlobalBase { - interface: Record; - enum: any[]; - mail: Record; - quest: Record; - preset: Record; - handbook: Record; - season: Record; - customization: Record; - repeatableQuest: Record; - templates: ILocaleTemplateBase; - locations: ILocaleLocationsBase; - banners: ILocaleBannersBase; - trading: ILocaleTradingBase; -} -export interface ILocaleQuest { - name: string; - description: string; - note: string; - failMessageText: string; - startedMessageText: string; - successMessageText: string; - conditions: Record; - location: string; -} -export interface ILocalePreset { - Name: string; -} -export interface ILocaleTemplateBase { - templates: Record; -} -export interface ILocaleLocationsBase { - locations: Record; -} -export interface ILocaleBannersBase { - locations: Record; -} -export interface ILocaleProps { - Name: string; - ShortName: string; - Description: string; -} -export interface ILocaleTradingBase { - locations: Record; -} -export interface ILocaleTradingProps { - FullName: string; - FirstName: string; - Nickname: string; - Location: string; - Description: string; -} -export interface ILanguageBase { - ShortName: string; - Name: string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ILocations.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ILocations.d.ts deleted file mode 100644 index 18f0262..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ILocations.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { ILocationBase } from "../../eft/common/ILocationBase"; -import { ILooseLoot } from "../../eft/common/ILooseLoot"; -import { ILocationsBase } from "../../eft/common/tables/ILocationsBase"; -export interface ILocations { - bigmap?: ILocationData; - develop?: ILocationData; - factory4_day?: ILocationData; - factory4_night?: ILocationData; - hideout?: ILocationData; - interchange?: ILocationData; - laboratory?: ILocationData; - lighthouse?: ILocationData; - privatearea?: ILocationData; - rezervbase?: ILocationData; - shoreline?: ILocationData; - suburbs?: ILocationData; - tarkovstreets?: ILocationData; - terminal?: ILocationData; - town?: ILocationData; - woods?: ILocationData; - base?: ILocationsBase; -} -export interface ILocationData { - base: ILocationBase; - looseLoot?: ILooseLoot; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IServerBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IServerBase.d.ts deleted file mode 100644 index d033db3..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/IServerBase.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IServerBase { - ip: string; - port: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ISettingsBase.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ISettingsBase.d.ts deleted file mode 100644 index c067cda..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/server/ISettingsBase.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -export interface ISettingsBase { - config: Config; -} -export interface Config { - AFKTimeoutSeconds: number; - AdditionalRandomDelaySeconds: number; - ClientSendRateLimit: number; - CriticalRetriesCount: number; - DefaultRetriesCount: number; - FirstCycleDelaySeconds: number; - FramerateLimit: FramerateLimit; - GroupStatusInterval: number; - KeepAliveInterval: number; - Mark502and504AsNonImportant: boolean; - MemoryManagementSettings: MemoryManagementSettings; - NVidiaHighlights: boolean; - NextCycleDelaySeconds: number; - PingServerResultSendInterval: number; - PingServersInterval: number; - ReleaseProfiler: ReleaseProfiler; - SecondCycleDelaySeconds: number; - TurnOffLogging: boolean; - WeaponOverlapDistanceCulling: number; - WebDiagnosticsEnabled: boolean; -} -export interface FramerateLimit { - MaxFramerateGameLimit: number; - MaxFramerateLobbyLimit: number; - MinFramerateLimit: number; -} -export interface MemoryManagementSettings { - AggressiveGC: boolean; - GigabytesRequiredToDisableGCDuringRaid: number; - HeapPreAllocationEnabled: boolean; - HeapPreAllocationMB: number; - OverrideRamCleanerSettings: boolean; - RamCleanerEnabled: boolean; -} -export interface ReleaseProfiler { - Enabled: boolean; - MaxRecords: number; - RecordTriggerValue: number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/services/CustomPreset.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/services/CustomPreset.d.ts deleted file mode 100644 index f07382e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/services/CustomPreset.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Preset } from "../../eft/common/IGlobals"; -export interface CustomPreset { - key: string; - preset: Preset; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/services/CustomTraderAssortData.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/services/CustomTraderAssortData.d.ts deleted file mode 100644 index 265a26a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/services/CustomTraderAssortData.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../../eft/common/tables/ITrader"; -import { Traders } from "../../enums/Traders"; -export interface CustomTraderAssortData { - traderId: Traders; - assorts: ITraderAssort; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/IAsyncQueue.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/IAsyncQueue.d.ts deleted file mode 100644 index 2be801a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/IAsyncQueue.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { ICommand } from "./ICommand"; -export interface IAsyncQueue { - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/ICommand.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/ICommand.d.ts deleted file mode 100644 index 696bb83..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/ICommand.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ICommand { - uuid: string; - cmd: () => Promise; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/ILogger.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/ILogger.d.ts deleted file mode 100644 index 2af3fac..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/ILogger.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Daum } from "../../eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../logging/LogBackgroundColor"; -import { LogTextColor } from "../logging/LogTextColor"; -export interface ILogger { - writeToLogFile(data: string | Daum): void; - log(data: string | Record | Error, color: string, backgroundColor?: string): void; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): void; - error(data: string): void; - warning(data: string): void; - success(data: string): void; - info(data: string): void; - debug(data: string | Record, onlyShowInConsole?: boolean): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/IUuidGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/IUuidGenerator.d.ts deleted file mode 100644 index 3870469..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/models/spt/utils/IUuidGenerator.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IUUidGenerator { - generate(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/HttpRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/HttpRouter.d.ts deleted file mode 100644 index f75a47d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/HttpRouter.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/// -import { IncomingMessage } from "http"; -import { DynamicRouter, Router, StaticRouter } from "../di/Router"; -export declare class HttpRouter { - protected staticRouters: StaticRouter[]; - protected dynamicRoutes: DynamicRouter[]; - constructor(staticRouters: StaticRouter[], dynamicRoutes: DynamicRouter[]); - protected groupBy(list: T[], keyGetter: (t: T) => string): Map; - getResponse(req: IncomingMessage, info: any, sessionID: string): string; - protected handleRoute(url: string, info: any, sessionID: string, wrapper: ResponseWrapper, routers: Router[], dynamic: boolean): boolean; -} -declare class ResponseWrapper { - output: string; - constructor(output: string); -} -export {}; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/ImageRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/ImageRouter.d.ts deleted file mode 100644 index ab03977..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/ImageRouter.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// -import { IncomingMessage, ServerResponse } from "http"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ImageRouteService } from "../services/mod/image/ImageRouteService"; -import { VFS } from "../utils/VFS"; -export declare class ImageRouter { - protected vfs: VFS; - protected imageRouteService: ImageRouteService; - constructor(vfs: VFS, imageRouteService: ImageRouteService); - addRoute(key: string, valueToAdd: string): void; - sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void; - getImage(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/ItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/ItemEventRouter.d.ts deleted file mode 100644 index b1ac5d9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/ItemEventRouter.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IItemEventRouterRequest } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { ItemEventRouterDefinition } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class ItemEventRouter { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected profileHelper: ProfileHelper; - protected itemEventRouters: ItemEventRouterDefinition[]; - constructor(logger: ILogger, jsonUtil: JsonUtil, profileHelper: ProfileHelper, itemEventRouters: ItemEventRouterDefinition[]); - protected output: IItemEventRouterResponse; - handleEvents(info: IItemEventRouterRequest, sessionID: string): IItemEventRouterResponse; - getOutput(sessionID: string): IItemEventRouterResponse; - protected resetOutput(sessionID: string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/BotDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/BotDynamicRouter.d.ts deleted file mode 100644 index 6d0ab4b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/BotDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BotDynamicRouter extends DynamicRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/BundleDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/BundleDynamicRouter.d.ts deleted file mode 100644 index a765410..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/BundleDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class BundleDynamicRouter extends DynamicRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts deleted file mode 100644 index 2db7cc5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/CustomizationDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class CustomizationDynamicRouter extends DynamicRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/DataDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/DataDynamicRouter.d.ts deleted file mode 100644 index 836ed8d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/DataDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class DataDynamicRouter extends DynamicRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/HttpDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/HttpDynamicRouter.d.ts deleted file mode 100644 index a152b4d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/HttpDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter } from "../../di/Router"; -import { ImageRouter } from "../ImageRouter"; -export declare class HttpDynamicRouter extends DynamicRouter { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/InraidDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/InraidDynamicRouter.d.ts deleted file mode 100644 index 7c0561f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/InraidDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class InraidDynamicRouter extends DynamicRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/LocationDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/LocationDynamicRouter.d.ts deleted file mode 100644 index b8e5cdf..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/LocationDynamicRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class LocationDynamicRouter extends DynamicRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/NotifierDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/NotifierDynamicRouter.d.ts deleted file mode 100644 index 83c60c5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/NotifierDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class NotifierDynamicRouter extends DynamicRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/TraderDynamicRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/TraderDynamicRouter.d.ts deleted file mode 100644 index 5b7cc1b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/dynamic/TraderDynamicRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { DynamicRouter } from "../../di/Router"; -export declare class TraderDynamicRouter extends DynamicRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/CustomizationItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/CustomizationItemEventRouter.d.ts deleted file mode 100644 index e78445e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/CustomizationItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class CustomizationItemEventRouter extends ItemEventRouterDefinition { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/HealthItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/HealthItemEventRouter.d.ts deleted file mode 100644 index 99847c6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/HealthItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HealthItemEventRouter extends ItemEventRouterDefinition { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/HideoutItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/HideoutItemEventRouter.d.ts deleted file mode 100644 index e1e98af..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/HideoutItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { HideoutCallbacks } from "../../callbacks/HideoutCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class HideoutItemEventRouter extends ItemEventRouterDefinition { - protected hideoutCallbacks: HideoutCallbacks; - constructor(hideoutCallbacks: HideoutCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/InsuranceItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/InsuranceItemEventRouter.d.ts deleted file mode 100644 index a922cc0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/InsuranceItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InsuranceItemEventRouter extends ItemEventRouterDefinition { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/InventoryItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/InventoryItemEventRouter.d.ts deleted file mode 100644 index 2619bb9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/InventoryItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { InventoryCallbacks } from "../../callbacks/InventoryCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class InventoryItemEventRouter extends ItemEventRouterDefinition { - protected inventoryCallbacks: InventoryCallbacks; - constructor(inventoryCallbacks: InventoryCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/NoteItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/NoteItemEventRouter.d.ts deleted file mode 100644 index 59bf598..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/NoteItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { NoteCallbacks } from "../../callbacks/NoteCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class NoteItemEventRouter extends ItemEventRouterDefinition { - protected noteCallbacks: NoteCallbacks; - constructor(noteCallbacks: NoteCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts deleted file mode 100644 index 277db44..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/PresetBuildItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class PresetBuildItemEventRouter extends ItemEventRouterDefinition { - protected presetBuildCallbacks: PresetBuildCallbacks; - constructor(presetBuildCallbacks: PresetBuildCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/QuestItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/QuestItemEventRouter.d.ts deleted file mode 100644 index a092aa6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/QuestItemEventRouter.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class QuestItemEventRouter extends ItemEventRouterDefinition { - protected logger: ILogger; - protected questCallbacks: QuestCallbacks; - constructor(logger: ILogger, questCallbacks: QuestCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(eventAction: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/RagfairItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/RagfairItemEventRouter.d.ts deleted file mode 100644 index 9216cc5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/RagfairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RagfairItemEventRouter extends ItemEventRouterDefinition { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/RepairItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/RepairItemEventRouter.d.ts deleted file mode 100644 index 5196ba9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/RepairItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { RepairCallbacks } from "../../callbacks/RepairCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class RepairItemEventRouter extends ItemEventRouterDefinition { - protected repairCallbacks: RepairCallbacks; - constructor(repairCallbacks: RepairCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/TradeItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/TradeItemEventRouter.d.ts deleted file mode 100644 index a43bb0a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/TradeItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { TradeCallbacks } from "../../callbacks/TradeCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class TradeItemEventRouter extends ItemEventRouterDefinition { - protected tradeCallbacks: TradeCallbacks; - constructor(tradeCallbacks: TradeCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/WishlistItemEventRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/WishlistItemEventRouter.d.ts deleted file mode 100644 index 38497fb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/item_events/WishlistItemEventRouter.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { IPmcData } from "../../models/eft/common/IPmcData"; -import { IItemEventRouterResponse } from "../../models/eft/itemEvent/IItemEventRouterResponse"; -import { WishlistCallbacks } from "../../callbacks/WishlistCallbacks"; -import { HandledRoute, ItemEventRouterDefinition } from "../../di/Router"; -export declare class WishlistItemEventRouter extends ItemEventRouterDefinition { - protected wishlistCallbacks: WishlistCallbacks; - constructor(wishlistCallbacks: WishlistCallbacks); - getHandledRoutes(): HandledRoute[]; - handleItemEvent(url: string, pmcData: IPmcData, body: any, sessionID: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/HealthSaveLoadRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/HealthSaveLoadRouter.d.ts deleted file mode 100644 index 114f5b2..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/HealthSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class HealthSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/InraidSaveLoadRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/InraidSaveLoadRouter.d.ts deleted file mode 100644 index 4c00b40..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/InraidSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InraidSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts deleted file mode 100644 index 30ce98e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/InsuranceSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class InsuranceSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts deleted file mode 100644 index 16c7619..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/save_load/ProfileSaveLoadRouter.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAkiProfile } from "../../models/eft/profile/IAkiProfile"; -import { HandledRoute, SaveLoadRouter } from "../../di/Router"; -export declare class ProfileSaveLoadRouter extends SaveLoadRouter { - constructor(); - getHandledRoutes(): HandledRoute[]; - handleLoad(profile: IAkiProfile): IAkiProfile; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/BundleSerializer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/BundleSerializer.d.ts deleted file mode 100644 index 912db83..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/BundleSerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Serializer } from "../../di/Serializer"; -import { BundleLoader } from "../../loaders/BundleLoader"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { ILogger } from "../../models/spt/utils/ILogger"; -export declare class BundleSerializer extends Serializer { - protected logger: ILogger; - protected bundleLoader: BundleLoader; - constructor(logger: ILogger, bundleLoader: BundleLoader); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/ImageSerializer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/ImageSerializer.d.ts deleted file mode 100644 index 0e040d4..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/ImageSerializer.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -import { Serializer } from "../../di/Serializer"; -import { ImageRouter } from "../ImageRouter"; -export declare class ImageSerializer extends Serializer { - protected imageRouter: ImageRouter; - constructor(imageRouter: ImageRouter); - serialize(sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/NotifySerializer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/NotifySerializer.d.ts deleted file mode 100644 index 1779ac9..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/serializers/NotifySerializer.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NotifierController } from "../../controllers/NotifierController"; -import { Serializer } from "../../di/Serializer"; -import { HttpServerHelper } from "../../helpers/HttpServerHelper"; -import { IHttpServer } from "../../models/spt/server/IHttpServer"; -export declare class NotifySerializer extends Serializer { - protected notifierController: NotifierController; - protected httpServerHelper: HttpServerHelper; - constructor(notifierController: NotifierController, httpServerHelper: HttpServerHelper); - serialize(_sessionID: string, req: any, resp: any, body: any, httpServer: IHttpServer): void; - canHandle(route: string): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/BotStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/BotStaticRouter.d.ts deleted file mode 100644 index aeea220..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/BotStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BotCallbacks } from "../../callbacks/BotCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BotStaticRouter extends StaticRouter { - protected botCallbacks: BotCallbacks; - constructor(botCallbacks: BotCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/BundleStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/BundleStaticRouter.d.ts deleted file mode 100644 index fb682fc..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/BundleStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { BundleCallbacks } from "../../callbacks/BundleCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class BundleStaticRouter extends StaticRouter { - protected bundleCallbacks: BundleCallbacks; - constructor(bundleCallbacks: BundleCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/CustomizationStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/CustomizationStaticRouter.d.ts deleted file mode 100644 index 21bc4bb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/CustomizationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CustomizationCallbacks } from "../../callbacks/CustomizationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class CustomizationStaticRouter extends StaticRouter { - protected customizationCallbacks: CustomizationCallbacks; - constructor(customizationCallbacks: CustomizationCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/DataStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/DataStaticRouter.d.ts deleted file mode 100644 index 84ba7fd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/DataStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DataCallbacks } from "../../callbacks/DataCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DataStaticRouter extends StaticRouter { - protected dataCallbacks: DataCallbacks; - constructor(dataCallbacks: DataCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/DialogStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/DialogStaticRouter.d.ts deleted file mode 100644 index 546cdf1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/DialogStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DialogueCallbacks } from "../../callbacks/DialogueCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class DialogStaticRouter extends StaticRouter { - protected dialogueCallbacks: DialogueCallbacks; - constructor(dialogueCallbacks: DialogueCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/GameStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/GameStaticRouter.d.ts deleted file mode 100644 index a9a7496..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/GameStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { GameCallbacks } from "../../callbacks/GameCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class GameStaticRouter extends StaticRouter { - protected gameCallbacks: GameCallbacks; - constructor(gameCallbacks: GameCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/HealthStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/HealthStaticRouter.d.ts deleted file mode 100644 index 863fd5e..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/HealthStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { HealthCallbacks } from "../../callbacks/HealthCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class HealthStaticRouter extends StaticRouter { - protected healthCallbacks: HealthCallbacks; - constructor(healthCallbacks: HealthCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/InraidStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/InraidStaticRouter.d.ts deleted file mode 100644 index b29ad23..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/InraidStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InraidCallbacks } from "../../callbacks/InraidCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InraidStaticRouter extends StaticRouter { - protected inraidCallbacks: InraidCallbacks; - constructor(inraidCallbacks: InraidCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/InsuranceStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/InsuranceStaticRouter.d.ts deleted file mode 100644 index 5676499..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/InsuranceStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { InsuranceCallbacks } from "../../callbacks/InsuranceCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class InsuranceStaticRouter extends StaticRouter { - protected insuranceCallbacks: InsuranceCallbacks; - constructor(insuranceCallbacks: InsuranceCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/ItemEventStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/ItemEventStaticRouter.d.ts deleted file mode 100644 index c30a7fc..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/ItemEventStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ItemEventCallbacks } from "../../callbacks/ItemEventCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ItemEventStaticRouter extends StaticRouter { - protected itemEventCallbacks: ItemEventCallbacks; - constructor(itemEventCallbacks: ItemEventCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/LauncherStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/LauncherStaticRouter.d.ts deleted file mode 100644 index 0040cbd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/LauncherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LauncherCallbacks } from "../../callbacks/LauncherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LauncherStaticRouter extends StaticRouter { - protected launcherCallbacks: LauncherCallbacks; - constructor(launcherCallbacks: LauncherCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/LocationStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/LocationStaticRouter.d.ts deleted file mode 100644 index b6de956..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/LocationStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LocationCallbacks } from "../../callbacks/LocationCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class LocationStaticRouter extends StaticRouter { - protected locationCallbacks: LocationCallbacks; - constructor(locationCallbacks: LocationCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/MatchStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/MatchStaticRouter.d.ts deleted file mode 100644 index 9920a92..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/MatchStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { MatchCallbacks } from "../../callbacks/MatchCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class MatchStaticRouter extends StaticRouter { - protected matchCallbacks: MatchCallbacks; - constructor(matchCallbacks: MatchCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/NotifierStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/NotifierStaticRouter.d.ts deleted file mode 100644 index 8f1f5cc..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/NotifierStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { NotifierCallbacks } from "../../callbacks/NotifierCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class NotifierStaticRouter extends StaticRouter { - protected notifierCallbacks: NotifierCallbacks; - constructor(notifierCallbacks: NotifierCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/PresetStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/PresetStaticRouter.d.ts deleted file mode 100644 index a9e7458..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/PresetStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { PresetBuildCallbacks } from "../../callbacks/PresetBuildCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class PresetStaticRouter extends StaticRouter { - protected presetCallbacks: PresetBuildCallbacks; - constructor(presetCallbacks: PresetBuildCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/ProfileStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/ProfileStaticRouter.d.ts deleted file mode 100644 index 83403f2..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/ProfileStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ProfileCallbacks } from "../../callbacks/ProfileCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class ProfileStaticRouter extends StaticRouter { - protected profileCallbacks: ProfileCallbacks; - constructor(profileCallbacks: ProfileCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/QuestStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/QuestStaticRouter.d.ts deleted file mode 100644 index 8f7ca0a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/QuestStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { QuestCallbacks } from "../../callbacks/QuestCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class QuestStaticRouter extends StaticRouter { - protected questCallbacks: QuestCallbacks; - constructor(questCallbacks: QuestCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/RagfairStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/RagfairStaticRouter.d.ts deleted file mode 100644 index 6c41467..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/RagfairStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RagfairCallbacks } from "../../callbacks/RagfairCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class RagfairStaticRouter extends StaticRouter { - protected ragfairCallbacks: RagfairCallbacks; - constructor(ragfairCallbacks: RagfairCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/TraderStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/TraderStaticRouter.d.ts deleted file mode 100644 index 41728a1..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/TraderStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { TraderCallbacks } from "../../callbacks/TraderCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class TraderStaticRouter extends StaticRouter { - protected traderCallbacks: TraderCallbacks; - constructor(traderCallbacks: TraderCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/WeatherStaticRouter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/WeatherStaticRouter.d.ts deleted file mode 100644 index 72ed851..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/routers/static/WeatherStaticRouter.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { WeatherCallbacks } from "../../callbacks/WeatherCallbacks"; -import { StaticRouter } from "../../di/Router"; -export declare class WeatherStaticRouter extends StaticRouter { - protected weatherCallbacks: WeatherCallbacks; - constructor(weatherCallbacks: WeatherCallbacks); -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/ConfigServer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/ConfigServer.d.ts deleted file mode 100644 index a079be8..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/ConfigServer.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigTypes } from "../models/enums/ConfigTypes"; -export declare class ConfigServer { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected configs: Record; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil); - getConfig(configType: ConfigTypes): T; - getConfigByString(configType: string): T; - initialize(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/DatabaseServer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/DatabaseServer.d.ts deleted file mode 100644 index aa152d0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/DatabaseServer.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -export declare class DatabaseServer { - protected tableData: IDatabaseTables; - getTables(): IDatabaseTables; - setTables(any: any): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/HttpServer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/HttpServer.d.ts deleted file mode 100644 index 44d802b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/HttpServer.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -/// -/// -import http, { ServerResponse } from "http"; -import { ApplicationContext } from "../context/ApplicationContext"; -import { Serializer } from "../di/Serializer"; -import { HttpServerHelper } from "../helpers/HttpServerHelper"; -import { NotifierHelper } from "../helpers/NotifierHelper"; -import { INotification } from "../models/eft/notifier/INotifier"; -import { IHttpConfig } from "../models/spt/config/IHttpConfig"; -import { IHttpServer } from "../models/spt/server/IHttpServer"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { HttpRouter } from "../routers/HttpRouter"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -import { ConfigServer } from "./ConfigServer"; -import { DatabaseServer } from "./DatabaseServer"; -export declare class HttpServer implements IHttpServer { - protected httpRouter: HttpRouter; - protected logger: ILogger; - protected randomUtil: RandomUtil; - protected jsonUtil: JsonUtil; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected notifierHelper: NotifierHelper; - protected httpServerHelper: HttpServerHelper; - protected serializers: Serializer[]; - protected configServer: ConfigServer; - protected applicationContext: ApplicationContext; - constructor(httpRouter: HttpRouter, // TODO: delay required - logger: ILogger, randomUtil: RandomUtil, jsonUtil: JsonUtil, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, notifierHelper: NotifierHelper, httpServerHelper: HttpServerHelper, serializers: Serializer[], configServer: ConfigServer, applicationContext: ApplicationContext); - protected buffers: {}; - protected onReceive: {}; - protected onRespond: {}; - protected httpConfig: IHttpConfig; - protected webSockets: {}; - protected websocketPingHandler: any; - getCookies(req: http.IncomingMessage): any; - resetBuffer(sessionID: string): void; - putInBuffer(sessionID: any, data: any, bufLength: number): boolean; - getFromBuffer(sessionID: string): any; - sendZlibJson(resp: any, output: any, sessionID: string): void; - sendMessage(sessionID: string, output: INotification): void; - sendFile(resp: ServerResponse, file: any): void; - isConnectionWebSocket(sessionID: string): boolean; - sendResponse(sessionID: string, req: any, resp: any, body: Buffer): void; - handleRequest(req: http.IncomingMessage, resp: http.ServerResponse): void; - load(): void; - protected getRandomisedMessage(): string; - wsOnConnection(ws: any, req: any): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/RagfairServer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/RagfairServer.d.ts deleted file mode 100644 index bc86cdb..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/RagfairServer.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { RagfairCategoriesService } from "../services/RagfairCategoriesService"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService"; -import { ConfigServer } from "./ConfigServer"; -export declare class RagfairServer { - protected logger: ILogger; - protected ragfairOfferGenerator: RagfairOfferGenerator; - protected ragfairOfferService: RagfairOfferService; - protected ragfairCategoriesService: RagfairCategoriesService; - protected ragfairRequiredItemsService: RagfairRequiredItemsService; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, ragfairOfferGenerator: RagfairOfferGenerator, ragfairOfferService: RagfairOfferService, ragfairCategoriesService: RagfairCategoriesService, ragfairRequiredItemsService: RagfairRequiredItemsService, configServer: ConfigServer); - load(): void; - update(): void; - getAllCategories(): Record; - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Disable/Hide an offer from flea - * @param offerId - */ - hideOffer(offerId: string): void; - getOffer(offerID: string): IRagfairOffer; - getOffers(): IRagfairOffer[]; - removeOfferStack(offerID: string, amount: number): void; - doesOfferExist(offerId: string): boolean; - addPlayerOffers(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/SaveServer.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/SaveServer.d.ts deleted file mode 100644 index cb28f49..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/servers/SaveServer.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { IAkiProfile, Info } from "../models/eft/profile/IAkiProfile"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { SaveLoadRouter } from "../di/Router"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class SaveServer { - protected vfs: VFS; - protected saveLoadRouters: SaveLoadRouter[]; - protected jsonUtil: JsonUtil; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected profileFilepath: string; - protected profiles: {}; - protected onSave: {}; - protected saveMd5: {}; - constructor(vfs: VFS, saveLoadRouters: SaveLoadRouter[], jsonUtil: JsonUtil, hashUtil: HashUtil, logger: ILogger); - load(): void; - save(): void; - getProfile(sessionId: string): IAkiProfile; - getProfiles(): Record; - deleteProfileById(sessionID: string): boolean; - createProfile(profileInfo: Info): void; - addProfile(profileDetails: IAkiProfile): void; - loadProfile(sessionID: string): void; - saveProfile(sessionID: string): void; - removeProfile(sessionID: string): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/BotEquipmentFilterService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/BotEquipmentFilterService.d.ts deleted file mode 100644 index e49645b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/BotEquipmentFilterService.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { IBotType } from "../models/eft/common/tables/IBotType"; -import { Equipment, EquipmentFilterDetails, IBotConfig } from "../models/spt/config/IBotConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class BotEquipmentFilterService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected botConfig: IBotConfig; - protected botEquipmentFilterlists: Record; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Filter a bots data to exclude equipment and cartridges defines in the botConfig - * @param baseBotNode bots json data to filter - * @param playerLevel Level of the currently playing player - * @param isPmc Is the bot we're filtering a PMC - * @param role Role of the bot we're filtering - */ - filterBotEquipment(baseBotNode: IBotType, playerLevel: number, isPmc: boolean, role: string): void; - /** - * Get an object that contains equipment and cartridge blacklists for a specified bot type - * @param botRole Role of the bot we want the blacklist for - * @param playerLevel Level of the player - * @returns EquipmentBlacklistDetails object - */ - protected getBotEquipmentBlacklist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Get the whitelist for a specific bot type that's within the players level - * @param botRole Bot type - * @param playerLevel Players level - * @returns EquipmentFilterDetails object - */ - protected getBotEquipmentWhitelist(botRole: string, playerLevel: number): EquipmentFilterDetails; - /** - * Filter bot equipment based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment blacklist - * @returns Filtered bot file - */ - protected filterEquipment(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; - /** - * Filter bot cartridges based on blacklist and whitelist from config/bot.json - * Prioritises whitelist first, if one is found blacklist is ignored - * @param baseBotNode bot .json file to update - * @param blacklist equipment on this list should be excluded from the bot - * @param whitelist equipment on this list should be used exclusivly - * @returns Filtered bot file - */ - protected filterCartridges(baseBotNode: IBotType, blacklist: EquipmentFilterDetails, whitelist: EquipmentFilterDetails): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/BotLootCacheService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/BotLootCacheService.d.ts deleted file mode 100644 index cc71eee..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/BotLootCacheService.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { PMCLootGenerator } from "../generators/PMCLootGenerator"; -import { Items } from "../models/eft/common/tables/IBotType"; -import { ITemplateItem, Props } from "../models/eft/common/tables/ITemplateItem"; -import { BotLootCache, LootCacheType } from "../models/spt/bots/BotLootCache"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RagfairPriceService } from "./RagfairPriceService"; -export declare class BotLootCacheService { - protected logger: ILogger; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected pmcLootGenerator: PMCLootGenerator; - protected ragfairPriceService: RagfairPriceService; - protected lootCache: Record; - constructor(logger: ILogger, jsonUtil: JsonUtil, databaseServer: DatabaseServer, pmcLootGenerator: PMCLootGenerator, ragfairPriceService: RagfairPriceService); - /** - * Remove all cached bot loot data - */ - clearCache(): void; - /** - * Get the fully created loot array, ordered by price low to high - * @param botRole bot to get loot for - * @param isPmc is the bot a pmc - * @param lootType what type of loot is needed (backpack/pocket/stim/vest etc) - * @param lootPool the full pool of loot (needed when cache is empty) - * @returns ITemplateItem array - */ - getLootFromCache(botRole: string, isPmc: boolean, lootType: LootCacheType, lootPool: Items): ITemplateItem[]; - /** - * Generate loot for a bot and store inside a private class property - * @param botRole bots role (assault / pmcBot etc) - * @param lootPool the full pool of loot we use to create the various sub-categories with - * @param isPmc Is the bot a PMC (alteres what loot is cached) - */ - protected addLootToCache(botRole: string, isPmc: boolean, lootPool: Items): void; - /** - * Ammo/grenades have this property - * @param props - * @returns - */ - protected isBulletOrGrenade(props: Props): boolean; - /** - * Internal and external magazine have this property - * @param props - * @returns - */ - protected isMagazine(props: Props): boolean; - /** - * Medical use items (e.g. morphine/lip balm/grizzly) - * @param props - * @returns - */ - protected isMedicalItem(props: Props): boolean; - /** - * Grenades have this property (e.g. smoke/frag/flash grenades) - * @param props - * @returns - */ - protected isGrenade(props: Props): boolean; - /** - * Check if a bot type exists inside the loot cache - * @param botRole role to check for - * @returns true if they exist - */ - protected botRoleExistsInCache(botRole: string): boolean; - /** - * If lootcache is null, init with empty property arrays - * @param botRole Bot role to hydrate - */ - protected initCacheForBotRole(botRole: string): void; - /** - * Compares two item prices by their flea (or handbook if that doesnt exist) price - * -1 when a < b - * 0 when a === b - * 1 when a > b - * @param itemAPrice - * @param itemBPrice - * @returns - */ - protected compareByValue(itemAPrice: number, itemBPrice: number): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/FenceService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/FenceService.d.ts deleted file mode 100644 index 79058c6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/FenceService.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { FenceLevel } from "../models/eft/common/IGlobals"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -import { ITraderConfig } from "../models/spt/config/ITraderConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class FenceService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected randomUtil: RandomUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected configServer: ConfigServer; - protected fenceAssort: ITraderAssort; - protected traderConfig: ITraderConfig; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, itemHelper: ItemHelper, presetHelper: PresetHelper, configServer: ConfigServer); - protected setFenceAssort(fenceAssort: ITraderAssort): void; - getFenceAssorts(): ITraderAssort; - hasExpiredCache(refreshAssort: boolean): boolean; - generateFenceAssortCache(pmcData: IPmcData): void; - /** - * Get the fence level the passed in profile has - * @param pmcData Player profile - * @returns FenceLevel - */ - getFenceInfo(pmcData: IPmcData): FenceLevel; - removeFenceOffer(assortIdToRemove: string): void; - updateFenceOffers(pmcData: IPmcData): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/HashCacheService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/HashCacheService.d.ts deleted file mode 100644 index 5320f28..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/HashCacheService.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "../utils/HashUtil"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -export declare class HashCacheService { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected logger: ILogger; - protected jsonHashes: any; - protected modHashes: any; - protected readonly modCachePath = "./user/cache/modCache.json"; - constructor(vfs: VFS, hashUtil: HashUtil, jsonUtil: JsonUtil, logger: ILogger); - getStoredModHash(modName: string): string; - modContentMatchesStoredHash(modName: string, modContent: string): boolean; - hashMatchesStoredHash(modName: string, modHash: string): boolean; - storeModContent(modName: string, modContent: string): void; - storeModHash(modName: string, modHash: string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/InsuranceService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/InsuranceService.d.ts deleted file mode 100644 index 171bf10..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/InsuranceService.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { DialogueHelper } from "../helpers/DialogueHelper"; -import { SecureContainerHelper } from "../helpers/SecureContainerHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData"; -import { IInsuranceConfig } from "../models/spt/config/IInsuranceConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { RandomUtil } from "../utils/RandomUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class InsuranceService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - protected secureContainerHelper: SecureContainerHelper; - protected randomUtil: RandomUtil; - protected timeUtil: TimeUtil; - protected saveServer: SaveServer; - protected traderHelper: TraderHelper; - protected dialogueHelper: DialogueHelper; - protected configServer: ConfigServer; - protected insured: Record>; - protected insuranceConfig: IInsuranceConfig; - constructor(logger: ILogger, databaseServer: DatabaseServer, secureContainerHelper: SecureContainerHelper, randomUtil: RandomUtil, timeUtil: TimeUtil, saveServer: SaveServer, traderHelper: TraderHelper, dialogueHelper: DialogueHelper, configServer: ConfigServer); - insuranceExists(sessionId: string): boolean; - insuranceTraderArrayExists(sessionId: string, traderId: string): boolean; - getInsurance(sessionId: string): Record; - getInsuranceItems(sessionId: string, traderId: string): any[]; - resetInsurance(sessionId: string): void; - resetInsuranceTraderArray(sessionId: string, traderId: string): void; - addInsuranceItemToArray(sessionId: string, traderId: string, itemToAdd: any): void; - /** - * Get the rouble price for an item by templateId - * @param itemTpl item tpl to get handbook price for - * @returns handbook price in roubles, Return 0 if not found - */ - getItemPrice(itemTpl: string): number; - /** - * Sends stored insured items as message to player - * @param pmcData profile to modify - * @param sessionID SessionId of current player - * @param mapId Id of the map player died/exited that caused the insurance to be issued on - */ - sendInsuredItems(pmcData: IPmcData, sessionID: string, mapId: string): void; - storeLostGear(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - storeInsuredItemsForReturn(pmcData: IPmcData, offraidData: ISaveProgressRequestData, preRaidGear: Item[], sessionID: string): void; - protected addGearToSend(pmcData: IPmcData, insuredItem: any, actualItem: any, sessionID: string): any; - getPremium(pmcData: IPmcData, inventoryItem: Item, traderId: string): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/LocaleService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/LocaleService.d.ts deleted file mode 100644 index 33bea7b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/LocaleService.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ILocaleConfig } from "../models/spt/config/ILocaleConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class LocaleService { - protected logger: ILogger; - protected configServer: ConfigServer; - protected localeConfig: ILocaleConfig; - constructor(logger: ILogger, configServer: ConfigServer); - /** - * Gets the locale key from the locale.json file - * @returns locale e.g en/ge/cz/cn - */ - getDesiredLocale(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/MatchLocationService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/MatchLocationService.d.ts deleted file mode 100644 index c027bec..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/MatchLocationService.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { ICreateGroupRequestData } from "../models/eft/match/ICreateGroupRequestData"; -import { TimeUtil } from "../utils/TimeUtil"; -export declare class MatchLocationService { - protected timeUtil: TimeUtil; - protected locations: {}; - constructor(timeUtil: TimeUtil); - createGroup(sessionID: string, info: ICreateGroupRequestData): any; - deleteGroup(info: any): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/ModCompilerService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/ModCompilerService.d.ts deleted file mode 100644 index 26cb4ac..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/ModCompilerService.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import * as ts from "typescript"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { VFS } from "../utils/VFS"; -import { HashCacheService } from "./HashCacheService"; -export declare class ModCompilerService { - protected logger: ILogger; - protected hashCacheService: HashCacheService; - protected vfs: VFS; - constructor(logger: ILogger, hashCacheService: HashCacheService, vfs: VFS); - compileMod(modName: string, modPath: string, modTypeScriptFiles: string[]): Promise; - protected compile(fileNames: string[], options: ts.CompilerOptions): Promise; - protected buildDepth(depth: number): string; - protected getNodesModulesPath(depth: number): string; - protected getAkiPath(depth: number): string; - protected getAkiFolder(): string; - protected getNodesModulesFolder(): string; - protected calculateDepth(file: string): number; - protected areFilesReady(fileNames: string[]): boolean; - protected delay(ms: number): Promise; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/NotificationService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/NotificationService.d.ts deleted file mode 100644 index 65a84dd..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/NotificationService.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { INotification } from "../models/eft/notifier/INotifier"; -export declare class NotificationService { - protected messageQueue: Record; - getMessageQueue(): Record; - getMessageFromQueue(sessionId: string): any[]; - updateMessageOnQueue(sessionId: string, value: any[]): void; - has(sessionID: string): boolean; - /** - * Pop first message from queue. - */ - pop(sessionID: string): any; - /** - * Add message to queue - */ - add(sessionID: string, message: INotification): void; - /** - * Get message queue for session - * @param sessionID - */ - get(sessionID: string): any[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/PaymentService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/PaymentService.d.ts deleted file mode 100644 index a5e538f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/PaymentService.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { InventoryHelper } from "../helpers/InventoryHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { TraderHelper } from "../helpers/TraderHelper"; -import { IPmcData } from "../models/eft/common/IPmcData"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IProcessBuyTradeRequestData } from "../models/eft/trade/IProcessBuyTradeRequestData"; -import { IProcessSellTradeRequestData } from "../models/eft/trade/IProcessSellTradeRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -export declare class PaymentService { - protected logger: ILogger; - protected httpResponse: HttpResponseUtil; - protected databaseServer: DatabaseServer; - protected handbookHelper: HandbookHelper; - protected traderHelper: TraderHelper; - protected itemHelper: ItemHelper; - protected inventoryHelper: InventoryHelper; - protected paymentHelper: PaymentHelper; - constructor(logger: ILogger, httpResponse: HttpResponseUtil, databaseServer: DatabaseServer, handbookHelper: HandbookHelper, traderHelper: TraderHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, paymentHelper: PaymentHelper); - /** - * Take money and insert items into return to server request - * @param {Object} pmcData - * @param {Object} body - * @param {string} sessionID - * @returns Object - */ - payMoney(pmcData: IPmcData, body: IProcessBuyTradeRequestData, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Receive money back after selling - * @param {IPmcData} pmcData - * @param {number} amount - * @param {IProcessSellTradeRequestData} body - * @param {IItemEventRouterResponse} output - * @param {string} sessionID - * @returns IItemEventRouterResponse - */ - getMoney(pmcData: IPmcData, amount: number, body: IProcessSellTradeRequestData, output: IItemEventRouterResponse, sessionID: string): IItemEventRouterResponse; - /** - * Recursively checks if the given item is - * inside the stash, that is it has the stash as - * ancestor with slotId=hideout - */ - protected isItemInStash(pmcData: IPmcData, item: Item): boolean; - /** - * Remove currency from player stash/inventory - * @param pmcData Player profile to find and remove currency from - * @param currencyTpl Type of currency to pay - * @param amountToPay money value to pay - * @param sessionID Sessino id - * @param output output object to send to client - * @returns IItemEventRouterResponse - */ - addPaymentToOutput(pmcData: IPmcData, currencyTpl: string, amountToPay: number, sessionID: string, output: IItemEventRouterResponse): IItemEventRouterResponse; - /** - * Prioritise player stash first over player inventory - * Post-raid healing would often take money out of the players pockets/secure container - * @param a Firsat money stack item - * @param b Second money stack item - * @returns sorted item - */ - protected moneySort(a: Item, b: Item): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/PlayerService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/PlayerService.d.ts deleted file mode 100644 index 519b7e5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/PlayerService.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { IPlayerIncrementSkillLevelRequestData } from "../models/eft/player/IPlayerIncrementSkillLevelRequestData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -export declare class PlayerService { - protected logger: ILogger; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, databaseServer: DatabaseServer); - /** - * increases the profile skill and updates any output - * @param {Object} pmcData - * @param {Object} output - * @param {String} skillName - * @param {Number} amount - */ - incrementSkillLevel(pmcData: IPmcData, output: IPlayerIncrementSkillLevelRequestData, skillName: string, amount: number): void; - /** - * @param {Object} pmcData - * @returns number - */ - calculateLevel(pmcData: IPmcData): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/ProfileFixerService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/ProfileFixerService.d.ts deleted file mode 100644 index ed1dec7..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/ProfileFixerService.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { IPmcData } from "../models/eft/common/IPmcData"; -import { HideoutSlot } from "../models/eft/common/tables/IBotBase"; -import { IPmcDataRepeatableQuest, IRepeatableQuest } from "../models/eft/common/tables/IRepeatableQuests"; -import { IAkiProfile } from "../models/eft/profile/IAkiProfile"; -import { HideoutAreas } from "../models/enums/HideoutAreas"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { Watermark } from "../utils/Watermark"; -export declare class ProfileFixerService { - protected logger: ILogger; - protected watermark: Watermark; - protected databaseServer: DatabaseServer; - constructor(logger: ILogger, watermark: Watermark, databaseServer: DatabaseServer); - /** - * Find issues in the pmc profile data that may cause issues and fix them - * @param pmcProfile profile to check and fix - */ - checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void; - /** - * Add tag to profile to indicate when it was made - * @param fullProfile - */ - addMissingAkiVersionTagToProfile(fullProfile: IAkiProfile): void; - /** - * TODO - make this non-public - currently used by RepeatableQuestController - * Remove unused condition counters - * @param pmcProfile profile to remove old counters from - */ - removeDanglingConditionCounters(pmcProfile: IPmcData): void; - protected removeDanglingBackendCounters(pmcProfile: IPmcData): void; - protected getActiveRepeatableQuests(repeatableQuests: IPmcDataRepeatableQuest[]): IRepeatableQuest[]; - protected fixNullTraderSalesSums(pmcProfile: IPmcData): void; - protected addMissingBonusesProperty(pmcProfile: IPmcData): void; - /** - * Adjust profile quest status and statusTimers object values - * quest.status is numeric e.g. 2 - * quest.statusTimers keys are numeric as strings e.g. "2" - * @param pmcProfile profile to update - */ - protected updateProfileQuestDataValues(pmcProfile: IPmcData): void; - protected addMissingRepeatableQuestsProperty(pmcProfile: IPmcData): void; - protected addMissingWorkbenchWeaponSkills(pmcProfile: IPmcData): void; - /** - * A new property was added to slot items "locationIndex", if this is missing, the hideout slot item must be removed - * @param pmcProfile Profile to find and remove slots from - */ - protected removeResourcesFromSlotsInHideoutWithoutLocationIndexValue(pmcProfile: IPmcData): void; - /** - * add in objects equal to the number of slots - * @param areaType area to check - * @param pmcProfile profile to update - */ - protected addEmptyObjectsToHideoutAreaSlots(areaType: HideoutAreas, emptyItemCount: number, pmcProfile: IPmcData): void; - protected addObjectsToArray(count: number, slots: HideoutSlot[]): HideoutSlot[]; - /** - * In 18876 bsg changed the pockets tplid to be one that has 3 additional special slots - * @param pmcProfile - */ - protected updateProfilePocketsToNewId(pmcProfile: IPmcData): void; - addMissingArmorRepairSkill(pmcProfile: IPmcData): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairCategoriesService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairCategoriesService.d.ts deleted file mode 100644 index 83910e5..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairCategoriesService.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairCategoriesService { - protected logger: ILogger; - protected categories: Record; - constructor(logger: ILogger); - /** - * Get all flea categories and their count of offers - * @returns item categories and count - */ - getAllCategories(): Record; - /** - * With the supplied items, get custom categories - * @returns a custom list of categories - */ - getBespokeCategories(offers: IRagfairOffer[]): Record; - /** - * Take an array of ragfair offers and create a dictionary of items with thier corrisponding offer count - * @param offers ragfair offers - * @returns categories and count - */ - protected processOffersIntoCategories(offers: IRagfairOffer[]): Record; - /** - * Increment or decrement a category array - * @param offer offer to process - * @param categories categories to update - * @param increment should item be incremented or decremented - */ - protected addOrIncrementCategory(offer: IRagfairOffer, categories: Record, increment?: boolean): void; - /** - * Increase category count by 1 - * @param offer - */ - incrementCategory(offer: IRagfairOffer): void; - /** - * Reduce category count by 1 - * @param offer - */ - decrementCategory(offer: IRagfairOffer): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairLinkedItemService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairLinkedItemService.d.ts deleted file mode 100644 index 6c34ee0..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairLinkedItemService.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { DatabaseServer } from "../servers/DatabaseServer"; -import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem"; -export declare class RagfairLinkedItemService { - protected databaseServer: DatabaseServer; - protected linkedItemsCache: Record>; - constructor(databaseServer: DatabaseServer); - getLinkedItems(linkedSearchId: string): Iterable; - protected buildLinkedItemTable(): void; - protected getFilters(item: ITemplateItem, slot: string): string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairOfferService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairOfferService.d.ts deleted file mode 100644 index 7398a8f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairOfferService.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { ProfileHelper } from "../helpers/ProfileHelper"; -import { RagfairServerHelper } from "../helpers/RagfairServerHelper"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ItemEventRouter } from "../routers/ItemEventRouter"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { HttpResponseUtil } from "../utils/HttpResponseUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { RagfairCategoriesService } from "./RagfairCategoriesService"; -export declare class RagfairOfferService { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected databaseServer: DatabaseServer; - protected saveServer: SaveServer; - protected ragfairServerHelper: RagfairServerHelper; - protected ragfairCategoriesService: RagfairCategoriesService; - protected profileHelper: ProfileHelper; - protected itemEventRouter: ItemEventRouter; - protected httpResponse: HttpResponseUtil; - protected configServer: ConfigServer; - protected playerOffersLoaded: boolean; - protected toUpdate: Record; - protected expiredOffers: Item[]; - protected offers: IRagfairOffer[]; - protected ragfairConfig: IRagfairConfig; - constructor(logger: ILogger, timeUtil: TimeUtil, databaseServer: DatabaseServer, saveServer: SaveServer, ragfairServerHelper: RagfairServerHelper, ragfairCategoriesService: RagfairCategoriesService, profileHelper: ProfileHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, configServer: ConfigServer); - /** - * Get all offers - * @returns IRagfairOffer array - */ - getOffers(): IRagfairOffer[]; - getOfferByOfferId(offerId: string): IRagfairOffer; - getOffersOfType(templateId: string): IRagfairOffer[]; - addOffer(offer: IRagfairOffer): void; - addOfferToExpired(staleOffer: IRagfairOffer): void; - setTraderUpdateStatus(traderId: string, shouldUpdate: boolean): void; - shouldTraderBeUpdated(traderID: string): boolean; - getExpiredOfferCount(): number; - /** - * Get an array of expired items not yet processed into new offers - * @returns items that need to be turned into offers - */ - getExpiredOffers(): Item[]; - resetExpiredOffers(): void; - /** - * Does the offer exist on the ragfair - * @param offerId offer id to check for - * @returns offer exists - true - */ - doesOfferExist(offerId: string): boolean; - getTraders(): Record; - flagTraderForUpdate(expiredOfferUserId: string): void; - removeOfferById(offerId: string): void; - removeOfferStack(offerID: string, amount: number): void; - removeAllOffersByTrader(traderId: string): void; - addTradersToUpdateList(): void; - addPlayerOffers(): void; - expireStaleOffers(): void; - /** - * Get an array of stale offers that are still shown to player - * @returns IRagfairOffer array - */ - protected getStaleOffers(): IRagfairOffer[]; - protected isStale(offer: IRagfairOffer, time: number): boolean; - protected processStaleOffer(staleOffer: IRagfairOffer): void; - protected returnPlayerOffer(offer: IRagfairOffer): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairPriceService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairPriceService.d.ts deleted file mode 100644 index 679fe1d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairPriceService.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { HandbookHelper } from "../helpers/HandbookHelper"; -import { ItemHelper } from "../helpers/ItemHelper"; -import { PresetHelper } from "../helpers/PresetHelper"; -import { Preset } from "../models/eft/common/IGlobals"; -import { Item } from "../models/eft/common/tables/IItem"; -import { IBarterScheme } from "../models/eft/common/tables/ITrader"; -import { IRagfairConfig } from "../models/spt/config/IRagfairConfig"; -import { IRagfairServerPrices } from "../models/spt/ragfair/IRagfairServerPrices"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { RandomUtil } from "../utils/RandomUtil"; -export declare class RagfairPriceService { - protected handbookHelper: HandbookHelper; - protected databaseServer: DatabaseServer; - protected logger: ILogger; - protected itemHelper: ItemHelper; - protected presetHelper: PresetHelper; - protected randomUtil: RandomUtil; - protected configServer: ConfigServer; - protected ragfairConfig: IRagfairConfig; - protected prices: IRagfairServerPrices; - constructor(handbookHelper: HandbookHelper, databaseServer: DatabaseServer, logger: ILogger, itemHelper: ItemHelper, presetHelper: PresetHelper, randomUtil: RandomUtil, configServer: ConfigServer); - generateStaticPrices(): void; - generateDynamicPrices(): void; - hasDynamicPrices(): boolean; - getDynamicPrice(itemTpl: string): number; - getAllFleaPrices(): Record; - getFleaPriceForItem(tplId: string): number; - getStaticPriceForItem(tplId: string): number; - getBarterPrice(barterScheme: IBarterScheme[]): number; - getDynamicOfferPrice(items: Item[], desiredCurrency: string): number; - /** - * Multiply the price by a randomised curve where n = 2, shift = 2 - * @param existingPrice price to alter - * @param isPreset is the item we're multiplying a preset - * @returns multiplied price - */ - protected randomisePrice(existingPrice: number, isPreset: boolean): number; - /** - * Calculate the cost of a weapon preset by adding together the price of its mods + base price of default weapon preset - * @param item base weapon - * @param items weapon plus mods - * @param existingPrice price of existing base weapon - * @returns - */ - getWeaponPresetPrice(item: Item, items: Item[], existingPrice: number): number; - /** - * Attempt to get the default preset for a weapon, failing that get the first preset in the array - * (assumes default = has encyclopedia entry) - * @param presets weapon presets to choose from - * @returns Default preset object - */ - protected getDefaultWeaponPreset(presets: Preset[], weapon: Item): Preset; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairRequiredItemsService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairRequiredItemsService.d.ts deleted file mode 100644 index b05fc65..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/RagfairRequiredItemsService.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { PaymentHelper } from "../helpers/PaymentHelper"; -import { RagfairOfferService } from "../services/RagfairOfferService"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class RagfairRequiredItemsService { - protected logger: ILogger; - protected paymentHelper: PaymentHelper; - protected ragfairOfferService: RagfairOfferService; - protected requiredItemsCache: {}; - constructor(logger: ILogger, paymentHelper: PaymentHelper, ragfairOfferService: RagfairOfferService); - getRequiredItems(searchId: string): any; - buildRequiredItemTable(): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/TraderAssortService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/TraderAssortService.d.ts deleted file mode 100644 index 5ba2d05..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/TraderAssortService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { ITraderAssort } from "../models/eft/common/tables/ITrader"; -export declare class TraderAssortService { - protected pristineTraderAssorts: Record; - getPristineTraderAssort(traderId: string): ITraderAssort; - setPristineTraderAssort(traderId: string, assort: ITraderAssort): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/CustomItemService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/CustomItemService.d.ts deleted file mode 100644 index 87bda40..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/CustomItemService.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { ITemplateItem, Props } from "../../models/eft/common/tables/ITemplateItem"; -import { CreateItemResult, LocaleDetails, NewItemDetails, NewItemFromCloneDetails } from "../../models/spt/mod/NewItemDetails"; -import { IDatabaseTables } from "../../models/spt/server/IDatabaseTables"; -import { ILogger } from "../../models/spt/utils/ILogger"; -import { DatabaseServer } from "../../servers/DatabaseServer"; -import { HashUtil } from "../../utils/HashUtil"; -import { JsonUtil } from "../../utils/JsonUtil"; -export declare class CustomItemService { - protected logger: ILogger; - protected hashUtil: HashUtil; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected tables: IDatabaseTables; - constructor(logger: ILogger, hashUtil: HashUtil, jsonUtil: JsonUtil, databaseServer: DatabaseServer); - /** - * Create a new item from a cloned item base - * WARNING - If no item id is supplied, an id will be generated, this id will be random every time you add an item and will not be the same on each subsequent server start - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Item details for the new item to be created - * @returns tplId of the new item created - */ - createItemFromClone(newItemDetails: NewItemFromCloneDetails): CreateItemResult; - /** - * Create a new item without using an existing item as a template - * Add to the items db - * Add to the flea market - * Add to the handbook - * Add to the locales - * @param newItemDetails Details on what the item to be created - * @returns CreateItemResult containing the completed items Id - */ - createItem(newItemDetails: NewItemDetails): CreateItemResult; - /** - * If the id provided is an empty string, return a randomly generated guid, otherwise return the newId parameter - * @param newId id supplied to code - * @returns item id - */ - protected getOrGenerateIdForItem(newId: string): string; - /** - * Iterates through supplied properties and updates the cloned items properties with them - * Complex objects cannot have overrides, they must be fully hydrated with values if they are to be used - * @param overrideProperties new properties to apply - * @param itemClone item to update - */ - protected updateBaseItemPropertiesWithOverrides(overrideProperties: Props, itemClone: ITemplateItem): void; - /** - * Addd a new item object to the in-memory representation of items.json - * @param newItemId id of the item to add to items.json - * @param itemToAdd Item to add against the new id - */ - protected addToItemsDb(newItemId: string, itemToAdd: ITemplateItem): void; - /** - * Add a handbook price for an item - * @param newItemId id of the item being added - * @param parentId parent id of the item being added - * @param priceRoubles price of the item being added - */ - protected addToHandbookDb(newItemId: string, parentId: string, priceRoubles: number): void; - /** - * Iterate through the passed in locale data and add to each locale in turn - * If data is not provided for each langauge eft uses, the first object will be used in its place - * e.g. - * en[0] - * fr[1] - * - * No jp provided, so english will be used as a substitute - * @param localeDetails key is language, value are the new locale details - * @param newItemId id of the item being created - */ - protected addToLocaleDbs(localeDetails: Record, newItemId: string): void; - /** - * Add a price to the in-memory representation of prices.json, used to inform the flea of an items price on the market - * @param newItemId id of the new item - * @param fleaPriceRoubles Price of the new item - */ - protected addToFleaPriceDb(newItemId: string, fleaPriceRoubles: number): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts deleted file mode 100644 index abfe237..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/dynamicRouter/DynamicRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DynamicRouter, RouteAction } from "../../../di/Router"; -export declare class DynamicRouterMod extends DynamicRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts deleted file mode 100644 index 6742fc6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/dynamicRouter/DynamicRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class DynamicRouterModService { - private container; - constructor(container: DependencyContainer); - registerDynamicRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/image/imageRouteService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/image/imageRouteService.d.ts deleted file mode 100644 index 29569b2..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/image/imageRouteService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare class ImageRouteService { - protected routes: Record; - addRoute(urlKey: string, route: string): void; - getByKey(urlKey: string): string; - existsByKey(urlKey: string): boolean; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onLoad/OnLoadMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onLoad/OnLoadMod.d.ts deleted file mode 100644 index 53fb062..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onLoad/OnLoadMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnLoad } from "../../../di/OnLoad"; -export declare class OnLoadMod extends OnLoad { - private onLoadOverride; - private getRouteOverride; - constructor(onLoadOverride: () => void, getRouteOverride: () => string); - onLoad(): void; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onLoad/OnLoadModService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onLoad/OnLoadModService.d.ts deleted file mode 100644 index f402103..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onLoad/OnLoadModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnLoadModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnLoad(name: string, onLoad: () => void, getRoute: () => string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onUpdate/OnUpdateMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onUpdate/OnUpdateMod.d.ts deleted file mode 100644 index ee89043..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onUpdate/OnUpdateMod.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { OnUpdate } from "../../../di/OnUpdate"; -export declare class OnUpdateMod extends OnUpdate { - private onUpdateOverride; - private getRouteOverride; - constructor(onUpdateOverride: (timeSinceLastRun: number) => boolean, getRouteOverride: () => string); - onUpdate(timeSinceLastRun: number): boolean; - getRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onUpdate/OnUpdateModService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onUpdate/OnUpdateModService.d.ts deleted file mode 100644 index 05d735b..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/onUpdate/OnUpdateModService.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -export declare class OnUpdateModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerOnUpdate(name: string, onUpdate: (timeSinceLastRun: number) => boolean, getRoute: () => string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/staticRouter/StaticRouterMod.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/staticRouter/StaticRouterMod.d.ts deleted file mode 100644 index 1e62747..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/staticRouter/StaticRouterMod.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { RouteAction, StaticRouter } from "../../../di/Router"; -export declare class StaticRouterMod extends StaticRouter { - private topLevelRoute; - constructor(routes: RouteAction[], topLevelRoute: string); - getTopLevelRoute(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/staticRouter/StaticRouterModService.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/staticRouter/StaticRouterModService.d.ts deleted file mode 100644 index f28fd45..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/services/mod/staticRouter/StaticRouterModService.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { RouteAction } from "../../../di/Router"; -export declare class StaticRouterModService { - protected container: DependencyContainer; - constructor(container: DependencyContainer); - registerStaticRouter(name: string, routes: RouteAction[], topLevelRoute: string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/App.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/App.d.ts deleted file mode 100644 index dcc2669..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/App.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { TimeUtil } from "./TimeUtil"; -import { OnLoad } from "../di/OnLoad"; -import { OnUpdate } from "../di/OnUpdate"; -import { ILogger } from "../models/spt/utils/ILogger"; -export declare class App { - protected logger: ILogger; - protected timeUtil: TimeUtil; - protected onLoadComponents: OnLoad[]; - protected onUpdateComponents: OnUpdate[]; - protected onUpdateLastRun: {}; - constructor(logger: ILogger, timeUtil: TimeUtil, onLoadComponents: OnLoad[], onUpdateComponents: OnUpdate[]); - load(): void; - protected update(onUpdateComponents: OnUpdate[]): void; - protected logUpdateException(err: any, updateable: OnUpdate): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/AyncQueue.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/AyncQueue.d.ts deleted file mode 100644 index da6ab18..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/AyncQueue.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ICommand } from "../models/spt/utils/ICommand"; -export declare class AsyncQueue implements IAsyncQueue { - protected commandsQueue: ICommand[]; - constructor(); - waitFor(command: ICommand): Promise; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/DatabaseImporter.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/DatabaseImporter.d.ts deleted file mode 100644 index 483e135..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/DatabaseImporter.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { OnLoad } from "../di/OnLoad"; -import { IDatabaseTables } from "../models/spt/server/IDatabaseTables"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ImageRouter } from "../routers/ImageRouter"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { JsonUtil } from "./JsonUtil"; -import { VFS } from "./VFS"; -export declare class DatabaseImporter extends OnLoad { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected databaseServer: DatabaseServer; - protected imageRouter: ImageRouter; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, databaseServer: DatabaseServer, imageRouter: ImageRouter); - onLoad(): void; - /** - * Read all json files in database folder and map into a json object - * @param filepath path to database folder - */ - protected hydrateDatabase(filepath: string): void; - getRoute(): string; - loadRecursive(filepath: string): IDatabaseTables; - loadImages(filepath: string): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/HashUtil.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/HashUtil.d.ts deleted file mode 100644 index bacbf2a..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/HashUtil.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -import crypto from "crypto"; -import { TimeUtil } from "./TimeUtil"; -export declare class HashUtil { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - generate(): string; - generateMd5ForData(data: string): string; - generateSha1ForData(data: string): string; - generateHashForData(algorithm: string, data: crypto.BinaryLike): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/HttpResponseUtil.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/HttpResponseUtil.d.ts deleted file mode 100644 index 29502be..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/HttpResponseUtil.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { JsonUtil } from "./JsonUtil"; -import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; -import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; -import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse"; -export declare class HttpResponseUtil { - protected jsonUtil: JsonUtil; - constructor(jsonUtil: JsonUtil); - protected clearString(s: string): any; - noBody(data: any): any; - getBody(data: T, err?: number, errmsg?: any): IGetBodyResponseData; - getUnclearedBody(data: any, err?: number, errmsg?: any): string; - emptyResponse(): IGetBodyResponseData; - nullResponse(): INullResponseData; - emptyArrayResponse(): IGetBodyResponseData; - appendErrorToOutput(output: IItemEventRouterResponse, message?: string, title?: string): IItemEventRouterResponse; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/JsonUtil.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/JsonUtil.d.ts deleted file mode 100644 index 71e95f6..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/JsonUtil.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { HashUtil } from "./HashUtil"; -import { VFS } from "./VFS"; -export declare class JsonUtil { - protected vfs: VFS; - protected hashUtil: HashUtil; - protected logger: ILogger; - protected fileHashes: any; - constructor(vfs: VFS, hashUtil: HashUtil, logger: ILogger); - /** - * From object to string - * @param data object to turn into JSON - * @param prettify Should output be prettified? - * @returns string - */ - serialize(data: any, prettify?: boolean): string; - /** - * From string to object - * @param jsonString json string to turn into object - * @returns object - */ - deserialize(jsonString: string): any; - deserializeWithCacheCheck(jsonString: string, filePath: string): string; - clone(data: T): T; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/Logger.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/Logger.d.ts deleted file mode 100644 index 3d9013f..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/Logger.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -/// -import fs from "fs"; -import winston from "winston"; -import { Daum } from "../models/eft/itemEvent/IItemEventRouterRequest"; -import { LogBackgroundColor } from "../models/spt/logging/LogBackgroundColor"; -import { LogTextColor } from "../models/spt/logging/LogTextColor"; -import { SptLogger } from "../models/spt/logging/SptLogger"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class WinstonLogger implements ILogger { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - protected showDebugInConsole: boolean; - protected folderPath: string; - protected file: string; - protected filePath: string; - protected logLevels: { - levels: { - error: number; - warn: number; - succ: number; - info: number; - custom: number; - debug: number; - }; - colors: { - error: string; - warn: string; - succ: string; - info: string; - custom: string; - debug: string; - }; - bgColors: { - default: string; - blackBG: string; - redBG: string; - greenBG: string; - yellowBG: string; - blueBG: string; - magentaBG: string; - cyanBG: string; - whiteBG: string; - }; - }; - protected logger: winston.Logger & SptLogger; - protected writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - writeToLogFile(data: string | Daum): Promise; - log(data: string | Error | Record, color: string, backgroundColor?: string): Promise; - error(data: string | Record): Promise; - warning(data: string | Record): Promise; - success(data: string | Record): Promise; - info(data: string | Record): Promise; - logWithColor(data: string | Record, textColor: LogTextColor, backgroundColor?: LogBackgroundColor): Promise; - debug(data: string | Record, onlyShowInConsole?: boolean): Promise; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/MathUtil.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/MathUtil.d.ts deleted file mode 100644 index ea5fd69..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/MathUtil.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -export declare class MathUtil { - /** - * Helper to create the sum of all array elements - * @param {array} values The array with numbers of which to calculate the sum - * @return {number} sum(values) - */ - arraySum(values: number[]): number; - /** - * Helper to create the cumulative sum of all array elements - * arrayCumsum([1, 2, 3, 4]) = [1, 3, 6, 10] - * @param {array} values The array with numbers of which to calculate the cumulative sum - * @return {array} cumsum(values) - */ - arrayCumsum(values: number[]): number[]; - /** - * Helper to create the product of each element times factor - * @param {array} values The array of numbers which shall be multiplied by the factor - * @return {array} array times factor - */ - arrayProd(values: number[], factor: number): number[]; - /** - * Helper to add a constant to all array elements - * @param {array} values The array of numbers to which the summand should be added - * @return {array} array plus summand - */ - arrayAdd(values: number[], summand: number): number[]; - /** - * Map a value from an input range to an output range linearly - * - * Example: - * a_min = 0; a_max=1; - * b_min = 1; b_max=3; - * MathUtil.mapToRange(0.5, a_min, a_max, b_min, b_max) // returns 2 - * - * @param {number} x The value from input range to be mapped to output range - * @param {number} minIn min of input range - * @param {number} maxIn max of input range - * @param {number} minOut min of output range - * @param {number} maxOut max of outout range - * @return {number} the result of the mapping - */ - mapToRange(x: number, minIn: number, maxIn: number, minOut: number, maxOut: number): number; - /** - * Linear interpolation - * e.g. used to do a continuous integration for quest rewards which are defined for specific support centers of pmcLevel - * - * @param {string} xp the point of x at which to interpolate - * @param {array} x support points in x (of same length as y) - * @param {array} y support points in y (of same length as x) - * @return {number} y(xp) - */ - interp1(xp: number, x: number[], y: number[]): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/ObjectId.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/ObjectId.d.ts deleted file mode 100644 index 03aae56..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/ObjectId.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/// -import { TimeUtil } from "./TimeUtil"; -export declare class ObjectId { - protected timeUtil: TimeUtil; - constructor(timeUtil: TimeUtil); - protected randomBytes: Buffer; - protected constglobalCounter: number; - protected consttime: number; - protected globalCounter: number; - protected time: number; - incGlobalCounter(): number; - toHexString(byteArray: string | any[] | Buffer): string; - generate(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/RandomUtil.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/RandomUtil.d.ts deleted file mode 100644 index c24dd60..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/RandomUtil.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -import { ILogger } from "../models/spt/utils/ILogger"; -import { JsonUtil } from "./JsonUtil"; -import { MathUtil } from "./MathUtil"; -/** - * Array of ProbabilityObjectArray which allow to randomly draw of the contained objects - * based on the relative probability of each of its elements. - * The probabilities of the contained element is not required to be normalized. - * - * Example: - * po = new ProbabilityObjectArray( - * new ProbabilityObject("a", 5), - * new ProbabilityObject("b", 1), - * new ProbabilityObject("c", 1) - * ); - * res = po.draw(10000); - * // count the elements which should be distributed according to the relative probabilities - * res.filter(x => x==="b").reduce((sum, x) => sum + 1 , 0) - */ -export declare class ProbabilityObjectArray extends Array> { - private mathUtil; - constructor(mathUtil: MathUtil, ...items: ProbabilityObject[]); - filter(callbackfn: (value: ProbabilityObject, index: number, array: ProbabilityObject[]) => any): ProbabilityObjectArray; - /** - * Calculates the normalized cumulative probability of the ProbabilityObjectArray's elements normalized to 1 - * @param {array} probValues The relative probability values of which to calculate the normalized cumulative sum - * @returns {array} Cumulative Sum normalized to 1 - */ - cumulativeProbability(probValues: number[]): number[]; - /** - * Clone this ProbabilitObjectArray - * @returns {ProbabilityObjectArray} Deep Copy of this ProbabilityObjectArray - */ - clone(): ProbabilityObjectArray; - /** - * Drop an element from the ProbabilityObjectArray - * - * @param {string} key The key of the element to drop - * @returns {ProbabilityObjectArray} ProbabilityObjectArray without the dropped element - */ - drop(key: K): ProbabilityObjectArray; - /** - * Return the data field of a element of the ProbabilityObjectArray - * @param {string} key The key of the element whose data shall be retrieved - * @returns {object} The data object - */ - data(key: K): V; - /** - * Get the relative probability of an element by its key - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @param {string} key The key of the element whose relative probability shall be retrieved - * @return {number} The relative probability - */ - probability(key: K): number; - /** - * Get the maximum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.maxProbability() // returns 5 - * - * @return {number} the maximum value of all relative probabilities in this ProbabilityObjectArray - */ - maxProbability(): number; - /** - * Get the minimum relative probability out of a ProbabilityObjectArray - * - * Example: - * po = new ProbabilityObjectArray(new ProbabilityObject("a", 5), new ProbabilityObject("b", 1)) - * po.minProbability() // returns 1 - * - * @return {number} the minimum value of all relative probabilities in this ProbabilityObjectArray - */ - minProbability(): number; - /** - * Draw random element of the ProbabilityObject N times to return an array of N keys. - * Drawing can be with or without replacement - * - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with or without replacement from the input dict - * @param {array} locklist list keys which shall be replaced even if drawing without replacement - * @return {array} Array consisting of N random keys for this ProbabilityObjectArray - */ - draw(count?: number, replacement?: boolean, locklist?: Array): K[]; -} -/** - * A ProbabilityObject which is use as an element to the ProbabilityObjectArray array - * It contains a key, the relative probability as well as optional data. - */ -export declare class ProbabilityObject { - key: K; - relativeProbability: number; - data: V; - /** - * Constructor for the ProbabilityObject - * @param {string} key The key of the element - * @param {number} relativeProbability The relative probability of this element - * @param {any} data Optional data attached to the element - */ - constructor(key: K, relativeProbability: number, data?: V); -} -export declare class RandomUtil { - protected jsonUtil: JsonUtil; - protected logger: ILogger; - constructor(jsonUtil: JsonUtil, logger: ILogger); - getInt(min: number, max: number): number; - getIntEx(max: number): number; - getFloat(min: number, max: number): number; - getBool(): boolean; - getStringArrayValue(arr: string[]): string; - getArrayValue(arr: T[]): T; - getKey(node: any): string; - getKeyValue(node: { - [x: string]: any; - }): any; - /** - * Draw from normal distribution - * @param {number} mu Mean of the normal distribution - * @param {number} sigma Standard deviation of the normal distribution - * @returns {number} The value drawn - */ - randn(mu: number, sigma: number): number; - /** - * Draw Random integer low inclusive, high exclusive - * if high is not set we draw from 0 to low (exclusive) - * @param {integer} low Lower bound inclusive, when high is not set, this is high - * @param {integer} high Higher bound exclusive - * @returns {integer} The random integer in [low, high) - */ - randInt(low: number, high?: number): number; - /** - * Draw a random element of the provided list N times to return an array of N random elements - * Drawing can be with or without replacement - * @param {array} list The array we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input array - * @return {array} Array consisting of N random elements - */ - drawRandomFromList(list: Array, count?: number, replacement?: boolean): Array; - /** - * Draw a random (top level) element of the provided dictionary N times to return an array of N random dictionary keys - * Drawing can be with or without replacement - * @param {any} dict The dictionary we want to draw randomly from - * @param {integer} count The number of times we want to draw - * @param {boolean} replacement Draw with ot without replacement from the input dict - * @return {array} Array consisting of N random keys of the dictionary - */ - drawRandomFromDict(dict: any, count?: number, replacement?: boolean): any[]; - getBiasedRandomNumber(min: number, max: number, shift: number, n: number): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/TimeUtil.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/TimeUtil.d.ts deleted file mode 100644 index eed4e6d..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/TimeUtil.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -export declare class TimeUtil { - static readonly oneHourAsSeconds = 3600; - formatTime(date: Date): string; - formatDate(date: Date): string; - getDate(): string; - getTime(): string; - getTimestamp(): number; - /** - * mail in eft requires time be in a specific format - * @returns current time in format: 00:00 (hh:mm) - */ - getTimeMailFormat(): string; - /** - * Mail in eft requires date be in a specific format - * @returns current date in format: 00.00.0000 (dd.mm.yyyy) - */ - getDateMailFormat(): string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/UUidGenerator.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/UUidGenerator.d.ts deleted file mode 100644 index 000b719..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/UUidGenerator.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class UUidGenerator implements IUUidGenerator { - generate: () => string; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/VFS.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/VFS.d.ts deleted file mode 100644 index e5eaf02..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/VFS.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -/// -/// -import "reflect-metadata"; -import fs from "fs"; -import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue"; -import { IUUidGenerator } from "../models/spt/utils/IUuidGenerator"; -export declare class VFS { - protected asyncQueue: IAsyncQueue; - protected uuidGenerator: IUUidGenerator; - accessFilePromisify: (path: fs.PathLike, mode?: number) => Promise; - copyFilePromisify: (src: fs.PathLike, dst: fs.PathLike, flags?: number) => Promise; - mkdirPromisify: (path: fs.PathLike, options: fs.MakeDirectoryOptions & { - recursive: true; - }) => Promise; - readFilePromisify: (path: fs.PathLike) => Promise; - writeFilePromisify: (path: fs.PathLike, data: string, options?: any) => Promise; - readdirPromisify: (path: fs.PathLike, options?: BufferEncoding | { - encoding: BufferEncoding; - withFileTypes?: false; - }) => Promise; - statPromisify: (path: fs.PathLike, options?: fs.StatOptions & { - bigint?: false; - }) => Promise; - unlinkPromisify: (path: fs.PathLike) => Promise; - rmdirPromisify: (path: fs.PathLike) => Promise; - constructor(asyncQueue: IAsyncQueue, uuidGenerator: IUUidGenerator); - exists(filepath: fs.PathLike): boolean; - existsAsync(filepath: fs.PathLike): Promise; - copyFile(filepath: fs.PathLike, target: fs.PathLike): void; - copyAsync(filepath: fs.PathLike, target: fs.PathLike): Promise; - createDir(filepath: string): void; - createDirAsync(filepath: string): Promise; - copyDir(filepath: string, target: string, fileExtensions?: string | string[]): void; - copyDirAsync(filepath: string, target: string, fileExtensions: string | string[]): Promise; - readFile(filepath: string): any; - readFileAsync(filepath: string): Promise; - writeFile(filepath: any, data?: string, append?: boolean, atomic?: boolean): void; - writeFileAsync(filepath: any, data?: string, append?: boolean, atomic?: boolean): Promise; - getFiles(filepath: string): string[]; - getFilesAsync(filepath: string): Promise; - getDirs(filepath: string): string[]; - getDirsAsync(filepath: string): Promise; - removeFile(filepath: string): void; - removeFileAsync(filepath: string): Promise; - removeDir(filepath: string): void; - removeDirAsync(filepath: string): Promise; - private lockFileSync; - private checkFileSync; - private unlockFileSync; - getFileExtension(filepath: string): string; - stripExtension(filepath: string): string; - minifyAllJsonInDirRecursive(filepath: string): Promise; - minifyAllJsonInDirRecursiveAsync(filepath: string): Promise; - getFilesOfType(directory: string, fileType: string, files?: string[]): string[]; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/Watermark.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/Watermark.d.ts deleted file mode 100644 index c6dc120..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/Watermark.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -export declare class WatermarkLocale { - protected locales: { - "en-US": { - description: string[]; - warning: string[]; - modding: string[]; - }; - "zh-CN": { - description: string[]; - warning: string[]; - modding: string[]; - }; - }; - getLocale(): string; - getDescription(): string[]; - getWarning(): string[]; - getModding(): string[]; -} -export declare class Watermark { - protected logger: ILogger; - protected configServer: ConfigServer; - protected watermarkLocale?: WatermarkLocale; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, configServer: ConfigServer, watermarkLocale?: WatermarkLocale); - protected text: string[]; - protected versionLabel: string; - initialize(): void; - /** - * Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx)) - * @param withEftVersion Include the eft version this spt version was made for - * @returns string - */ - getVersionTag(withEftVersion?: boolean): string; - getVersionLabel(): string; - /** Set window title */ - setTitle(): void; - /** Reset console cursor to top */ - resetCursor(): void; - /** Draw the watermark */ - draw(): void; - /** Caculate text length */ - protected textLength(s: string): number; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/collections/lists/LinkedList.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/collections/lists/LinkedList.d.ts deleted file mode 100644 index aca0659..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/collections/lists/LinkedList.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -export declare class LinkedList { - private head; - private tail; - add(t: T): void; - addRange(list: T[]): void; - getHead(): LinkedListNode; - getTail(): LinkedListNode; - isEmpty(): boolean; - getSize(): number; - removeFirst(): LinkedListNode; - removeLast(): LinkedListNode; - indexOf(func: (t: T) => boolean): number; - contains(func: (t: T) => boolean): boolean; - forEachNode(func: (t: LinkedListNode) => void): void; - forEachValue(func: (t: T) => void): void; - findFirstNode(func: (t: LinkedListNode) => boolean): LinkedListNode; - findFirstValue(func: (t: T) => boolean): T; - toList(): T[]; -} -export declare class LinkedListNode { - private previous; - private value; - private next; - constructor(value: T, previous?: LinkedListNode, next?: LinkedListNode); - getValue(): T; - getNextNode(): LinkedListNode; - setNextNode(node: LinkedListNode): void; - getPreviousNode(): LinkedListNode; - setPreviousNode(node: LinkedListNode): void; -} diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/decorators/Singleton.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/decorators/Singleton.d.ts deleted file mode 100644 index 7e89026..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/decorators/Singleton.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type constructor from "./constructor"; -import { InjectionToken } from "tsyringe"; -declare function singleton(token?: InjectionToken): (target: constructor) => void; -export default singleton; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/decorators/constructor.d.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/decorators/constructor.d.ts deleted file mode 100644 index 416f354..0000000 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/types/utils/decorators/constructor.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare type constructor = { - new (...args: any[]): T; -}; -export default constructor; diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/BepInEx/plugins/CWX-WeatherPatcher.dll b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/BepInEx/plugins/CWX-WeatherPatcher.dll similarity index 93% rename from Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/BepInEx/plugins/CWX-WeatherPatcher.dll rename to Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/BepInEx/plugins/CWX-WeatherPatcher.dll index 0219400..cc1bffb 100644 Binary files a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/BepInEx/plugins/CWX-WeatherPatcher.dll and b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/BepInEx/plugins/CWX-WeatherPatcher.dll differ diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/LICENSE.txt b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/LICENSE.txt similarity index 100% rename from Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/LICENSE.txt rename to Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/LICENSE.txt diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/package.json b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/package.json similarity index 95% rename from Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/package.json rename to Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/package.json index 56d3d94..96ceeed 100644 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/package.json +++ b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/package.json @@ -1,10 +1,10 @@ { "name": "WeatherPatcher", "author": "CWX", - "version": "2.4.1", + "version": "2.4.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/src/mod.ts b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/src/mod.ts similarity index 83% rename from Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/src/mod.ts rename to Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/src/mod.ts index a4178fa..f4e813c 100644 --- a/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.1/user/mods/CWX-WeatherPatcher 2.4.1/src/mod.ts +++ b/Live/CWX_WeatherPatcher/CWX_WeatherPatcher 2.4.3/user/mods/CWX-WeatherPatcher 2.4.3/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_WeatherPatcher implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_WeatherPatcher/server/dist/package.json b/Live/CWX_WeatherPatcher/server/dist/package.json index 56d3d94..96ceeed 100644 --- a/Live/CWX_WeatherPatcher/server/dist/package.json +++ b/Live/CWX_WeatherPatcher/server/dist/package.json @@ -1,10 +1,10 @@ { "name": "WeatherPatcher", "author": "CWX", - "version": "2.4.1", + "version": "2.4.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_WeatherPatcher/server/dist/src/mod.ts b/Live/CWX_WeatherPatcher/server/dist/src/mod.ts index a4178fa..f4e813c 100644 --- a/Live/CWX_WeatherPatcher/server/dist/src/mod.ts +++ b/Live/CWX_WeatherPatcher/server/dist/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_WeatherPatcher implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } } diff --git a/Live/CWX_WeatherPatcher/server/dist/types/Utils.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/Utils.d.ts deleted file mode 100644 index e69de29..0000000 diff --git a/Live/CWX_WeatherPatcher/server/dist/types/helpers/ExtendedProfileHelper.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/helpers/ExtendedProfileHelper.d.ts deleted file mode 100644 index c05d88e..0000000 --- a/Live/CWX_WeatherPatcher/server/dist/types/helpers/ExtendedProfileHelper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { BotGenerator } from "../generators/BotGenerator"; -import { IPmcData, Skills, Stats } from "../models/eft/common/IPmcData"; -import { DatabaseServer } from "../servers/DatabaseServer"; -import { SaveServer } from "../servers/SaveServer"; -import { BotLootCacheService } from "../services/BotLootCacheService"; -import { FenceService } from "../services/FenceService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { TimeUtil } from "../utils/TimeUtil"; -import { Watermark } from "../utils/Watermark"; -import { ItemHelper } from "./ItemHelper"; -import { ProfileHelper } from "./ProfileHelper"; -/** - * This class needs to exist outside of ProfileHelper to ensure cyclic deps don't cause the server to fail on load - */ -export declare class ExtendedProfileHelper extends ProfileHelper { - protected botLootCacheService: BotLootCacheService; - protected botGenerator: BotGenerator; - constructor(jsonUtil: JsonUtil, watermark: Watermark, timeUtil: TimeUtil, saveServer: SaveServer, databaseServer: DatabaseServer, itemHelper: ItemHelper, botLootCacheService: BotLootCacheService, fenceService: FenceService, botGenerator: BotGenerator); - generatePlayerScav(sessionID: string): IPmcData; - protected getScavSkills(sessionID: string): Skills; - protected removeSecureContainer(profile: IPmcData): IPmcData; - protected getDefaultScavSkills(): Skills; - protected getScavStats(sessionID: string): Stats; - protected getScavLevel(sessionID: string): number; - protected getScavExperience(sessionID: string): number; - protected setScavCooldownTimer(profile: IPmcData, pmcData: IPmcData): IPmcData; -} diff --git a/Live/CWX_WeatherPatcher/server/dist/types/loaders/DelayedModLoader.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/loaders/DelayedModLoader.d.ts deleted file mode 100644 index 2a05604..0000000 --- a/Live/CWX_WeatherPatcher/server/dist/types/loaders/DelayedModLoader.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { HandbookController } from "../controllers/HandbookController"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -import { InitialModLoader } from "./InitialModLoader"; -export declare class DelayedModLoader implements IModLoader { - protected bundleLoader: BundleLoader; - protected handbookController: HandbookController; - protected vfs: VFS; - protected modCompilerService: ModCompilerService; - protected initialModLoader: InitialModLoader; - constructor(bundleLoader: BundleLoader, handbookController: HandbookController, vfs: VFS, modCompilerService: ModCompilerService, initialModLoader: InitialModLoader); - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - getModPath(mod: string): string; - load(): void; - protected executeMods(container: DependencyContainer): void; - protected addBundles(): void; -} diff --git a/Live/CWX_WeatherPatcher/server/dist/types/loaders/InitialModLoader.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/loaders/InitialModLoader.d.ts deleted file mode 100644 index 68e47fe..0000000 --- a/Live/CWX_WeatherPatcher/server/dist/types/loaders/InitialModLoader.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { DependencyContainer } from "tsyringe"; -import { ICoreConfig } from "../models/spt/config/ICoreConfig"; -import { ModLoader } from "../models/spt/mod/IMod"; -import { IModLoader } from "../models/spt/mod/IModLoader"; -import { IPackageJsonData } from "../models/spt/mod/IPackageJsonData"; -import { ILogger } from "../models/spt/utils/ILogger"; -import { ConfigServer } from "../servers/ConfigServer"; -import { ModCompilerService } from "../services/ModCompilerService"; -import { JsonUtil } from "../utils/JsonUtil"; -import { VFS } from "../utils/VFS"; -import { BundleLoader } from "./BundleLoader"; -export declare class InitialModLoader implements IModLoader { - protected logger: ILogger; - protected vfs: VFS; - protected jsonUtil: JsonUtil; - protected modCompilerService: ModCompilerService; - protected bundleLoader: BundleLoader; - protected configServer: ConfigServer; - protected static container: DependencyContainer; - protected readonly basepath = "user/mods/"; - protected imported: Record; - protected akiConfig: ICoreConfig; - constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer); - load(container: DependencyContainer): Promise; - getBundles(local: boolean): string; - getBundle(key: string, local: boolean): void; - /** - * Returns a list of mods with preserved load order - * @returns Array of mod names in load order - */ - getImportedModsNames(): string[]; - getModPath(mod: string): string; - protected importClass(name: string, filepath: string, container: DependencyContainer): void; - protected importMods(): Promise; - /** - * - * @param mods Get an array of broken/invalid mods by name - * @returns Mod names array - */ - protected getBrokenMods(mods: string[]): string[]; - /** - * Get packageJson data for mods - * @param mods mods to get packageJson for - * @returns dictionary - */ - protected getModsPackageData(mods: string[]): Record; - /** - * Does mod have "delayedLoad(" string in its entry class - * @param modFolderName folder name - * @param modToValidate package.json details - * @returns boolean - */ - protected isModSpt300Compatible(modFolderName: string, modToValidate: IPackageJsonData): boolean; - protected isModCombatibleWithAki(mod: IPackageJsonData): boolean; - protected executeMods(container: DependencyContainer): void; - sortModsLoadOrder(): string[]; - protected addMod(mod: string): Promise; - protected areModDependenciesFulfilled(mod: IPackageJsonData, loadedMods: Record): boolean; - protected isModCompatible(mod: IPackageJsonData, loadedMods: Record): boolean; - protected validMod(mod: string): boolean; - protected getLoadOrderRecursive(mod: string, result: Record, visited: Record): void; - protected getLoadOrder(mods: Record): Record; - getContainer(): DependencyContainer; -} diff --git a/Live/CWX_WeatherPatcher/server/dist/types/models/eft/common/MemberCategory.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/models/eft/common/MemberCategory.d.ts deleted file mode 100644 index 3bd9a21..0000000 --- a/Live/CWX_WeatherPatcher/server/dist/types/models/eft/common/MemberCategory.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export declare enum MemberCategory { - Default = 0, - Developer = 1, - UniqueId = 2, - Trader = 4, - Group = 8, - System = 16, - ChatModerator = 32, - ChatModeratorWithPermanentBan = 64, - UnitTest = 128, - Sherpa = 256, - Emissary = 512 -} diff --git a/Live/CWX_WeatherPatcher/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts deleted file mode 100644 index 10f851b..0000000 --- a/Live/CWX_WeatherPatcher/server/dist/types/models/eft/hideout/HideoutAreasEnum.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -export declare enum HideoutAreasEnum { - NOTSET = -1, - VENTS = 0, - SECURITY = 1, - LAVATORY = 2, - STASH = 3, - GENERATOR = 4, - HEATING = 5, - WATER_COLLECTOR = 6, - MEDSTATION = 7, - NUTRITION_UNIT = 8, - REST_SPACE = 9, - WORKBENCH = 10, - INTEL_CENTER = 11, - SHOOTING_RANGE = 12, - LIBRARY = 13, - SCAV_CASE = 14, - ILLUMINATION = 15, - PLACE_OF_FAME = 16, - AIR_FILTERING = 17, - SOLAR_POWER = 18, - BOOZE_GENERATOR = 19, - BITCOIN_FARM = 20, - CHRISTMAS_TREE = 21 -} diff --git a/Live/CWX_WeatherPatcher/server/dist/types/models/external/mod.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/models/external/mod.d.ts deleted file mode 100644 index ecef460..0000000 --- a/Live/CWX_WeatherPatcher/server/dist/types/models/external/mod.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { DependencyContainer } from "./tsyringe"; -export interface IMod { - load: (container: DependencyContainer) => void; - delayedLoad: (container: DependencyContainer) => void; -} diff --git a/Live/CWX_WeatherPatcher/server/dist/types/models/spt/helpers/Traders.d.ts b/Live/CWX_WeatherPatcher/server/dist/types/models/spt/helpers/Traders.d.ts deleted file mode 100644 index e935d29..0000000 --- a/Live/CWX_WeatherPatcher/server/dist/types/models/spt/helpers/Traders.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export declare const enum Traders { - PRAPOR = "54cb50c76803fa8b248b4571", - THERAPIST = "54cb57776803fa99248b456e", - FENCE = "579dc571d53a0658a154fbec", - SKIER = "58330581ace78e27b8b10cee", - PEACEKEEPER = "5935c25fb3acc3127c3d8cd9", - MECHANIC = "5a7c2eca46aef81a7ca2145d", - RAGMAN = "5ac3b934156ae10c4430e83c", - JAEGER = "5c0647fdd443bc2504c2d371" -} diff --git a/Live/CWX_WeatherPatcher/server/package.json b/Live/CWX_WeatherPatcher/server/package.json index 56d3d94..96ceeed 100644 --- a/Live/CWX_WeatherPatcher/server/package.json +++ b/Live/CWX_WeatherPatcher/server/package.json @@ -1,10 +1,10 @@ { "name": "WeatherPatcher", "author": "CWX", - "version": "2.4.1", + "version": "2.4.3", "license": "NCSA", "main": "src/mod.js", - "akiVersion": "3.2.0", + "akiVersion": "3.2.2", "scripts": { "setup:environment": "npm i", "build:unzipped": "copyfiles -e \"./node_modules/**/*.*\" -e \"./dist/**/*.*\" -e \"./package-lock.json\" -e \"./tsconfig.json\" -e \"./README.txt\" -e \"./mod.code-workspace\" ./**/*.* ./dist", diff --git a/Live/CWX_WeatherPatcher/server/src/mod.ts b/Live/CWX_WeatherPatcher/server/src/mod.ts index a4178fa..f4e813c 100644 --- a/Live/CWX_WeatherPatcher/server/src/mod.ts +++ b/Live/CWX_WeatherPatcher/server/src/mod.ts @@ -3,11 +3,8 @@ import { IPreAkiLoadMod } from "@spt-aki/models/external/IPreAkiLoadMod"; class CWX_WeatherPatcher implements IPreAkiLoadMod { - private pkg; - public preAkiLoad(container: DependencyContainer): void { - this.pkg = require("../package.json") } }